-rw-r--r-- | LogPattern.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/LogPattern.h b/LogPattern.h new file mode 100644 index 0000000..2f2ffd3 --- a/dev/null +++ b/LogPattern.h | |||
@@ -0,0 +1,53 @@ | |||
1 | // LogPattern.h : header file | ||
2 | // | ||
3 | |||
4 | ///////////////////////////////////////////////////////////////////////////// | ||
5 | // CLogPattern | ||
6 | |||
7 | classCLogPatternUnix; | ||
8 | classCLogPatternReserved; | ||
9 | classCLogPatternLocal; | ||
10 | class CLogPattern : public CPropertySheet | ||
11 | { | ||
12 | DECLARE_DYNAMIC(CLogPattern) | ||
13 | |||
14 | // Construction | ||
15 | public: | ||
16 | void AddTips(CToolTipCtrl& tt,CWnd *pWnd,UINT from,UINT to); | ||
17 | void FacilityXor(CWnd *pWnd,UINT fac); | ||
18 | void FacilityOn(CWnd *pWnd,UINT fac); | ||
19 | void PriorityXor(CWnd *pWnd,UINT pri,UINT from,UINT to); | ||
20 | void PriorityOn(CWnd *pWnd,UINT pri,UINT from,UINT to); | ||
21 | void ExchangeData(CDataExchange *pDX,UINT from,UINT to); | ||
22 | static UINT m_ID[CSyslogSocket::totalFacilities][CSyslogSocket::totalPriorities]; | ||
23 | CLogPatternLocal *m_Local; | ||
24 | CLogPatternReserved *m_Reserved; | ||
25 | CLogPatternUnix *m_Unix; | ||
26 | void AddPages(); | ||
27 | BOOL m_Pattern[CSyslogSocket::totalFacilities][CSyslogSocket::totalPriorities]; | ||
28 | CLogPattern(UINT nIDCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0); | ||
29 | CLogPattern(LPCTSTR pszCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0); | ||
30 | |||
31 | // Attributes | ||
32 | public: | ||
33 | |||
34 | // Operations | ||
35 | public: | ||
36 | |||
37 | // Overrides | ||
38 | // ClassWizard generated virtual function overrides | ||
39 | //{{AFX_VIRTUAL(CLogPattern) | ||
40 | //}}AFX_VIRTUAL | ||
41 | |||
42 | // Implementation | ||
43 | public: | ||
44 | virtual ~CLogPattern(); | ||
45 | |||
46 | // Generated message map functions | ||
47 | protected: | ||
48 | //{{AFX_MSG(CLogPattern) | ||
49 | //}}AFX_MSG | ||
50 | DECLARE_MESSAGE_MAP() | ||
51 | }; | ||
52 | |||
53 | ///////////////////////////////////////////////////////////////////////////// | ||