summaryrefslogtreecommitdiffabout
path: root/LogPattern.h
authorMichael Krelin <hacker@klever.net>2004-07-05 01:53:09 (UTC)
committer Michael Krelin <hacker@klever.net>2004-07-05 01:53:09 (UTC)
commita1487b3fc0313408525cd5b2f3bc4a462df351f7 (patch) (side-by-side diff)
tree010aec6c2abd5ada2f909ac6798c93bf22508bf5 /LogPattern.h
downloadklog-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
Diffstat (limited to 'LogPattern.h') (more/less context) (ignore whitespace changes)
-rw-r--r--LogPattern.h53
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 @@
+// LogPattern.h : header file
+//
+
+/////////////////////////////////////////////////////////////////////////////
+// CLogPattern
+
+class CLogPatternUnix;
+class CLogPatternReserved;
+class CLogPatternLocal;
+class CLogPattern : public CPropertySheet
+{
+ DECLARE_DYNAMIC(CLogPattern)
+
+// Construction
+public:
+ void AddTips(CToolTipCtrl& tt,CWnd *pWnd,UINT from,UINT to);
+ void FacilityXor(CWnd *pWnd,UINT fac);
+ void FacilityOn(CWnd *pWnd,UINT fac);
+ void PriorityXor(CWnd *pWnd,UINT pri,UINT from,UINT to);
+ void PriorityOn(CWnd *pWnd,UINT pri,UINT from,UINT to);
+ void ExchangeData(CDataExchange *pDX,UINT from,UINT to);
+ static UINT m_ID[CSyslogSocket::totalFacilities][CSyslogSocket::totalPriorities];
+ CLogPatternLocal *m_Local;
+ CLogPatternReserved *m_Reserved;
+ CLogPatternUnix *m_Unix;
+ void AddPages();
+ BOOL m_Pattern[CSyslogSocket::totalFacilities][CSyslogSocket::totalPriorities];
+ CLogPattern(UINT nIDCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
+ CLogPattern(LPCTSTR pszCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
+
+// Attributes
+public:
+
+// Operations
+public:
+
+// Overrides
+ // ClassWizard generated virtual function overrides
+ //{{AFX_VIRTUAL(CLogPattern)
+ //}}AFX_VIRTUAL
+
+// Implementation
+public:
+ virtual ~CLogPattern();
+
+ // Generated message map functions
+protected:
+ //{{AFX_MSG(CLogPattern)
+ //}}AFX_MSG
+ DECLARE_MESSAGE_MAP()
+};
+
+/////////////////////////////////////////////////////////////////////////////