|
diff --git a/KLogDlg.h b/KLogDlg.h index f6fed53..043fd30 100644 --- a/ KLogDlg.h+++ b/ KLogDlg.h |
|
@@ -76,64 +76,65 @@ public: |
76 | virtual ~CKLogDlg(); |
76 | virtual ~CKLogDlg(); |
77 | void SaveSettings(); |
77 | void SaveSettings(); |
78 | void LoadSettings(); |
78 | void LoadSettings(); |
79 | BOOL m_bExiting; |
79 | BOOL m_bExiting; |
80 | BOOL m_bShown; |
80 | BOOL m_bShown; |
81 | CTrayer* m_Trayer; |
81 | CTrayer* m_Trayer; |
82 | virtual BOOL PreTranslateMessage(MSG* pMsg); |
82 | virtual BOOL PreTranslateMessage(MSG* pMsg); |
83 | void AddLogLine(CLogEntry *le); |
83 | void AddLogLine(CLogEntry *le); |
84 | void LogMessage(UINT pri,UINT fac,LPCTSTR line,SOCKADDR_IN *sin); |
84 | void LogMessage(UINT pri,UINT fac,LPCTSTR line,SOCKADDR_IN *sin); |
85 | CKLogSocket m_KLS; |
85 | CKLogSocket m_KLS; |
86 | virtual void Serialize(CArchive& ar); |
86 | virtual void Serialize(CArchive& ar); |
87 | void TotalCleanUp(); |
87 | void TotalCleanUp(); |
88 | BITMAP m_bitmapBack;
|
88 | BITMAP m_bitmapBack;
|
89 | CBitmap m_bmpBack;
|
89 | CBitmap m_bmpBack;
|
90 | void UpdateLogLength(BOOL bSave=TRUE,BOOL update=FALSE); |
90 | void UpdateLogLength(BOOL bSave=TRUE,BOOL update=FALSE); |
91 | int m_LogItems; |
91 | int m_LogItems; |
92 | void UpdateLogto(BOOL bSave=TRUE,BOOL update=TRUE); |
92 | void UpdateLogto(BOOL bSave=TRUE,BOOL update=TRUE); |
93 | void UpdatePriface(BOOL bSave=TRUE,BOOL update=TRUE); |
93 | void UpdatePriface(BOOL bSave=TRUE,BOOL update=TRUE); |
94 | static UINT m_PriorityCtls[CSyslogSocket::totalPriorities]; |
94 | static UINT m_PriorityCtls[CSyslogSocket::totalPriorities]; |
95 | CLogger* m_Logger; |
95 | CLogger* m_Logger; |
96 | void SetTab(CLogger* l); |
96 | void SetTab(CLogger* l); |
97 | int m_iTriggered; |
97 | int m_iTriggered; |
98 | int m_iNormal; |
98 | int m_iNormal; |
99 | CImageList m_Images; |
99 | CImageList m_Images; |
100 | CLoggers m_Logs; |
100 | CLoggers m_Logs; |
101 | CKLogDlg(CWnd* pParent = NULL);// standard constructor
|
101 | CKLogDlg(CWnd* pParent = NULL);// standard constructor
|
102 |
|
102 |
|
103 | DECLARE_SERIAL( CKLogDlg )
|
103 | DECLARE_SERIAL( CKLogDlg )
|
104 |
|
104 |
|
105 | // Dialog Data
|
105 | // Dialog Data
|
106 | //{{AFX_DATA(CKLogDlg)
|
106 | //{{AFX_DATA(CKLogDlg)
|
107 | enum { IDD = IDD_KLOG_DIALOG };
|
107 | enum { IDD = IDD_KLOG_DIALOG };
|
| |
108 | CButtonm_CancelCtl;
|
108 | CButtonm_LogPatternCtl;
|
109 | CButtonm_LogPatternCtl;
|
109 | CButtonm_FilesCtl;
|
110 | CButtonm_FilesCtl;
|
110 | CSpinButtonCtrlm_LogLenSpinCtl;
|
111 | CSpinButtonCtrlm_LogLenSpinCtl;
|
111 | CStaticm_LogLengthCtl;
|
112 | CStaticm_LogLengthCtl;
|
112 | CButtonm_PriInvertCtl;
|
113 | CButtonm_PriInvertCtl;
|
113 | CButtonm_LogtoFileCtl;
|
114 | CButtonm_LogtoFileCtl;
|
114 | CButtonm_LogtoHostCtl;
|
115 | CButtonm_LogtoHostCtl;
|
115 | CButtonm_LogtoNoneCtl;
|
116 | CButtonm_LogtoNoneCtl;
|
116 | CStaticm_HFNameCaptionCtl;
|
117 | CStaticm_HFNameCaptionCtl;
|
117 | CListBoxm_hlCtl;
|
118 | CListBoxm_hlCtl;
|
118 | CButtonm_BrowseSoundCtl;
|
119 | CButtonm_BrowseSoundCtl;
|
119 | CButtonm_PriNoneCtl;
|
120 | CButtonm_PriNoneCtl;
|
120 | CButtonm_hlRemoveCtl;
|
121 | CButtonm_hlRemoveCtl;
|
121 | CEditm_hlMaskCtl;
|
122 | CEditm_hlMaskCtl;
|
122 | CEditm_hlIPCtl;
|
123 | CEditm_hlIPCtl;
|
123 | CButtonm_hlAddCtl;
|
124 | CButtonm_hlAddCtl;
|
124 | CButtonm_PriAllCtl;
|
125 | CButtonm_PriAllCtl;
|
125 | CComboBoxm_SoundCtl;
|
126 | CComboBoxm_SoundCtl;
|
126 | CButtonm_RemoveCtl;
|
127 | CButtonm_RemoveCtl;
|
127 | CButtonm_PlaySoundCtl;
|
128 | CButtonm_PlaySoundCtl;
|
128 | CListBoxm_Log;
|
129 | CListBoxm_Log;
|
129 | CEditm_HFNameCtl;
|
130 | CEditm_HFNameCtl;
|
130 | CComboBoxm_FacilityCtl;
|
131 | CComboBoxm_FacilityCtl;
|
131 | CButtonm_BrowseCtl;
|
132 | CButtonm_BrowseCtl;
|
132 | CEditm_DescCtl;
|
133 | CEditm_DescCtl;
|
133 | CTabCtrlm_Tabs;
|
134 | CTabCtrlm_Tabs;
|
134 | int m_Logto;
|
135 | int m_Logto;
|
135 | CStringm_Desc;
|
136 | CStringm_Desc;
|
136 | CStringm_Facility;
|
137 | CStringm_Facility;
|
137 | CStringm_HFName;
|
138 | CStringm_HFName;
|
138 | CStringm_HFNameCaption;
|
139 | CStringm_HFNameCaption;
|
139 | CStringm_hlIP;
|
140 | CStringm_hlIP;
|
@@ -164,35 +165,37 @@ protected: |
164 | afx_msg void OnSelchangeFacility();
|
165 | afx_msg void OnSelchangeFacility();
|
165 | afx_msg void OnPriority();
|
166 | afx_msg void OnPriority();
|
166 | afx_msg void OnLogto();
|
167 | afx_msg void OnLogto();
|
167 | afx_msg void OnPriAll();
|
168 | afx_msg void OnPriAll();
|
168 | afx_msg void OnPriNone();
|
169 | afx_msg void OnPriNone();
|
169 | afx_msg void OnChangeDesc();
|
170 | afx_msg void OnChangeDesc();
|
170 | afx_msg void OnPriInvert();
|
171 | afx_msg void OnPriInvert();
|
171 | afx_msg void OnHlAdd();
|
172 | afx_msg void OnHlAdd();
|
172 | afx_msg void OnSelchangeHosts();
|
173 | afx_msg void OnSelchangeHosts();
|
173 | afx_msg void OnHlRemove();
|
174 | afx_msg void OnHlRemove();
|
174 | afx_msg void OnRemove();
|
175 | afx_msg void OnRemove();
|
175 | afx_msg void OnPlaysound();
|
176 | afx_msg void OnPlaysound();
|
176 | afx_msg void OnEditchangeSound();
|
177 | afx_msg void OnEditchangeSound();
|
177 | afx_msg void OnKillfocusSound();
|
178 | afx_msg void OnKillfocusSound();
|
178 | afx_msg void OnDeltaposLoglenspin(NMHDR* pNMHDR, LRESULT* pResult);
|
179 | afx_msg void OnDeltaposLoglenspin(NMHDR* pNMHDR, LRESULT* pResult);
|
179 | afx_msg void OnExit();
|
180 | afx_msg void OnExit();
|
180 | afx_msg void OnFiles();
|
181 | afx_msg void OnFiles();
|
181 | afx_msg void OnFilesExport();
|
182 | afx_msg void OnFilesExport();
|
182 | afx_msg void OnFilesImport();
|
183 | afx_msg void OnFilesImport();
|
183 | afx_msg void OnBrowsesound();
|
184 | afx_msg void OnBrowsesound();
|
184 | afx_msg void OnKillfocusHostfile();
|
185 | afx_msg void OnKillfocusHostfile();
|
185 | virtual void OnOK();
|
186 | virtual void OnOK();
|
186 | afx_msg void OnBrowse();
|
187 | afx_msg void OnBrowse();
|
187 | afx_msg void OnFilesReset();
|
188 | afx_msg void OnFilesReset();
|
188 | afx_msg void OnSelchangeLog();
|
189 | afx_msg void OnSelchangeLog();
|
189 | afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
|
190 | afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
|
190 | afx_msg void OnClose();
|
191 | afx_msg void OnClose();
|
191 | afx_msg void OnTrayAboutklog();
|
192 | afx_msg void OnTrayAboutklog();
|
192 | afx_msg void OnTrayExit();
|
193 | afx_msg void OnTrayExit();
|
193 | afx_msg void OnTrayShowklogwindow();
|
194 | afx_msg void OnTrayShowklogwindow();
|
194 | afx_msg void OnWindowPosChanging(WINDOWPOS FAR* lpwndpos);
|
195 | afx_msg void OnWindowPosChanging(WINDOWPOS FAR* lpwndpos);
|
195 | afx_msg void OnLogpattern();
|
196 | afx_msg void OnLogpattern();
|
| |
197 | afx_msg void OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI);
|
| |
198 | afx_msg void OnSize(UINT nType, int cx, int cy);
|
196 | //}}AFX_MSG
|
199 | //}}AFX_MSG
|
197 | DECLARE_MESSAGE_MAP()
|
200 | DECLARE_MESSAGE_MAP()
|
198 | };
|
201 | };
|
|