author | Michael Krelin <hacker@klever.net> | 2004-07-05 01:53:09 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2004-07-05 01:53:09 (UTC) |
commit | a1487b3fc0313408525cd5b2f3bc4a462df351f7 (patch) (unidiff) | |
tree | 010aec6c2abd5ada2f909ac6798c93bf22508bf5 /LogPattern.h | |
download | klog-a1487b3fc0313408525cd5b2f3bc4a462df351f7.zip klog-a1487b3fc0313408525cd5b2f3bc4a462df351f7.tar.gz klog-a1487b3fc0313408525cd5b2f3bc4a462df351f7.tar.bz2 |
initial commit into svn repository
git-svn-id: http://svn.klever.net/kin/klog/trunk@1 fe716a7a-6dde-0310-88d9-d003556173a8
-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 | ///////////////////////////////////////////////////////////////////////////// | ||