[go: up one dir, main page]

Menu

[r99]: / trunk / VTS3 / VTS.h  Maximize  Restore  History

Download this file

83 lines (63 with data), 2.0 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
// VTS.h : main header file for the VTS application
//
#if !defined(AFX_VTS_H__BDE65080_B82F_11D3_BE52_00A0C95A9812__INCLUDED_)
#define AFX_VTS_H__BDE65080_B82F_11D3_BE52_00A0C95A9812__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
#define MAX_DEFINED_OBJ 21 // This is one more than defined BACnetObjectType
#define MAX_PROP_ID 152 // BACnetPropertyIdentifier
#define MAX_SERVS_SUPP 40
//
// VTSApp
//
class VTSApp : public CWinApp {
public:
VTSApp();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(VTSApp)
public:
virtual BOOL InitInstance();
virtual int ExitInstance();
virtual BOOL PreTranslateMessage(MSG* pMsg);
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG(VTSApp)
afx_msg void OnAppAbout();
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
typedef VTSApp *VTSAppPtr;
//
// Application specific windows messages
//
#define WM_VTS_RCOUNT (WM_APP+1) // new record count
#define WM_VTS_PORTSTATUS (WM_APP+2) // new port status
#define WM_VTS_EXECMSG (WM_APP+3) // new executor message
//
// VTSPreferences
//
class VTSPreferences {
public:
int summaryFields; // bit mask of display options
// 0 packet number
// 1 time
// 2 source
// 3 destination
int summaryNameWidth; // summary view name width
int summaryTimeFormat; // 0=local time, 1=UTC
void Load( void );
void Save( void );
};
typedef VTSPreferences *VTSPreferencesPtr;
extern VTSPreferences gVTSPreferences;
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_VTS_H__BDE65080_B82F_11D3_BE52_00A0C95A9812__INCLUDED_)