summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--COPYING2
-rw-r--r--KLogDlg.cpp30
-rw-r--r--KLogDlg.h3
-rw-r--r--help/klog.rtf4
-rw-r--r--help/klog.xml5
-rw-r--r--install/install.cpp2
-rw-r--r--install/install.rc10
-rw-r--r--klog.clw2
-rw-r--r--klog.mak39
-rw-r--r--klog.rc32
-rw-r--r--resource.h2
11 files changed, 83 insertions, 48 deletions
diff --git a/COPYING b/COPYING
index 9abe63f..b71fe11 100644
--- a/COPYING
+++ b/COPYING
@@ -1,19 +1,19 @@
1Copyright (c) 1998-2004 Klever Group (http://www.klever.net/) 1Copyright (c) 1998-2005 Klever Group (http://www.klever.net/)
2 2
3Permission is hereby granted, free of charge, to any person obtaining a copy of 3Permission is hereby granted, free of charge, to any person obtaining a copy of
4this software and associated documentation files (the "Software"), to deal in 4this software and associated documentation files (the "Software"), to deal in
5the Software without restriction, including without limitation the rights to 5the Software without restriction, including without limitation the rights to
6use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 6use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
7of the Software, and to permit persons to whom the Software is furnished to do 7of the Software, and to permit persons to whom the Software is furnished to do
8so, subject to the following conditions: 8so, subject to the following conditions:
9 9
10The above copyright notice and this permission notice shall be included in all 10The above copyright notice and this permission notice shall be included in all
11copies or substantial portions of the Software. 11copies or substantial portions of the Software.
12 12
13THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 13THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 14IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 15FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 16AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 17LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 18OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19SOFTWARE. 19SOFTWARE.
diff --git a/KLogDlg.cpp b/KLogDlg.cpp
index 5f1c6c0..bdcb881 100644
--- a/KLogDlg.cpp
+++ b/KLogDlg.cpp
@@ -1,1367 +1,1397 @@
1// KLogDlg.cpp : implementation file 1// KLogDlg.cpp : implementation file
2// 2//
3 3
4#include "stdafx.h" 4#include "stdafx.h"
5#include "KLog.h" 5#include "KLog.h"
6#include "SyslogSocket.h" 6#include "SyslogSocket.h"
7#include "KLogDlg.h" 7#include "KLogDlg.h"
8 8
9#include "Trayer.h" 9#include "Trayer.h"
10#include "LogPattern.h" 10#include "LogPattern.h"
11#include "WarnBlocking.h" 11#include "WarnBlocking.h"
12 12
13#ifdef _DEBUG 13#ifdef _DEBUG
14#define new DEBUG_NEW 14#define new DEBUG_NEW
15#undef THIS_FILE 15#undef THIS_FILE
16static char THIS_FILE[] = __FILE__; 16static char THIS_FILE[] = __FILE__;
17#endif 17#endif
18 18
19IMPLEMENT_SERIAL( CKLogDlg, CDialog, VERSIONABLE_SCHEMA|1 ); 19IMPLEMENT_SERIAL( CKLogDlg, CDialog, VERSIONABLE_SCHEMA|1 );
20IMPLEMENT_SERIAL( CLogger, CObject, VERSIONABLE_SCHEMA|1 ); 20IMPLEMENT_SERIAL( CLogger, CObject, VERSIONABLE_SCHEMA|1 );
21IMPLEMENT_SERIAL( CLogEntry, CObject, VERSIONABLE_SCHEMA|1 ); 21IMPLEMENT_SERIAL( CLogEntry, CObject, VERSIONABLE_SCHEMA|1 );
22IMPLEMENT_SERIAL( CHostMask, CObject, VERSIONABLE_SCHEMA|1 ); 22IMPLEMENT_SERIAL( CHostMask, CObject, VERSIONABLE_SCHEMA|1 );
23 23
24///////////////////////////////////////////////////////////////////////////// 24/////////////////////////////////////////////////////////////////////////////
25// CAboutDlg dialog used for App About 25// CAboutDlg dialog used for App About
26 26
27class CAboutDlg : public CDialog 27class CAboutDlg : public CDialog
28{ 28{
29public: 29public:
30 CAboutDlg(); 30 CAboutDlg();
31 31
32// Dialog Data 32// Dialog Data
33 //{{AFX_DATA(CAboutDlg) 33 //{{AFX_DATA(CAboutDlg)
34 enum { IDD = IDD_ABOUTBOX }; 34 enum { IDD = IDD_ABOUTBOX };
35 //}}AFX_DATA 35 //}}AFX_DATA
36 36
37 // ClassWizard generated virtual function overrides 37 // ClassWizard generated virtual function overrides
38 //{{AFX_VIRTUAL(CAboutDlg) 38 //{{AFX_VIRTUAL(CAboutDlg)
39 protected: 39 protected:
40 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support 40 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
41 //}}AFX_VIRTUAL 41 //}}AFX_VIRTUAL
42 42
43// Implementation 43// Implementation
44protected: 44protected:
45 //{{AFX_MSG(CAboutDlg) 45 //{{AFX_MSG(CAboutDlg)
46 afx_msg void OnKlevernet(); 46 afx_msg void OnKlevernet();
47 //}}AFX_MSG 47 //}}AFX_MSG
48 DECLARE_MESSAGE_MAP() 48 DECLARE_MESSAGE_MAP()
49}; 49};
50 50
51CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) 51CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD)
52{ 52{
53 //{{AFX_DATA_INIT(CAboutDlg) 53 //{{AFX_DATA_INIT(CAboutDlg)
54 //}}AFX_DATA_INIT 54 //}}AFX_DATA_INIT
55} 55}
56 56
57void CAboutDlg::DoDataExchange(CDataExchange* pDX) 57void CAboutDlg::DoDataExchange(CDataExchange* pDX)
58{ 58{
59 CDialog::DoDataExchange(pDX); 59 CDialog::DoDataExchange(pDX);
60 //{{AFX_DATA_MAP(CAboutDlg) 60 //{{AFX_DATA_MAP(CAboutDlg)
61 //}}AFX_DATA_MAP 61 //}}AFX_DATA_MAP
62} 62}
63 63
64BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) 64BEGIN_MESSAGE_MAP(CAboutDlg, CDialog)
65 //{{AFX_MSG_MAP(CAboutDlg) 65 //{{AFX_MSG_MAP(CAboutDlg)
66 ON_BN_CLICKED(IDC_KLEVERNET, OnKlevernet) 66 ON_BN_CLICKED(IDC_KLEVERNET, OnKlevernet)
67 //}}AFX_MSG_MAP 67 //}}AFX_MSG_MAP
68END_MESSAGE_MAP() 68END_MESSAGE_MAP()
69 69
70///////////////////////////////////////////////////////////////////////////// 70/////////////////////////////////////////////////////////////////////////////
71// CKLogDlg dialog 71// CKLogDlg dialog
72 72
73CKLogDlg::CKLogDlg(CWnd* pParent /*=NULL*/) 73CKLogDlg::CKLogDlg(CWnd* pParent /*=NULL*/)
74 : CDialog(CKLogDlg::IDD, pParent) 74 : CDialog(CKLogDlg::IDD, pParent)
75{ 75{
76 m_Logger=NULL; 76 m_Logger=NULL;
77 m_LogItems=15; 77 m_LogItems=15;
78 m_bShown=TRUE; 78 m_bShown=TRUE;
79 m_bExiting=FALSE; 79 m_bExiting=FALSE;
80 m_bWarnBlocking=TRUE; 80 m_bWarnBlocking=TRUE;
81 m_bDontWarn=TRUE; 81 m_bDontWarn=TRUE;
82 //{{AFX_DATA_INIT(CKLogDlg) 82 //{{AFX_DATA_INIT(CKLogDlg)
83 m_Logto = -1; 83 m_Logto = -1;
84 m_Desc = _T(""); 84 m_Desc = _T("");
85 m_Facility = _T(""); 85 m_Facility = _T("");
86 m_HFName = _T(""); 86 m_HFName = _T("");
87 m_HFNameCaption = _T(""); 87 m_HFNameCaption = _T("");
88 m_hlIP = _T(""); 88 m_hlIP = _T("");
89 m_hlMask = _T(""); 89 m_hlMask = _T("");
90 m_Sound = _T(""); 90 m_Sound = _T("");
91 //}}AFX_DATA_INIT 91 //}}AFX_DATA_INIT
92 // Note that LoadIcon does not require a subsequent DestroyIcon in Win32 92 // Note that LoadIcon does not require a subsequent DestroyIcon in Win32
93 m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); 93 m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME);
94 m_bmpBack.LoadBitmap(IDB_BACKGROUND); 94 m_bmpBack.LoadBitmap(IDB_BACKGROUND);
95 m_bmpBack.GetBitmap(&m_bitmapBack); 95 m_bmpBack.GetBitmap(&m_bitmapBack);
96 m_Trayer = new CTrayer(this); 96 m_Trayer = new CTrayer(this);
97 ASSERT(m_Trayer); 97 ASSERT(m_Trayer);
98 LoadSettings(); 98 LoadSettings();
99} 99}
100 100
101void CKLogDlg::DoDataExchange(CDataExchange* pDX) 101void CKLogDlg::DoDataExchange(CDataExchange* pDX)
102{ 102{
103 CDialog::DoDataExchange(pDX); 103 CDialog::DoDataExchange(pDX);
104 //{{AFX_DATA_MAP(CKLogDlg) 104 //{{AFX_DATA_MAP(CKLogDlg)
105 DDX_Control(pDX, IDCANCEL, m_CancelCtl);
105 DDX_Control(pDX, IDC_LOGPATTERN, m_LogPatternCtl); 106 DDX_Control(pDX, IDC_LOGPATTERN, m_LogPatternCtl);
106 DDX_Control(pDX, IDC_FILES, m_FilesCtl); 107 DDX_Control(pDX, IDC_FILES, m_FilesCtl);
107 DDX_Control(pDX, IDC_LOGLENSPIN, m_LogLenSpinCtl); 108 DDX_Control(pDX, IDC_LOGLENSPIN, m_LogLenSpinCtl);
108 DDX_Control(pDX, IDC_LOGLENGTH, m_LogLengthCtl); 109 DDX_Control(pDX, IDC_LOGLENGTH, m_LogLengthCtl);
109 DDX_Control(pDX, IDC_INVERT, m_PriInvertCtl); 110 DDX_Control(pDX, IDC_INVERT, m_PriInvertCtl);
110 DDX_Control(pDX, IDC_TYPE_FILE, m_LogtoFileCtl); 111 DDX_Control(pDX, IDC_TYPE_FILE, m_LogtoFileCtl);
111 DDX_Control(pDX, IDC_TYPE_HOST, m_LogtoHostCtl); 112 DDX_Control(pDX, IDC_TYPE_HOST, m_LogtoHostCtl);
112 DDX_Control(pDX, IDC_TYPE_NONE, m_LogtoNoneCtl); 113 DDX_Control(pDX, IDC_TYPE_NONE, m_LogtoNoneCtl);
113 DDX_Control(pDX, IDC_HOSTORFILE, m_HFNameCaptionCtl); 114 DDX_Control(pDX, IDC_HOSTORFILE, m_HFNameCaptionCtl);
114 DDX_Control(pDX, IDC_HOSTS, m_hlCtl); 115 DDX_Control(pDX, IDC_HOSTS, m_hlCtl);
115 DDX_Control(pDX, IDC_BROWSESOUND, m_BrowseSoundCtl); 116 DDX_Control(pDX, IDC_BROWSESOUND, m_BrowseSoundCtl);
116 DDX_Control(pDX, IDC_NONE, m_PriNoneCtl); 117 DDX_Control(pDX, IDC_NONE, m_PriNoneCtl);
117 DDX_Control(pDX, IDC_HL_REMOVE, m_hlRemoveCtl); 118 DDX_Control(pDX, IDC_HL_REMOVE, m_hlRemoveCtl);
118 DDX_Control(pDX, IDC_HL_MASK, m_hlMaskCtl); 119 DDX_Control(pDX, IDC_HL_MASK, m_hlMaskCtl);
119 DDX_Control(pDX, IDC_HL_IP, m_hlIPCtl); 120 DDX_Control(pDX, IDC_HL_IP, m_hlIPCtl);
120 DDX_Control(pDX, IDC_HL_ADD, m_hlAddCtl); 121 DDX_Control(pDX, IDC_HL_ADD, m_hlAddCtl);
121 DDX_Control(pDX, IDC_ALL, m_PriAllCtl); 122 DDX_Control(pDX, IDC_ALL, m_PriAllCtl);
122 DDX_Control(pDX, IDC_SOUND, m_SoundCtl); 123 DDX_Control(pDX, IDC_SOUND, m_SoundCtl);
123 DDX_Control(pDX, IDC_REMOVE, m_RemoveCtl); 124 DDX_Control(pDX, IDC_REMOVE, m_RemoveCtl);
124 DDX_Control(pDX, IDC_PLAYSOUND, m_PlaySoundCtl); 125 DDX_Control(pDX, IDC_PLAYSOUND, m_PlaySoundCtl);
125 DDX_Control(pDX, IDC_LOG, m_Log); 126 DDX_Control(pDX, IDC_LOG, m_Log);
126 DDX_Control(pDX, IDC_HOSTFILE, m_HFNameCtl); 127 DDX_Control(pDX, IDC_HOSTFILE, m_HFNameCtl);
127 DDX_Control(pDX, IDC_FACILITY, m_FacilityCtl); 128 DDX_Control(pDX, IDC_FACILITY, m_FacilityCtl);
128 DDX_Control(pDX, IDC_BROWSE, m_BrowseCtl); 129 DDX_Control(pDX, IDC_BROWSE, m_BrowseCtl);
129 DDX_Control(pDX, IDC_DESC, m_DescCtl); 130 DDX_Control(pDX, IDC_DESC, m_DescCtl);
130 DDX_Control(pDX, IDC_TABS, m_Tabs); 131 DDX_Control(pDX, IDC_TABS, m_Tabs);
131 DDX_Radio(pDX, IDC_TYPE_FILE, m_Logto); 132 DDX_Radio(pDX, IDC_TYPE_FILE, m_Logto);
132 DDX_Text(pDX, IDC_DESC, m_Desc); 133 DDX_Text(pDX, IDC_DESC, m_Desc);
133 DDV_MaxChars(pDX, m_Desc, 50); 134 DDV_MaxChars(pDX, m_Desc, 50);
134 DDX_CBString(pDX, IDC_FACILITY, m_Facility); 135 DDX_CBString(pDX, IDC_FACILITY, m_Facility);
135 DDX_Text(pDX, IDC_HOSTFILE, m_HFName); 136 DDX_Text(pDX, IDC_HOSTFILE, m_HFName);
136 DDX_Text(pDX, IDC_HOSTORFILE, m_HFNameCaption); 137 DDX_Text(pDX, IDC_HOSTORFILE, m_HFNameCaption);
137 DDX_Text(pDX, IDC_HL_IP, m_hlIP); 138 DDX_Text(pDX, IDC_HL_IP, m_hlIP);
138 DDV_MaxChars(pDX, m_hlIP, 15); 139 DDV_MaxChars(pDX, m_hlIP, 15);
139 DDX_Text(pDX, IDC_HL_MASK, m_hlMask); 140 DDX_Text(pDX, IDC_HL_MASK, m_hlMask);
140 DDV_MaxChars(pDX, m_hlMask, 15); 141 DDV_MaxChars(pDX, m_hlMask, 15);
141 DDX_CBString(pDX, IDC_SOUND, m_Sound); 142 DDX_CBString(pDX, IDC_SOUND, m_Sound);
142 //}}AFX_DATA_MAP 143 //}}AFX_DATA_MAP
143} 144}
144 145
145BEGIN_MESSAGE_MAP(CKLogDlg, CDialog) 146BEGIN_MESSAGE_MAP(CKLogDlg, CDialog)
146 //{{AFX_MSG_MAP(CKLogDlg) 147 //{{AFX_MSG_MAP(CKLogDlg)
147 ON_WM_SYSCOMMAND() 148 ON_WM_SYSCOMMAND()
148 ON_WM_DESTROY() 149 ON_WM_DESTROY()
149 ON_WM_PAINT() 150 ON_WM_PAINT()
150 ON_WM_QUERYDRAGICON() 151 ON_WM_QUERYDRAGICON()
151 ON_BN_CLICKED(IDC_ADD, OnAdd) 152 ON_BN_CLICKED(IDC_ADD, OnAdd)
152 ON_NOTIFY(TCN_SELCHANGE, IDC_TABS, OnSelchangeTabs) 153 ON_NOTIFY(TCN_SELCHANGE, IDC_TABS, OnSelchangeTabs)
153 ON_CBN_SELCHANGE(IDC_FACILITY, OnSelchangeFacility) 154 ON_CBN_SELCHANGE(IDC_FACILITY, OnSelchangeFacility)
154 ON_BN_CLICKED(IDC_ALERT, OnPriority) 155 ON_BN_CLICKED(IDC_ALERT, OnPriority)
155 ON_BN_CLICKED(IDC_TYPE_FILE, OnLogto) 156 ON_BN_CLICKED(IDC_TYPE_FILE, OnLogto)
156 ON_BN_CLICKED(IDC_ALL, OnPriAll) 157 ON_BN_CLICKED(IDC_ALL, OnPriAll)
157 ON_BN_CLICKED(IDC_NONE, OnPriNone) 158 ON_BN_CLICKED(IDC_NONE, OnPriNone)
158 ON_EN_CHANGE(IDC_DESC, OnChangeDesc) 159 ON_EN_CHANGE(IDC_DESC, OnChangeDesc)
159 ON_BN_CLICKED(IDC_INVERT, OnPriInvert) 160 ON_BN_CLICKED(IDC_INVERT, OnPriInvert)
160 ON_BN_CLICKED(IDC_HL_ADD, OnHlAdd) 161 ON_BN_CLICKED(IDC_HL_ADD, OnHlAdd)
161 ON_LBN_SELCHANGE(IDC_HOSTS, OnSelchangeHosts) 162 ON_LBN_SELCHANGE(IDC_HOSTS, OnSelchangeHosts)
162 ON_BN_CLICKED(IDC_HL_REMOVE, OnHlRemove) 163 ON_BN_CLICKED(IDC_HL_REMOVE, OnHlRemove)
163 ON_BN_CLICKED(IDC_REMOVE, OnRemove) 164 ON_BN_CLICKED(IDC_REMOVE, OnRemove)
164 ON_BN_CLICKED(IDC_PLAYSOUND, OnPlaysound) 165 ON_BN_CLICKED(IDC_PLAYSOUND, OnPlaysound)
165 ON_CBN_EDITCHANGE(IDC_SOUND, OnEditchangeSound) 166 ON_CBN_EDITCHANGE(IDC_SOUND, OnEditchangeSound)
166 ON_CBN_KILLFOCUS(IDC_SOUND, OnKillfocusSound) 167 ON_CBN_KILLFOCUS(IDC_SOUND, OnKillfocusSound)
167 ON_NOTIFY(UDN_DELTAPOS, IDC_LOGLENSPIN, OnDeltaposLoglenspin) 168 ON_NOTIFY(UDN_DELTAPOS, IDC_LOGLENSPIN, OnDeltaposLoglenspin)
168 ON_BN_CLICKED(IDC_EXIT, OnExit) 169 ON_BN_CLICKED(IDC_EXIT, OnExit)
169 ON_BN_CLICKED(IDC_FILES, OnFiles) 170 ON_BN_CLICKED(IDC_FILES, OnFiles)
170 ON_COMMAND(ID_FILES_EXPORT, OnFilesExport) 171 ON_COMMAND(ID_FILES_EXPORT, OnFilesExport)
171 ON_COMMAND(ID_FILES_IMPORT, OnFilesImport) 172 ON_COMMAND(ID_FILES_IMPORT, OnFilesImport)
172 ON_BN_CLICKED(IDC_BROWSESOUND, OnBrowsesound) 173 ON_BN_CLICKED(IDC_BROWSESOUND, OnBrowsesound)
173 ON_EN_KILLFOCUS(IDC_HOSTFILE, OnKillfocusHostfile) 174 ON_EN_KILLFOCUS(IDC_HOSTFILE, OnKillfocusHostfile)
174 ON_BN_CLICKED(IDC_BROWSE, OnBrowse) 175 ON_BN_CLICKED(IDC_BROWSE, OnBrowse)
175 ON_COMMAND(ID_FILES_RESET, OnFilesReset) 176 ON_COMMAND(ID_FILES_RESET, OnFilesReset)
176 ON_LBN_SELCHANGE(IDC_LOG, OnSelchangeLog) 177 ON_LBN_SELCHANGE(IDC_LOG, OnSelchangeLog)
177 ON_WM_CREATE() 178 ON_WM_CREATE()
178 ON_WM_CLOSE() 179 ON_WM_CLOSE()
179 ON_COMMAND(ID_TRAY_ABOUTKLOG, OnTrayAboutklog) 180 ON_COMMAND(ID_TRAY_ABOUTKLOG, OnTrayAboutklog)
180 ON_COMMAND(ID_TRAY_EXIT, OnTrayExit) 181 ON_COMMAND(ID_TRAY_EXIT, OnTrayExit)
181 ON_COMMAND(ID_TRAY_SHOWKLOGWINDOW, OnTrayShowklogwindow) 182 ON_COMMAND(ID_TRAY_SHOWKLOGWINDOW, OnTrayShowklogwindow)
182 ON_WM_WINDOWPOSCHANGING() 183 ON_WM_WINDOWPOSCHANGING()
183 ON_BN_CLICKED(IDC_LOGPATTERN, OnLogpattern) 184 ON_BN_CLICKED(IDC_LOGPATTERN, OnLogpattern)
185 ON_WM_GETMINMAXINFO()
184 ON_BN_CLICKED(IDC_CRIT, OnPriority) 186 ON_BN_CLICKED(IDC_CRIT, OnPriority)
185 ON_BN_CLICKED(IDC_DEBUG, OnPriority) 187 ON_BN_CLICKED(IDC_DEBUG, OnPriority)
186 ON_BN_CLICKED(IDC_EMERG, OnPriority) 188 ON_BN_CLICKED(IDC_EMERG, OnPriority)
187 ON_BN_CLICKED(IDC_ERR, OnPriority) 189 ON_BN_CLICKED(IDC_ERR, OnPriority)
188 ON_BN_CLICKED(IDC_INFO, OnPriority) 190 ON_BN_CLICKED(IDC_INFO, OnPriority)
189 ON_BN_CLICKED(IDC_NOTICE, OnPriority) 191 ON_BN_CLICKED(IDC_NOTICE, OnPriority)
190 ON_BN_CLICKED(IDC_WARNING, OnPriority) 192 ON_BN_CLICKED(IDC_WARNING, OnPriority)
191 ON_BN_CLICKED(IDC_TYPE_HOST, OnLogto) 193 ON_BN_CLICKED(IDC_TYPE_HOST, OnLogto)
192 ON_BN_CLICKED(IDC_TYPE_NONE, OnLogto) 194 ON_BN_CLICKED(IDC_TYPE_NONE, OnLogto)
195 ON_WM_SIZE()
193 //}}AFX_MSG_MAP 196 //}}AFX_MSG_MAP
194END_MESSAGE_MAP() 197END_MESSAGE_MAP()
195 198
196///////////////////////////////////////////////////////////////////////////// 199/////////////////////////////////////////////////////////////////////////////
197// CKLogDlg message handlers 200// CKLogDlg message handlers
198 201
199BOOL CKLogDlg::OnInitDialog() 202BOOL CKLogDlg::OnInitDialog()
200{ 203{
201 CDialog::OnInitDialog(); 204 CDialog::OnInitDialog();
202 205
203 // Add "About..." menu item to system menu. 206 // Add "About..." menu item to system menu.
204 207
205 // IDM_ABOUTBOX must be in the system command range. 208 // IDM_ABOUTBOX must be in the system command range.
206 ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); 209 ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX);
207 ASSERT(IDM_ABOUTBOX < 0xF000); 210 ASSERT(IDM_ABOUTBOX < 0xF000);
208 211
209 CMenu* pSysMenu = GetSystemMenu(FALSE); 212 CMenu* pSysMenu = GetSystemMenu(FALSE);
210 CString strAboutMenu; 213 CString strAboutMenu;
211 strAboutMenu.LoadString(IDS_ABOUTBOX); 214 strAboutMenu.LoadString(IDS_ABOUTBOX);
212 if (!strAboutMenu.IsEmpty()) 215 if (!strAboutMenu.IsEmpty())
213 { 216 {
214 pSysMenu->AppendMenu(MF_SEPARATOR); 217 pSysMenu->AppendMenu(MF_SEPARATOR);
215 pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); 218 pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu);
216 } 219 }
217 220
218 // Set the icon for this dialog. The framework does this automatically 221 // Set the icon for this dialog. The framework does this automatically
219 // when the application's main window is not a dialog 222 // when the application's main window is not a dialog
220 SetIcon(m_hIcon, TRUE); // Set big icon 223 SetIcon(m_hIcon, TRUE); // Set big icon
221 SetIcon(m_hIcon, FALSE); // Set small icon 224 SetIcon(m_hIcon, FALSE); // Set small icon
222 225
223 m_KLS.m_Daddy=this; 226 m_KLS.m_Daddy=this;
224 VERIFY(m_KLS.CreateListen()); 227 VERIFY(m_KLS.CreateListen());
225 m_SLS.Create(0,SOCK_DGRAM); 228 m_SLS.Create(0,SOCK_DGRAM);
226 229
227 m_LogLenSpinCtl.SetRange(5,50); 230 m_LogLenSpinCtl.SetRange(5,50);
228 UpdateLogLength(FALSE,FALSE); 231 UpdateLogLength(FALSE,FALSE);
229 232
230 // Adjust Tab control rectangle size and padding 233 // Adjust Tab control rectangle size and padding
231CRect rbrc,tcrc; 234CRect rbrc,tcrc;
232 m_DescCtl.GetWindowRect(&rbrc); 235 m_DescCtl.GetWindowRect(&rbrc);
233 m_Tabs.GetClientRect(&tcrc); 236 m_Tabs.GetClientRect(&tcrc);
234 m_Tabs.ClientToScreen(&tcrc); 237 m_Tabs.ClientToScreen(&tcrc);
235 m_Tabs.SetItemSize(CSize(0,rbrc.top-tcrc.top-4)); 238 m_Tabs.SetItemSize(CSize(0,rbrc.top-tcrc.top-4));
236 m_Tabs.SetPadding(CSize(5,5)); 239 m_Tabs.SetPadding(CSize(5,5));
237 240
238 // Load Image List 241 // Load Image List
239 m_Images.Create(16,16,TRUE,2,1); 242 m_Images.Create(16,16,TRUE,2,1);
240 m_iNormal=m_Images.Add(AfxGetApp()->LoadIcon(IDI_KLOG)); 243 m_iNormal=m_Images.Add(AfxGetApp()->LoadIcon(IDI_KLOG));
241 m_iTriggered=m_Images.Add(AfxGetApp()->LoadIcon(IDI_KLOG_TRIGGERED)); 244 m_iTriggered=m_Images.Add(AfxGetApp()->LoadIcon(IDI_KLOG_TRIGGERED));
242 m_Tabs.SetImageList(&m_Images); 245 m_Tabs.SetImageList(&m_Images);
243 246
244 // Set Icons 247 // Set Icons
245 m_BrowseSoundCtl.SetIcon(AfxGetApp()->LoadIcon(IDI_BROWSE)); 248 m_BrowseSoundCtl.SetIcon(AfxGetApp()->LoadIcon(IDI_BROWSE));
246 m_PlaySoundCtl.SetIcon(AfxGetApp()->LoadIcon(IDI_PREPLAY)); 249 m_PlaySoundCtl.SetIcon(AfxGetApp()->LoadIcon(IDI_PREPLAY));
247 m_LogPatternCtl.SetIcon(AfxGetApp()->LoadIcon(IDI_LOGPATTERN)); 250 m_LogPatternCtl.SetIcon(AfxGetApp()->LoadIcon(IDI_LOGPATTERN));
248 251
249 // Create ToolTip Control 252 // Create ToolTip Control
250 m_tooltip.Create(this); 253 m_tooltip.Create(this);
251 m_tooltip.Activate(TRUE); 254 m_tooltip.Activate(TRUE);
252 255
253 // Restore Layout 256 // Restore Layout
254 OnFilesReset(); 257 OnFilesReset();
255 258
256 SetWindowPos(NULL,6,6,0,0,SWP_NOZORDER|SWP_NOACTIVATE|SWP_NOSIZE); 259 SetWindowPos(NULL,6,6,0,0,SWP_NOZORDER|SWP_NOACTIVATE|SWP_NOSIZE);
257 260
258 if(m_bShown) 261 if(m_bShown)
259 ShowWindow(SW_SHOW); 262 ShowWindow(SW_SHOW);
260 else 263 else
261 ShowWindow(SW_HIDE); 264 ShowWindow(SW_HIDE);
262 265
263 // Add Tips captions 266 // Add Tips captions
264 m_tooltip.AddTool(GetDlgItem(IDC_ADD),IDC_ADD); 267 m_tooltip.AddTool(GetDlgItem(IDC_ADD),IDC_ADD);
265 m_tooltip.AddTool(&m_RemoveCtl,IDC_REMOVE); 268 m_tooltip.AddTool(&m_RemoveCtl,IDC_REMOVE);
266 m_tooltip.AddTool(&m_LogLengthCtl,IDC_LOGLENGTH); 269 m_tooltip.AddTool(&m_LogLengthCtl,IDC_LOGLENGTH);
267 m_tooltip.AddTool(&m_LogLenSpinCtl,IDC_LOGLENGTH); 270 m_tooltip.AddTool(&m_LogLenSpinCtl,IDC_LOGLENGTH);
268 m_tooltip.AddTool(GetDlgItem(IDC_STATIC_LOGLENGTH),IDC_LOGLENGTH); 271 m_tooltip.AddTool(GetDlgItem(IDC_STATIC_LOGLENGTH),IDC_LOGLENGTH);
269 m_tooltip.AddTool(GetDlgItem(IDC_FILES),IDC_FILES); 272 m_tooltip.AddTool(GetDlgItem(IDC_FILES),IDC_FILES);
270 m_tooltip.AddTool(GetDlgItem(IDC_EXIT),IDC_EXIT); 273 m_tooltip.AddTool(GetDlgItem(IDC_EXIT),IDC_EXIT);
271 m_tooltip.AddTool(&m_LogtoFileCtl,IDC_TYPE_FILE); 274 m_tooltip.AddTool(&m_LogtoFileCtl,IDC_TYPE_FILE);
272 m_tooltip.AddTool(&m_LogtoHostCtl,IDC_TYPE_HOST); 275 m_tooltip.AddTool(&m_LogtoHostCtl,IDC_TYPE_HOST);
273 m_tooltip.AddTool(&m_LogtoNoneCtl,IDC_TYPE_NONE); 276 m_tooltip.AddTool(&m_LogtoNoneCtl,IDC_TYPE_NONE);
274 m_tooltip.AddTool(&m_hlCtl,IDC_HOSTS); 277 m_tooltip.AddTool(&m_hlCtl,IDC_HOSTS);
275 m_tooltip.AddTool(&m_Log,IDC_LOG); 278 m_tooltip.AddTool(&m_Log,IDC_LOG);
276 m_tooltip.AddTool(&m_LogPatternCtl,IDC_LOGPATTERN); 279 m_tooltip.AddTool(&m_LogPatternCtl,IDC_LOGPATTERN);
277 280
278 return TRUE; // return TRUE unless you set the focus to a control 281 return TRUE; // return TRUE unless you set the focus to a control
279} 282}
280 283
281void CKLogDlg::OnSysCommand(UINT nID, LPARAM lParam) 284void CKLogDlg::OnSysCommand(UINT nID, LPARAM lParam)
282{ 285{
283 switch(nID&0xFFF0){ 286 switch(nID&0xFFF0){
284 case IDM_ABOUTBOX: 287 case IDM_ABOUTBOX:
285 { 288 {
286 OnTrayAboutklog(); 289 OnTrayAboutklog();
287 } 290 }
288 break; 291 break;
289 case SC_CONTEXTHELP: 292 case SC_CONTEXTHELP:
290 AfxGetApp()->WinHelp(0,HELP_FINDER); 293 AfxGetApp()->WinHelp(0,HELP_FINDER);
291 break; 294 break;
292 default: 295 default:
293 CDialog::OnSysCommand(nID, lParam); 296 CDialog::OnSysCommand(nID, lParam);
294 break; 297 break;
295 } 298 }
296} 299}
297 300
298void CKLogDlg::OnDestroy() 301void CKLogDlg::OnDestroy()
299{ 302{
300NOTIFYICONDATA nid; 303NOTIFYICONDATA nid;
301 memset(&nid,0,sizeof(nid)); 304 memset(&nid,0,sizeof(nid));
302 nid.cbSize=sizeof(nid); 305 nid.cbSize=sizeof(nid);
303 nid.hWnd=m_Trayer->m_hWnd; 306 nid.hWnd=m_Trayer->m_hWnd;
304 nid.uID=IDC_TRAYICON; 307 nid.uID=IDC_TRAYICON;
305 nid.uFlags=0; 308 nid.uFlags=0;
306 VERIFY(Shell_NotifyIcon(NIM_DELETE,&nid)); 309 VERIFY(Shell_NotifyIcon(NIM_DELETE,&nid));
307 310
308 WinHelp(0L, HELP_QUIT); 311 WinHelp(0L, HELP_QUIT);
309 CDialog::OnDestroy(); 312 CDialog::OnDestroy();
310} 313}
311 314
312// If you add a minimize button to your dialog, you will need the code below 315// If you add a minimize button to your dialog, you will need the code below
313// to draw the icon. For MFC applications using the document/view model, 316// to draw the icon. For MFC applications using the document/view model,
314// this is automatically done for you by the framework. 317// this is automatically done for you by the framework.
315 318
316void CKLogDlg::OnPaint() 319void CKLogDlg::OnPaint()
317{ 320{
318 if (IsIconic()) 321 if (IsIconic())
319 { 322 {
320 CPaintDC dc(this); // device context for painting 323 CPaintDC dc(this); // device context for painting
321 324
322 SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0); 325 SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0);
323 326
324 // Center icon in client rectangle 327 // Center icon in client rectangle
325 int cxIcon = GetSystemMetrics(SM_CXICON); 328 int cxIcon = GetSystemMetrics(SM_CXICON);
326 int cyIcon = GetSystemMetrics(SM_CYICON); 329 int cyIcon = GetSystemMetrics(SM_CYICON);
327 CRect rect; 330 CRect rect;
328 GetClientRect(&rect); 331 GetClientRect(&rect);
329 int x = (rect.Width() - cxIcon + 1) / 2; 332 int x = (rect.Width() - cxIcon + 1) / 2;
330 int y = (rect.Height() - cyIcon + 1) / 2; 333 int y = (rect.Height() - cyIcon + 1) / 2;
331 334
332 // Draw the icon 335 // Draw the icon
333 dc.DrawIcon(x, y, m_hIcon); 336 dc.DrawIcon(x, y, m_hIcon);
334 } 337 }
335 else 338 else
336 { 339 {
337 CPaintDC pDC(this); 340 CPaintDC pDC(this);
338 CDC bmpDC; 341 CDC bmpDC;
339 bmpDC.CreateCompatibleDC(&pDC); 342 bmpDC.CreateCompatibleDC(&pDC);
340 bmpDC.SelectObject(&m_bmpBack); 343 bmpDC.SelectObject(&m_bmpBack);
341 CRect rc; 344 CRect rc;
342 GetClientRect(&rc); 345 GetClientRect(&rc);
343 for(int x=-m_bitmapBack.bmWidth*2/4;x<rc.Width();x+=m_bitmapBack.bmWidth) 346 for(int x=-m_bitmapBack.bmWidth*2/4;x<rc.Width();x+=m_bitmapBack.bmWidth)
344 for(int y=-m_bitmapBack.bmHeight*2/4;y<rc.Height();y+=m_bitmapBack.bmHeight) 347 for(int y=-m_bitmapBack.bmHeight*2/4;y<rc.Height();y+=m_bitmapBack.bmHeight)
345 pDC.BitBlt(x,y,m_bitmapBack.bmWidth,m_bitmapBack.bmHeight,&bmpDC,0,0,SRCCOPY); 348 pDC.BitBlt(x,y,m_bitmapBack.bmWidth,m_bitmapBack.bmHeight,&bmpDC,0,0,SRCCOPY);
346 bmpDC.DeleteDC(); 349 bmpDC.DeleteDC();
347 CDialog::OnPaint(); 350 CDialog::OnPaint();
348 } 351 }
349} 352}
350 353
351// The system calls this to obtain the cursor to display while the user drags 354// The system calls this to obtain the cursor to display while the user drags
352// the minimized window. 355// the minimized window.
353HCURSOR CKLogDlg::OnQueryDragIcon() 356HCURSOR CKLogDlg::OnQueryDragIcon()
354{ 357{
355 return (HCURSOR) m_hIcon; 358 return (HCURSOR) m_hIcon;
356} 359}
357 360
358void CKLogDlg::OnAdd() 361void CKLogDlg::OnAdd()
359{ 362{
360CLogger *l = new CLogger(m_Tabs.GetItemCount()?FALSE:TRUE); 363CLogger *l = new CLogger(m_Tabs.GetItemCount()?FALSE:TRUE);
361 ASSERT(l); 364 ASSERT(l);
362 m_Logs[l]=l; 365 m_Logs[l]=l;
363TC_ITEM ptc; 366TC_ITEM ptc;
364 memset(&ptc,0,sizeof(ptc)); 367 memset(&ptc,0,sizeof(ptc));
365 ptc.mask=TCIF_TEXT|TCIF_IMAGE|TCIF_PARAM; 368 ptc.mask=TCIF_TEXT|TCIF_IMAGE|TCIF_PARAM;
366 ptc.pszText=(LPTSTR)(LPCTSTR)l->m_Desc; 369 ptc.pszText=(LPTSTR)(LPCTSTR)l->m_Desc;
367 ptc.iImage=m_iNormal; 370 ptc.iImage=m_iNormal;
368 ptc.lParam=(LPARAM)l; 371 ptc.lParam=(LPARAM)l;
369int tmp=m_Tabs.InsertItem(m_Tabs.GetItemCount(),&ptc); 372int tmp=m_Tabs.InsertItem(m_Tabs.GetItemCount(),&ptc);
370 m_Tabs.SetCurSel(tmp); 373 m_Tabs.SetCurSel(tmp);
371 SetTab(l); 374 SetTab(l);
372 m_RemoveCtl.EnableWindow(m_Tabs.GetItemCount()>1); 375 m_RemoveCtl.EnableWindow(m_Tabs.GetItemCount()>1);
373} 376}
374 377
375void CKLogDlg::OnSelchangeTabs(NMHDR* pNMHDR, LRESULT* pResult) 378void CKLogDlg::OnSelchangeTabs(NMHDR* pNMHDR, LRESULT* pResult)
376{ 379{
377int cs = m_Tabs.GetCurSel(); 380int cs = m_Tabs.GetCurSel();
378 ASSERT(cs>=0); 381 ASSERT(cs>=0);
379TC_ITEM ptci; 382TC_ITEM ptci;
380 memset(&ptci,0,sizeof(ptci)); 383 memset(&ptci,0,sizeof(ptci));
381 ptci.mask=TCIF_PARAM; 384 ptci.mask=TCIF_PARAM;
382 VERIFY(m_Tabs.GetItem(cs,&ptci)); 385 VERIFY(m_Tabs.GetItem(cs,&ptci));
383CLogger *l = (CLogger*)ptci.lParam; 386CLogger *l = (CLogger*)ptci.lParam;
384 memset(&ptci,0,sizeof(ptci)); 387 memset(&ptci,0,sizeof(ptci));
385 ptci.mask=TCIF_IMAGE; 388 ptci.mask=TCIF_IMAGE;
386 ptci.iImage=m_iNormal; 389 ptci.iImage=m_iNormal;
387 VERIFY(m_Tabs.SetItem(cs,&ptci)); 390 VERIFY(m_Tabs.SetItem(cs,&ptci));
388 ASSERT(l); 391 ASSERT(l);
389 SetTab(l); 392 SetTab(l);
390 if(pResult) 393 if(pResult)
391 *pResult = 0; 394 *pResult = 0;
392} 395}
393 396
394 UINTCKLogDlg::m_PriorityCtls[CSyslogSocket::totalPriorities] = { 397 UINTCKLogDlg::m_PriorityCtls[CSyslogSocket::totalPriorities] = {
395 IDC_EMERG,IDC_ALERT,IDC_CRIT,IDC_ERR,IDC_WARNING,IDC_NOTICE,IDC_INFO,IDC_DEBUG 398 IDC_EMERG,IDC_ALERT,IDC_CRIT,IDC_ERR,IDC_WARNING,IDC_NOTICE,IDC_INFO,IDC_DEBUG
396}; 399};
397void CKLogDlg::SetTab(CLogger* l) 400void CKLogDlg::SetTab(CLogger* l)
398{ 401{
399 ASSERT(l); 402 ASSERT(l);
400 m_Logger=l; 403 m_Logger=l;
401 m_Desc=m_Logger->m_Desc; 404 m_Desc=m_Logger->m_Desc;
402 UpdateLogto(FALSE,FALSE); 405 UpdateLogto(FALSE,FALSE);
403 UpdatePriface(FALSE,FALSE); 406 UpdatePriface(FALSE,FALSE);
404 // HOST LIST 407 // HOST LIST
405 m_hlCtl.ResetContent(); 408 m_hlCtl.ResetContent();
406 m_hlRemoveCtl.EnableWindow(FALSE); 409 m_hlRemoveCtl.EnableWindow(FALSE);
407POSITION p = m_Logger->m_Hosts.GetHeadPosition(); 410POSITION p = m_Logger->m_Hosts.GetHeadPosition();
408 while(p){ 411 while(p){
409 CHostMask *hm = m_Logger->m_Hosts.GetNext(p); 412 CHostMask *hm = m_Logger->m_Hosts.GetNext(p);
410 ASSERT(hm); 413 ASSERT(hm);
411 CString hms = hm->String(); 414 CString hms = hm->String();
412 int i = m_hlCtl.AddString(hms); 415 int i = m_hlCtl.AddString(hms);
413 ASSERT(i>=0); 416 ASSERT(i>=0);
414 m_hlCtl.SetItemData(i,(DWORD)hm); 417 m_hlCtl.SetItemData(i,(DWORD)hm);
415 } 418 }
416 // SOUND 419 // SOUND
417 m_Sound=m_Logger->m_Sound; 420 m_Sound=m_Logger->m_Sound;
418 // EVENTS 421 // EVENTS
419 m_Log.ResetContent(); 422 m_Log.ResetContent();
420 p = m_Logger->m_Log.GetHeadPosition(); 423 p = m_Logger->m_Log.GetHeadPosition();
421 while(p){ 424 while(p){
422 CLogEntry *le = m_Logger->m_Log.GetNext(p); 425 CLogEntry *le = m_Logger->m_Log.GetNext(p);
423 ASSERT(le); 426 ASSERT(le);
424 AddLogLine(le); 427 AddLogLine(le);
425 } 428 }
426 429
427 UpdateData(FALSE); 430 UpdateData(FALSE);
428} 431}
429 432
430CLogger::CLogger(BOOL bAll) 433CLogger::CLogger(BOOL bAll)
431{ 434{
432 m_Desc=bAll?"All events":"New"; 435 m_Desc=bAll?"All events":"New";
433 memset(m_LogPattern,bAll,sizeof(m_LogPattern)); 436 memset(m_LogPattern,bAll,sizeof(m_LogPattern));
434 m_LogTo=logToNone; 437 m_LogTo=logToNone;
435 m_LogToHost.sin_addr.s_addr = INADDR_NONE; 438 m_LogToHost.sin_addr.s_addr = INADDR_NONE;
436} 439}
437 440
438void CKLogDlg::UpdatePriface(BOOL bSave,BOOL update) 441void CKLogDlg::UpdatePriface(BOOL bSave,BOOL update)
439{ 442{
440 ASSERT(m_Logger); 443 ASSERT(m_Logger);
441int f = CSyslogSocket::Facility(m_Facility); 444int f = CSyslogSocket::Facility(m_Facility);
442 if(bSave){ 445 if(bSave){
443 if(f==CSyslogSocket::facNone) 446 if(f==CSyslogSocket::facNone)
444 return; 447 return;
445 for(int tmp=0;tmp<CSyslogSocket::totalPriorities;tmp++) 448 for(int tmp=0;tmp<CSyslogSocket::totalPriorities;tmp++)
446 m_Logger->m_LogPattern[f][tmp]=(IsDlgButtonChecked(m_PriorityCtls[tmp])!=0); 449 m_Logger->m_LogPattern[f][tmp]=(IsDlgButtonChecked(m_PriorityCtls[tmp])!=0);
447 }else{ 450 }else{
448 if(f==CSyslogSocket::facNone){ 451 if(f==CSyslogSocket::facNone){
449 for(int tmp=0;tmp<CSyslogSocket::totalPriorities;tmp++){ 452 for(int tmp=0;tmp<CSyslogSocket::totalPriorities;tmp++){
450 CheckDlgButton(m_PriorityCtls[tmp],0); 453 CheckDlgButton(m_PriorityCtls[tmp],0);
451 GetDlgItem(m_PriorityCtls[tmp])->EnableWindow(FALSE); 454 GetDlgItem(m_PriorityCtls[tmp])->EnableWindow(FALSE);
452 } 455 }
453 m_PriAllCtl.EnableWindow(FALSE); 456 m_PriAllCtl.EnableWindow(FALSE);
454 m_PriNoneCtl.EnableWindow(FALSE); 457 m_PriNoneCtl.EnableWindow(FALSE);
455 m_PriInvertCtl.EnableWindow(FALSE); 458 m_PriInvertCtl.EnableWindow(FALSE);
456 }else{ 459 }else{
457 for(int tmp=0;tmp<CSyslogSocket::totalPriorities;tmp++){ 460 for(int tmp=0;tmp<CSyslogSocket::totalPriorities;tmp++){
458 CheckDlgButton(m_PriorityCtls[tmp],m_Logger->m_LogPattern[f][tmp]?1:0); 461 CheckDlgButton(m_PriorityCtls[tmp],m_Logger->m_LogPattern[f][tmp]?1:0);
459 GetDlgItem(m_PriorityCtls[tmp])->EnableWindow(TRUE); 462 GetDlgItem(m_PriorityCtls[tmp])->EnableWindow(TRUE);
460 } 463 }
461 m_PriAllCtl.EnableWindow(TRUE); 464 m_PriAllCtl.EnableWindow(TRUE);
462 m_PriNoneCtl.EnableWindow(TRUE); 465 m_PriNoneCtl.EnableWindow(TRUE);
463 m_PriInvertCtl.EnableWindow(TRUE); 466 m_PriInvertCtl.EnableWindow(TRUE);
464 if(update) 467 if(update)
465 UpdateData(FALSE); 468 UpdateData(FALSE);
466 } 469 }
467 } 470 }
468} 471}
469 472
470void CKLogDlg::OnSelchangeFacility() 473void CKLogDlg::OnSelchangeFacility()
471{ 474{
472 ASSERT(m_Logger); 475 ASSERT(m_Logger);
473 UpdatePriface(TRUE,FALSE); 476 UpdatePriface(TRUE,FALSE);
474 UpdateData(TRUE); 477 UpdateData(TRUE);
475 UpdatePriface(FALSE,TRUE); 478 UpdatePriface(FALSE,TRUE);
476} 479}
477 480
478void CKLogDlg::OnPriority() 481void CKLogDlg::OnPriority()
479{ 482{
480 UpdatePriface(TRUE,FALSE); 483 UpdatePriface(TRUE,FALSE);
481} 484}
482 485
483void CKLogDlg::UpdateLogto(BOOL bSave,BOOL update) 486void CKLogDlg::UpdateLogto(BOOL bSave,BOOL update)
484{ 487{
485 if(bSave){ 488 if(bSave){
486 m_Logger->m_LogTo=m_Logto; 489 m_Logger->m_LogTo=m_Logto;
487 if(m_Logto!=CLogger::logToNone){ 490 if(m_Logto!=CLogger::logToNone){
488 m_Logger->m_LogToName=m_HFName; 491 m_Logger->m_LogToName=m_HFName;
489 switch(m_Logto){ 492 switch(m_Logto){
490 case CLogger::logToFile: 493 case CLogger::logToFile:
491 // ??? Do nothing 494 // ??? Do nothing
492 break; 495 break;
493 case CLogger::logToHost: 496 case CLogger::logToHost:
494 m_Logger->LookupHost(this); 497 m_Logger->LookupHost(this);
495 break; 498 break;
496 #ifndefNDEBUG 499 #ifndefNDEBUG
497 default: 500 default:
498 ASSERT(FALSE); 501 ASSERT(FALSE);
499 break; 502 break;
500#endif 503#endif
501 } 504 }
502 } 505 }
503 }else{ 506 }else{
504 m_Logto=m_Logger->m_LogTo; 507 m_Logto=m_Logger->m_LogTo;
505 m_HFNameCaption.Empty(); 508 m_HFNameCaption.Empty();
506 m_HFName=m_Logger->m_LogToName; 509 m_HFName=m_Logger->m_LogToName;
507 BOOL doLog = TRUE; 510 BOOL doLog = TRUE;
508 BOOL doBrowse = FALSE; 511 BOOL doBrowse = FALSE;
509 switch(m_Logger->m_LogTo){ 512 switch(m_Logger->m_LogTo){
510 case CLogger::logToNone: 513 case CLogger::logToNone:
511 doLog=FALSE; 514 doLog=FALSE;
512 m_HFName.Empty(); 515 m_HFName.Empty();
513 break; 516 break;
514 case CLogger::logToFile: 517 case CLogger::logToFile:
515 m_HFNameCaption.LoadString(IDS_LOGTO_FILE); 518 m_HFNameCaption.LoadString(IDS_LOGTO_FILE);
516 doBrowse=TRUE; 519 doBrowse=TRUE;
517 break; 520 break;
518 case CLogger::logToHost: 521 case CLogger::logToHost:
519 m_HFNameCaption.LoadString(IDS_LOGTO_HOST); 522 m_HFNameCaption.LoadString(IDS_LOGTO_HOST);
520 break; 523 break;
521 default: 524 default:
522 ASSERT(FALSE); 525 ASSERT(FALSE);
523 break; 526 break;
524 } 527 }
525 m_HFNameCtl.EnableWindow(doLog); 528 m_HFNameCtl.EnableWindow(doLog);
526 m_HFNameCaptionCtl.EnableWindow(doLog); 529 m_HFNameCaptionCtl.EnableWindow(doLog);
527 m_BrowseCtl.EnableWindow(doBrowse); 530 m_BrowseCtl.EnableWindow(doBrowse);
528 if(update) 531 if(update)
529 UpdateData(FALSE); 532 UpdateData(FALSE);
530 } 533 }
531} 534}
532 535
533void CKLogDlg::OnLogto() 536void CKLogDlg::OnLogto()
534{ 537{
535 ASSERT(m_Logger); 538 ASSERT(m_Logger);
536 UpdateData(TRUE); 539 UpdateData(TRUE);
537 m_HFName=m_Logger->m_LogToName; 540 m_HFName=m_Logger->m_LogToName;
538 UpdateLogto(TRUE,FALSE); 541 UpdateLogto(TRUE,FALSE);
539 UpdateLogto(FALSE,TRUE); 542 UpdateLogto(FALSE,TRUE);
540} 543}
541 544
542void CKLogDlg::OnPriAll() 545void CKLogDlg::OnPriAll()
543{ 546{
544 ASSERT(m_Logger); 547 ASSERT(m_Logger);
545 UpdateData(TRUE); 548 UpdateData(TRUE);
546 UpdatePriface(TRUE,FALSE); 549 UpdatePriface(TRUE,FALSE);
547int f = CSyslogSocket::Facility(m_Facility); 550int f = CSyslogSocket::Facility(m_Facility);
548 for(int tmp=0;tmp<CSyslogSocket::totalPriorities;tmp++) 551 for(int tmp=0;tmp<CSyslogSocket::totalPriorities;tmp++)
549 m_Logger->m_LogPattern[f][tmp]=TRUE; 552 m_Logger->m_LogPattern[f][tmp]=TRUE;
550 UpdatePriface(FALSE,TRUE); 553 UpdatePriface(FALSE,TRUE);
551} 554}
552 555
553void CKLogDlg::OnPriNone() 556void CKLogDlg::OnPriNone()
554{ 557{
555 ASSERT(m_Logger); 558 ASSERT(m_Logger);
556 UpdateData(TRUE); 559 UpdateData(TRUE);
557 UpdatePriface(TRUE,FALSE); 560 UpdatePriface(TRUE,FALSE);
558int f = CSyslogSocket::Facility(m_Facility); 561int f = CSyslogSocket::Facility(m_Facility);
559 for(int tmp=0;tmp<CSyslogSocket::totalPriorities;tmp++) 562 for(int tmp=0;tmp<CSyslogSocket::totalPriorities;tmp++)
560 m_Logger->m_LogPattern[f][tmp]=FALSE; 563 m_Logger->m_LogPattern[f][tmp]=FALSE;
561 UpdatePriface(FALSE,TRUE); 564 UpdatePriface(FALSE,TRUE);
562} 565}
563 566
564void CKLogDlg::OnPriInvert() 567void CKLogDlg::OnPriInvert()
565{ 568{
566 ASSERT(m_Logger); 569 ASSERT(m_Logger);
567 UpdateData(TRUE); 570 UpdateData(TRUE);
568 UpdatePriface(TRUE,FALSE); 571 UpdatePriface(TRUE,FALSE);
569int f = CSyslogSocket::Facility(m_Facility); 572int f = CSyslogSocket::Facility(m_Facility);
570 for(int tmp=0;tmp<CSyslogSocket::totalPriorities;tmp++) 573 for(int tmp=0;tmp<CSyslogSocket::totalPriorities;tmp++)
571 m_Logger->m_LogPattern[f][tmp]=!m_Logger->m_LogPattern[f][tmp]; 574 m_Logger->m_LogPattern[f][tmp]=!m_Logger->m_LogPattern[f][tmp];
572 UpdatePriface(FALSE,TRUE); 575 UpdatePriface(FALSE,TRUE);
573} 576}
574 577
575void CKLogDlg::OnChangeDesc() 578void CKLogDlg::OnChangeDesc()
576{ 579{
577 ASSERT(m_Logger); 580 ASSERT(m_Logger);
578 UpdateData(TRUE); 581 UpdateData(TRUE);
579 m_Logger->m_Desc=m_Desc; 582 m_Logger->m_Desc=m_Desc;
580 intcs = m_Tabs.GetCurSel(); 583 intcs = m_Tabs.GetCurSel();
581 ASSERT(cs>=0); 584 ASSERT(cs>=0);
582TC_ITEM ptci; 585TC_ITEM ptci;
583 memset(&ptci,0,sizeof(ptci)); 586 memset(&ptci,0,sizeof(ptci));
584 ptci.mask=TCIF_TEXT; 587 ptci.mask=TCIF_TEXT;
585 ptci.pszText=(LPTSTR)(LPCTSTR)m_Logger->m_Desc; 588 ptci.pszText=(LPTSTR)(LPCTSTR)m_Logger->m_Desc;
586 VERIFY(m_Tabs.SetItem(cs,&ptci)); 589 VERIFY(m_Tabs.SetItem(cs,&ptci));
587} 590}
588 591
589CString CHostMask::String() 592CString CHostMask::String()
590{ 593{
591CString rv; 594CString rv;
592 rv = inet_ntoa(*(in_addr*)&m_Host); 595 rv = inet_ntoa(*(in_addr*)&m_Host);
593 rv+=" / "; 596 rv+=" / ";
594 rv+= inet_ntoa(*(in_addr*)&m_Mask); 597 rv+= inet_ntoa(*(in_addr*)&m_Mask);
595 return rv; 598 return rv;
596} 599}
597 600
598void CKLogDlg::OnHlAdd() 601void CKLogDlg::OnHlAdd()
599{ 602{
600 ASSERT(m_Logger); 603 ASSERT(m_Logger);
601 UpdateData(TRUE); 604 UpdateData(TRUE);
602DWORD h = (DWORD)inet_addr(m_hlIP); 605DWORD h = (DWORD)inet_addr(m_hlIP);
603DWORD m = (DWORD)inet_addr(m_hlMask); 606DWORD m = (DWORD)inet_addr(m_hlMask);
604 if(h==INADDR_NONE){ 607 if(h==INADDR_NONE){
605 TRACE0("Bad host address\n"); 608 TRACE0("Bad host address\n");
606 m_hlIPCtl.SetFocus(); 609 m_hlIPCtl.SetFocus();
607 return; 610 return;
608 } 611 }
609 if(m==INADDR_NONE && m_hlMask!="255.255.255.255"){ // 255.255.255.255 stands for INADDR_NONE 612 if(m==INADDR_NONE && m_hlMask!="255.255.255.255"){ // 255.255.255.255 stands for INADDR_NONE
610 TRACE0("Bad host mask\n"); 613 TRACE0("Bad host mask\n");
611 m_hlMaskCtl.SetFocus(); 614 m_hlMaskCtl.SetFocus();
612 return; 615 return;
613 } 616 }
614 if(!(m && h)){ 617 if(!(m && h)){
615 TRACE0("Both zeros\n"); 618 TRACE0("Both zeros\n");
616 m_hlIPCtl.SetFocus(); 619 m_hlIPCtl.SetFocus();
617 return; 620 return;
618 } 621 }
619CHostMask *hm = new CHostMask(h,m); 622CHostMask *hm = new CHostMask(h,m);
620 ASSERT(hm); 623 ASSERT(hm);
621 m_Logger->m_Hosts.AddTail(hm); 624 m_Logger->m_Hosts.AddTail(hm);
622CString hms = hm->String(); 625CString hms = hm->String();
623int i = m_hlCtl.AddString(hms); 626int i = m_hlCtl.AddString(hms);
624 ASSERT(i>=0); 627 ASSERT(i>=0);
625 m_hlCtl.SetItemData(i,(DWORD)hm); 628 m_hlCtl.SetItemData(i,(DWORD)hm);
626} 629}
627 630
628void CKLogDlg::OnSelchangeHosts() 631void CKLogDlg::OnSelchangeHosts()
629{ 632{
630int i = m_hlCtl.GetCurSel(); 633int i = m_hlCtl.GetCurSel();
631 if(i<0){ 634 if(i<0){
632 m_hlRemoveCtl.EnableWindow(FALSE); 635 m_hlRemoveCtl.EnableWindow(FALSE);
633 return; 636 return;
634 } 637 }
635CHostMask *hm = (CHostMask*)m_hlCtl.GetItemData(i); 638CHostMask *hm = (CHostMask*)m_hlCtl.GetItemData(i);
636 ASSERT(hm); 639 ASSERT(hm);
637 m_hlIP=inet_ntoa(*(in_addr*)&hm->m_Host); 640 m_hlIP=inet_ntoa(*(in_addr*)&hm->m_Host);
638 m_hlMask=inet_ntoa(*(in_addr*)&hm->m_Mask); 641 m_hlMask=inet_ntoa(*(in_addr*)&hm->m_Mask);
639 UpdateData(FALSE); 642 UpdateData(FALSE);
640 m_hlRemoveCtl.EnableWindow(TRUE); 643 m_hlRemoveCtl.EnableWindow(TRUE);
641} 644}
642 645
643void CKLogDlg::OnHlRemove() 646void CKLogDlg::OnHlRemove()
644{ 647{
645int i = m_hlCtl.GetCurSel(); 648int i = m_hlCtl.GetCurSel();
646 if(i<0){ 649 if(i<0){
647 m_hlRemoveCtl.EnableWindow(FALSE); 650 m_hlRemoveCtl.EnableWindow(FALSE);
648 return; 651 return;
649 } 652 }
650CHostMask *hm = (CHostMask*)m_hlCtl.GetItemData(i); 653CHostMask *hm = (CHostMask*)m_hlCtl.GetItemData(i);
651 m_hlCtl.DeleteString(i); 654 m_hlCtl.DeleteString(i);
652 ASSERT(hm); 655 ASSERT(hm);
653 ASSERT(m_Logger); 656 ASSERT(m_Logger);
654POSITION p = m_Logger->m_Hosts.Find(hm); 657POSITION p = m_Logger->m_Hosts.Find(hm);
655 ASSERT(p); 658 ASSERT(p);
656 m_Logger->m_Hosts.RemoveAt(p); 659 m_Logger->m_Hosts.RemoveAt(p);
657 delete hm; 660 delete hm;
658 m_hlRemoveCtl.EnableWindow(m_hlCtl.GetCurSel()>=0); 661 m_hlRemoveCtl.EnableWindow(m_hlCtl.GetCurSel()>=0);
659} 662}
660 663
661void CKLogDlg::OnRemove() 664void CKLogDlg::OnRemove()
662{ 665{
663 ASSERT(m_Tabs.GetItemCount()>1); 666 ASSERT(m_Tabs.GetItemCount()>1);
664int t = m_Tabs.GetCurSel(); 667int t = m_Tabs.GetCurSel();
665 ASSERT(t>=0); 668 ASSERT(t>=0);
666 ASSERT(m_Logger); 669 ASSERT(m_Logger);
667TC_ITEM tci; 670TC_ITEM tci;
668 memset(&tci,0,sizeof(tci)); 671 memset(&tci,0,sizeof(tci));
669 tci.mask=TCIF_PARAM; 672 tci.mask=TCIF_PARAM;
670 VERIFY(m_Tabs.GetItem(t,&tci)); 673 VERIFY(m_Tabs.GetItem(t,&tci));
671 ASSERT(tci.lParam==(LPARAM)m_Logger); 674 ASSERT(tci.lParam==(LPARAM)m_Logger);
672 VERIFY(m_Tabs.DeleteItem(t)); 675 VERIFY(m_Tabs.DeleteItem(t));
673 VERIFY(m_Logs.RemoveKey(m_Logger)); 676 VERIFY(m_Logs.RemoveKey(m_Logger));
674 delete m_Logger; 677 delete m_Logger;
675 m_Logger=NULL; 678 m_Logger=NULL;
676 m_Tabs.SetCurSel(t); 679 m_Tabs.SetCurSel(t);
677 t=m_Tabs.GetCurSel(); 680 t=m_Tabs.GetCurSel();
678 if(t<0) 681 if(t<0)
679 VERIFY(m_Tabs.SetCurSel(t=0)); 682 VERIFY(m_Tabs.SetCurSel(t=0));
680 memset(&tci,0,sizeof(tci)); 683 memset(&tci,0,sizeof(tci));
681 tci.mask=TCIF_PARAM; 684 tci.mask=TCIF_PARAM;
682 VERIFY(m_Tabs.GetItem(t,&tci)); 685 VERIFY(m_Tabs.GetItem(t,&tci));
683CLogger *l = (CLogger*)tci.lParam; 686CLogger *l = (CLogger*)tci.lParam;
684 ASSERT(l); 687 ASSERT(l);
685 SetTab(l); 688 SetTab(l);
686 m_RemoveCtl.EnableWindow(m_Tabs.GetItemCount()>1); 689 m_RemoveCtl.EnableWindow(m_Tabs.GetItemCount()>1);
687} 690}
688 691
689void CLogger::PlayWave() 692void CLogger::PlayWave()
690{ 693{
691 if(m_Sound.IsEmpty()) 694 if(m_Sound.IsEmpty())
692 return; 695 return;
693CString tmp; 696CString tmp;
694 tmp.LoadString(IDS_SOUND_MEOW); 697 tmp.LoadString(IDS_SOUND_MEOW);
695 if(!tmp.CompareNoCase(m_Sound)){ 698 if(!tmp.CompareNoCase(m_Sound)){
696 ::PlaySound((LPCTSTR)IDW_SOUND_MEOW,AfxGetApp()->m_hInstance,SND_ASYNC|SND_NODEFAULT|SND_NOSTOP|SND_NOWAIT|SND_RESOURCE); 699 ::PlaySound((LPCTSTR)IDW_SOUND_MEOW,AfxGetApp()->m_hInstance,SND_ASYNC|SND_NODEFAULT|SND_NOSTOP|SND_NOWAIT|SND_RESOURCE);
697 return; 700 return;
698 } 701 }
699 tmp.LoadString(IDS_SOUND_GLASS); 702 tmp.LoadString(IDS_SOUND_GLASS);
700 if(!tmp.CompareNoCase(m_Sound)){ 703 if(!tmp.CompareNoCase(m_Sound)){
701 ::PlaySound((LPCTSTR)IDW_SOUND_GLASS,AfxGetApp()->m_hInstance,SND_ASYNC|SND_NODEFAULT|SND_NOSTOP|SND_NOWAIT|SND_RESOURCE); 704 ::PlaySound((LPCTSTR)IDW_SOUND_GLASS,AfxGetApp()->m_hInstance,SND_ASYNC|SND_NODEFAULT|SND_NOSTOP|SND_NOWAIT|SND_RESOURCE);
702 return; 705 return;
703 } 706 }
704 tmp.LoadString(IDS_SOUND_FEAR); 707 tmp.LoadString(IDS_SOUND_FEAR);
705 if(!tmp.CompareNoCase(m_Sound)){ 708 if(!tmp.CompareNoCase(m_Sound)){
706 ::PlaySound((LPCTSTR)IDW_SOUND_FEAR,AfxGetApp()->m_hInstance,SND_ASYNC|SND_NODEFAULT|SND_NOSTOP|SND_NOWAIT|SND_RESOURCE); 709 ::PlaySound((LPCTSTR)IDW_SOUND_FEAR,AfxGetApp()->m_hInstance,SND_ASYNC|SND_NODEFAULT|SND_NOSTOP|SND_NOWAIT|SND_RESOURCE);
707 return; 710 return;
708 } 711 }
709 tmp.LoadString(IDS_SOUND_KICK); 712 tmp.LoadString(IDS_SOUND_KICK);
710 if(!tmp.CompareNoCase(m_Sound)){ 713 if(!tmp.CompareNoCase(m_Sound)){
711 ::PlaySound((LPCTSTR)IDW_SOUND_KICK,AfxGetApp()->m_hInstance,SND_ASYNC|SND_NODEFAULT|SND_NOSTOP|SND_NOWAIT|SND_RESOURCE); 714 ::PlaySound((LPCTSTR)IDW_SOUND_KICK,AfxGetApp()->m_hInstance,SND_ASYNC|SND_NODEFAULT|SND_NOSTOP|SND_NOWAIT|SND_RESOURCE);
712 return; 715 return;
713 } 716 }
714 ::PlaySound(m_Sound,AfxGetApp()->m_hInstance,SND_ASYNC|SND_NODEFAULT|SND_NOSTOP|SND_NOWAIT|SND_FILENAME); 717 ::PlaySound(m_Sound,AfxGetApp()->m_hInstance,SND_ASYNC|SND_NODEFAULT|SND_NOSTOP|SND_NOWAIT|SND_FILENAME);
715} 718}
716 719
717void CKLogDlg::OnPlaysound() 720void CKLogDlg::OnPlaysound()
718{ 721{
719 ASSERT(m_Logger); 722 ASSERT(m_Logger);
720 m_Logger->PlayWave(); 723 m_Logger->PlayWave();
721} 724}
722 725
723void CKLogDlg::OnEditchangeSound() 726void CKLogDlg::OnEditchangeSound()
724{ 727{
725 ASSERT(m_Logger); 728 ASSERT(m_Logger);
726 UpdateData(TRUE); 729 UpdateData(TRUE);
727 m_Logger->m_Sound=m_Sound; 730 m_Logger->m_Sound=m_Sound;
728} 731}
729 732
730void CKLogDlg::OnKillfocusSound() 733void CKLogDlg::OnKillfocusSound()
731{ 734{
732 ASSERT(m_Logger); 735 ASSERT(m_Logger);
733 UpdateData(TRUE); 736 UpdateData(TRUE);
734 m_Logger->m_Sound=m_Sound; 737 m_Logger->m_Sound=m_Sound;
735} 738}
736 739
737void CKLogDlg::UpdateLogLength(BOOL bSave,BOOL update) 740void CKLogDlg::UpdateLogLength(BOOL bSave,BOOL update)
738{ 741{
739 if(bSave){ 742 if(bSave){
740 int sbp = m_LogLenSpinCtl.GetPos(); 743 int sbp = m_LogLenSpinCtl.GetPos();
741 if(sbp&(0xFFFFl<<16)){ 744 if(sbp&(0xFFFFl<<16)){
742 sbp = 15; 745 sbp = 15;
743 m_LogLenSpinCtl.SetPos(sbp); 746 m_LogLenSpinCtl.SetPos(sbp);
744 } 747 }
745 m_LogItems=sbp; 748 m_LogItems=sbp;
746 }else{ 749 }else{
747 m_LogLenSpinCtl.SetPos(m_LogItems); 750 m_LogLenSpinCtl.SetPos(m_LogItems);
748 } 751 }
749} 752}
750 753
751void CKLogDlg::OnDeltaposLoglenspin(NMHDR* pNMHDR, LRESULT* pResult) 754void CKLogDlg::OnDeltaposLoglenspin(NMHDR* pNMHDR, LRESULT* pResult)
752{ 755{
753 NM_UPDOWN* pNMUpDown = (NM_UPDOWN*)pNMHDR; 756 NM_UPDOWN* pNMUpDown = (NM_UPDOWN*)pNMHDR;
754 UpdateLogLength(TRUE,FALSE); 757 UpdateLogLength(TRUE,FALSE);
755 *pResult = 0; 758 *pResult = 0;
756} 759}
757 760
758void CKLogDlg::OnExit() 761void CKLogDlg::OnExit()
759{ 762{
760 SaveSettings(); 763 SaveSettings();
761 TotalCleanUp(); 764 TotalCleanUp();
762 m_bExiting=TRUE; 765 m_bExiting=TRUE;
763 EndDialog(IDOK); 766 EndDialog(IDOK);
764} 767}
765 768
766void CKLogDlg::TotalCleanUp() 769void CKLogDlg::TotalCleanUp()
767{ 770{
768POSITION p = m_Logs.GetStartPosition(); 771POSITION p = m_Logs.GetStartPosition();
769 while(p){ 772 while(p){
770 CLogger *l, *ll; 773 CLogger *l, *ll;
771 m_Logs.GetNextAssoc(p,l,ll); 774 m_Logs.GetNextAssoc(p,l,ll);
772 ASSERT(l); 775 ASSERT(l);
773 ASSERT(l==ll); 776 ASSERT(l==ll);
774 delete l; 777 delete l;
775 } 778 }
776 m_Logs.RemoveAll(); 779 m_Logs.RemoveAll();
777 m_Tabs.DeleteAllItems(); 780 m_Tabs.DeleteAllItems();
778 RedrawWindow(); 781 RedrawWindow();
779} 782}
780 783
781CLogger::~CLogger() 784CLogger::~CLogger()
782{ 785{
783POSITION p = m_Hosts.GetHeadPosition(); 786POSITION p = m_Hosts.GetHeadPosition();
784 while(p){ 787 while(p){
785 CHostMask *hm = m_Hosts.GetNext(p); 788 CHostMask *hm = m_Hosts.GetNext(p);
786 ASSERT(hm); 789 ASSERT(hm);
787 delete hm; 790 delete hm;
788 } 791 }
789 m_Hosts.RemoveAll(); 792 m_Hosts.RemoveAll();
790 p = m_Log.GetHeadPosition(); 793 p = m_Log.GetHeadPosition();
791 while(p){ 794 while(p){
792 CLogEntry *le = m_Log.GetNext(p); 795 CLogEntry *le = m_Log.GetNext(p);
793 ASSERT(le); 796 ASSERT(le);
794 delete le; 797 delete le;
795 } 798 }
796 m_Log.RemoveAll(); 799 m_Log.RemoveAll();
797} 800}
798 801
799void CKLogDlg::OnFiles() 802void CKLogDlg::OnFiles()
800{ 803{
801CRect rc; 804CRect rc;
802 m_FilesCtl.GetWindowRect(&rc); 805 m_FilesCtl.GetWindowRect(&rc);
803CPoint pt = rc.TopLeft(); 806CPoint pt = rc.TopLeft();
804CMenu menu; 807CMenu menu;
805 VERIFY(menu.LoadMenu(IDD)); 808 VERIFY(menu.LoadMenu(IDD));
806CMenu *filesMenu = menu.GetSubMenu(0); 809CMenu *filesMenu = menu.GetSubMenu(0);
807 ASSERT(filesMenu); 810 ASSERT(filesMenu);
808 filesMenu->TrackPopupMenu(TPM_LEFTALIGN|TPM_LEFTBUTTON,pt.x,pt.y,this); 811 filesMenu->TrackPopupMenu(TPM_LEFTALIGN|TPM_LEFTBUTTON,pt.x,pt.y,this);
809} 812}
810 813
811void CKLogDlg::OnFilesExport() 814void CKLogDlg::OnFilesExport()
812{ 815{
813 TRACE0("Export\n"); 816 TRACE0("Export\n");
814CString filter; 817CString filter;
815 filter.LoadString(IDS_KLOGFILTER); 818 filter.LoadString(IDS_KLOGFILTER);
816CString title, ext; 819CString title, ext;
817 title.LoadString(IDS_KLOG_EXPORT); 820 title.LoadString(IDS_KLOG_EXPORT);
818 ext.LoadString(IDS_KLOG_EXT); 821 ext.LoadString(IDS_KLOG_EXT);
819CFileDialog cfd(FALSE,ext,NULL,OFN_EXPLORER|OFN_PATHMUSTEXIST|OFN_HIDEREADONLY|OFN_OVERWRITEPROMPT,filter,this); 822CFileDialog cfd(FALSE,ext,NULL,OFN_EXPLORER|OFN_PATHMUSTEXIST|OFN_HIDEREADONLY|OFN_OVERWRITEPROMPT,filter,this);
820 cfd.m_ofn.lpstrTitle=title; 823 cfd.m_ofn.lpstrTitle=title;
821 if(cfd.DoModal()==IDOK){ 824 if(cfd.DoModal()==IDOK){
822 CFile klo; 825 CFile klo;
823 if(klo.Open(cfd.GetPathName(),CFile::modeCreate|CFile::modeWrite)){ 826 if(klo.Open(cfd.GetPathName(),CFile::modeCreate|CFile::modeWrite)){
824 TRY{ 827 TRY{
825 CArchive ar(&klo,CArchive::store); 828 CArchive ar(&klo,CArchive::store);
826 Serialize(ar); 829 Serialize(ar);
827 ar.Close(); 830 ar.Close();
828 }CATCH(CException, e){ 831 }CATCH(CException, e){
829 CString tmp; 832 CString tmp;
830 tmp.LoadString(IDS_MSG_FAILEDTOEXPORT); 833 tmp.LoadString(IDS_MSG_FAILEDTOEXPORT);
831 MessageBox(tmp,NULL,MB_ICONHAND|MB_OK); 834 MessageBox(tmp,NULL,MB_ICONHAND|MB_OK);
832 }END_CATCH 835 }END_CATCH
833 }else{ 836 }else{
834 CString tmp; 837 CString tmp;
835 tmp.LoadString(IDS_MSG_FAILEDTOEXPORT); 838 tmp.LoadString(IDS_MSG_FAILEDTOEXPORT);
836 MessageBox(tmp,NULL,MB_ICONHAND|MB_OK); 839 MessageBox(tmp,NULL,MB_ICONHAND|MB_OK);
837 } 840 }
838 } 841 }
839} 842}
840 843
841void CKLogDlg::OnFilesImport() 844void CKLogDlg::OnFilesImport()
842{ 845{
843 TRACE0("Import\n"); 846 TRACE0("Import\n");
844CString filter; 847CString filter;
845 filter.LoadString(IDS_KLOGFILTER); 848 filter.LoadString(IDS_KLOGFILTER);
846CString title; 849CString title;
847 title.LoadString(IDS_KLOG_IMPORT); 850 title.LoadString(IDS_KLOG_IMPORT);
848CFileDialog cfd(TRUE,NULL,NULL,OFN_EXPLORER|OFN_FILEMUSTEXIST|OFN_PATHMUSTEXIST|OFN_HIDEREADONLY,filter,this); 851CFileDialog cfd(TRUE,NULL,NULL,OFN_EXPLORER|OFN_FILEMUSTEXIST|OFN_PATHMUSTEXIST|OFN_HIDEREADONLY,filter,this);
849 cfd.m_ofn.lpstrTitle=title; 852 cfd.m_ofn.lpstrTitle=title;
850 if(cfd.DoModal()==IDOK){ 853 if(cfd.DoModal()==IDOK){
851 CFile klo; 854 CFile klo;
852 if(klo.Open(cfd.GetPathName(),CFile::modeRead)){ 855 if(klo.Open(cfd.GetPathName(),CFile::modeRead)){
853 TRY{ 856 TRY{
854 CArchive ar(&klo,CArchive::load); 857 CArchive ar(&klo,CArchive::load);
855 Serialize(ar); 858 Serialize(ar);
856 ar.Close(); 859 ar.Close();
857 }CATCH(CException, e){ 860 }CATCH(CException, e){
858 CString tmp; 861 CString tmp;
859 tmp.LoadString(IDS_MSG_FAILEDTOIMPORT); 862 tmp.LoadString(IDS_MSG_FAILEDTOIMPORT);
860 MessageBox(tmp,NULL,MB_ICONHAND|MB_OK); 863 MessageBox(tmp,NULL,MB_ICONHAND|MB_OK);
861 }END_CATCH 864 }END_CATCH
862 }else{ 865 }else{
863 CString tmp; 866 CString tmp;
864 tmp.LoadString(IDS_MSG_FAILEDTOIMPORT); 867 tmp.LoadString(IDS_MSG_FAILEDTOIMPORT);
865 MessageBox(tmp,NULL,MB_ICONHAND|MB_OK); 868 MessageBox(tmp,NULL,MB_ICONHAND|MB_OK);
866 } 869 }
867 } 870 }
868} 871}
869 872
870void CKLogDlg::OnBrowsesound() 873void CKLogDlg::OnBrowsesound()
871{ 874{
872CString filter; 875CString filter;
873 filter.LoadString(IDS_WAVFILTER); 876 filter.LoadString(IDS_WAVFILTER);
874CString title; 877CString title;
875 title.LoadString(IDS_SOUND_SELECT); 878 title.LoadString(IDS_SOUND_SELECT);
876CFileDialog cfd(TRUE,NULL,NULL,OFN_EXPLORER|OFN_FILEMUSTEXIST|OFN_PATHMUSTEXIST|OFN_HIDEREADONLY,filter,this); 879CFileDialog cfd(TRUE,NULL,NULL,OFN_EXPLORER|OFN_FILEMUSTEXIST|OFN_PATHMUSTEXIST|OFN_HIDEREADONLY,filter,this);
877 cfd.m_ofn.lpstrTitle=title; 880 cfd.m_ofn.lpstrTitle=title;
878 if(cfd.DoModal()==IDOK){ 881 if(cfd.DoModal()==IDOK){
879 m_Sound=cfd.GetPathName(); 882 m_Sound=cfd.GetPathName();
880 ASSERT(m_Logger); 883 ASSERT(m_Logger);
881 UpdateData(FALSE); 884 UpdateData(FALSE);
882 m_Logger->m_Sound=m_Sound; 885 m_Logger->m_Sound=m_Sound;
883 } 886 }
884} 887}
885 888
886void CKLogDlg::OnKillfocusHostfile() 889void CKLogDlg::OnKillfocusHostfile()
887{ 890{
888 UpdateData(TRUE); 891 UpdateData(TRUE);
889 if(m_HFName.Compare(m_Logger->m_LogToName)) 892 if(m_HFName.Compare(m_Logger->m_LogToName))
890 UpdateLogto(TRUE,FALSE); 893 UpdateLogto(TRUE,FALSE);
891} 894}
892 895
893void CKLogDlg::OnOK() 896void CKLogDlg::OnOK()
894{ 897{
895 UpdateData(TRUE); 898 UpdateData(TRUE);
896 UpdateLogto(TRUE,FALSE); 899 UpdateLogto(TRUE,FALSE);
897} 900}
898 901
899void CKLogDlg::OnBrowse() 902void CKLogDlg::OnBrowse()
900{ 903{
901CString filter; 904CString filter;
902 filter.LoadString(IDS_LOGFILTER); 905 filter.LoadString(IDS_LOGFILTER);
903CString title, ext; 906CString title, ext;
904 title.LoadString(IDS_LOG_SELECT); 907 title.LoadString(IDS_LOG_SELECT);
905 ext.LoadString(IDS_LOG_EXT); 908 ext.LoadString(IDS_LOG_EXT);
906CFileDialog cfd(FALSE,ext,NULL,OFN_EXPLORER|OFN_PATHMUSTEXIST|OFN_HIDEREADONLY,filter,this); 909CFileDialog cfd(FALSE,ext,NULL,OFN_EXPLORER|OFN_PATHMUSTEXIST|OFN_HIDEREADONLY,filter,this);
907 cfd.m_ofn.lpstrTitle=title; 910 cfd.m_ofn.lpstrTitle=title;
908 if(cfd.DoModal()==IDOK){ 911 if(cfd.DoModal()==IDOK){
909 m_HFName=cfd.GetPathName(); 912 m_HFName=cfd.GetPathName();
910 ASSERT(m_Logger); 913 ASSERT(m_Logger);
911 UpdateData(FALSE); 914 UpdateData(FALSE);
912 m_Logger->m_LogToName=m_HFName; 915 m_Logger->m_LogToName=m_HFName;
913 } 916 }
914} 917}
915 918
916void CKLogDlg::Serialize(CArchive& ar) 919void CKLogDlg::Serialize(CArchive& ar)
917{ 920{
918 ASSERT_VALID(this); 921 ASSERT_VALID(this);
919 922
920 ar.MapObject(this); 923 ar.MapObject(this);
921 ar.SerializeClass(RUNTIME_CLASS(CKLogDlg)); 924 ar.SerializeClass(RUNTIME_CLASS(CKLogDlg));
922 925
923 if(ar.IsStoring()){ 926 if(ar.IsStoring()){
924 // Store 927 // Store
925 TRACE0("Store Klog\n"); 928 TRACE0("Store Klog\n");
926 intnCount = m_Tabs.GetItemCount(); 929 intnCount = m_Tabs.GetItemCount();
927 ar << nCount; 930 ar << nCount;
928 for(int tmp=0;tmp<nCount;tmp++){ 931 for(int tmp=0;tmp<nCount;tmp++){
929 TC_ITEM ptci; 932 TC_ITEM ptci;
930 memset(&ptci,0,sizeof(ptci)); 933 memset(&ptci,0,sizeof(ptci));
931 ptci.mask=TCIF_PARAM; 934 ptci.mask=TCIF_PARAM;
932 VERIFY(m_Tabs.GetItem(tmp,&ptci)); 935 VERIFY(m_Tabs.GetItem(tmp,&ptci));
933 CLogger *l = (CLogger*)ptci.lParam; 936 CLogger *l = (CLogger*)ptci.lParam;
934 ASSERT(l); 937 ASSERT(l);
935 l->Serialize(ar); 938 l->Serialize(ar);
936 } 939 }
937 }else{ 940 }else{
938 // Retrieve 941 // Retrieve
939 UINT schema = ar.GetObjectSchema(); 942 UINT schema = ar.GetObjectSchema();
940#ifndef NDEBUG 943#ifndef NDEBUG
941 { 944 {
942 CString tmp; 945 CString tmp;
943 tmp.Format("Doc-OSchema: %u\n",schema); 946 tmp.Format("Doc-OSchema: %u\n",schema);
944 TRACE0(tmp); 947 TRACE0(tmp);
945 } 948 }
946#endif 949#endif
947 // Do the cleanup 950 // Do the cleanup
948 TotalCleanUp(); 951 TotalCleanUp();
949 int nCount; 952 int nCount;
950 ar >> nCount; 953 ar >> nCount;
951 ASSERT(nCount); 954 ASSERT(nCount);
952 for(int tmp=0;tmp<nCount;tmp++){ 955 for(int tmp=0;tmp<nCount;tmp++){
953 CLogger *l = new CLogger(); 956 CLogger *l = new CLogger();
954 l->Serialize(ar); 957 l->Serialize(ar);
955 m_Logs[l]=l; 958 m_Logs[l]=l;
956 TC_ITEM ptc; 959 TC_ITEM ptc;
957 memset(&ptc,0,sizeof(ptc)); 960 memset(&ptc,0,sizeof(ptc));
958 ptc.mask=TCIF_TEXT|TCIF_IMAGE|TCIF_PARAM; 961 ptc.mask=TCIF_TEXT|TCIF_IMAGE|TCIF_PARAM;
959 ptc.pszText=(LPTSTR)(LPCTSTR)l->m_Desc; 962 ptc.pszText=(LPTSTR)(LPCTSTR)l->m_Desc;
960 ptc.iImage=m_iNormal; 963 ptc.iImage=m_iNormal;
961 ptc.lParam=(LPARAM)l; 964 ptc.lParam=(LPARAM)l;
962 int tmp=m_Tabs.InsertItem(m_Tabs.GetItemCount(),&ptc); 965 int tmp=m_Tabs.InsertItem(m_Tabs.GetItemCount(),&ptc);
963 if(l->m_LogTo==CLogger::logToHost) 966 if(l->m_LogTo==CLogger::logToHost)
964 l->LookupHost(this); 967 l->LookupHost(this);
965 } 968 }
966 m_Tabs.SetCurSel(0); 969 m_Tabs.SetCurSel(0);
967 OnSelchangeTabs(NULL,NULL); 970 OnSelchangeTabs(NULL,NULL);
968 m_RemoveCtl.EnableWindow(nCount>1); 971 m_RemoveCtl.EnableWindow(nCount>1);
969 } 972 }
970} 973}
971 974
972void CLogger::Serialize(CArchive& ar) 975void CLogger::Serialize(CArchive& ar)
973{ 976{
974 ASSERT_VALID(this); 977 ASSERT_VALID(this);
975 978
976 ar.MapObject(this); 979 ar.MapObject(this);
977 ar.SerializeClass(RUNTIME_CLASS(CLogger)); 980 ar.SerializeClass(RUNTIME_CLASS(CLogger));
978 981
979 if(ar.IsStoring()){ 982 if(ar.IsStoring()){
980 // Store 983 // Store
981 TRACE0("Store Klogger\n"); 984 TRACE0("Store Klogger\n");
982 ar << m_Desc; 985 ar << m_Desc;
983 ar.Write(&m_LogPattern,sizeof(m_LogPattern)); 986 ar.Write(&m_LogPattern,sizeof(m_LogPattern));
984 ar << m_LogTo; 987 ar << m_LogTo;
985 ar << m_LogToName; 988 ar << m_LogToName;
986 ar << m_Sound; 989 ar << m_Sound;
987 m_Hosts.Serialize(ar); 990 m_Hosts.Serialize(ar);
988 }else{ 991 }else{
989 // Retrieve 992 // Retrieve
990UINT schema = ar.GetObjectSchema(); 993UINT schema = ar.GetObjectSchema();
991#ifndef NDEBUG 994#ifndef NDEBUG
992 { 995 {
993 CString tmp; 996 CString tmp;
994 tmp.Format("Doc-OSchema: %u\n",schema); 997 tmp.Format("Doc-OSchema: %u\n",schema);
995 TRACE0(tmp); 998 TRACE0(tmp);
996 } 999 }
997#endif 1000#endif
998 ar >> m_Desc; 1001 ar >> m_Desc;
999 ar.Read(&m_LogPattern,sizeof(m_LogPattern)); 1002 ar.Read(&m_LogPattern,sizeof(m_LogPattern));
1000 ar >> m_LogTo; 1003 ar >> m_LogTo;
1001 ar >> m_LogToName; 1004 ar >> m_LogToName;
1002 ar >> m_Sound; 1005 ar >> m_Sound;
1003 m_Hosts.Serialize(ar); 1006 m_Hosts.Serialize(ar);
1004 } 1007 }
1005} 1008}
1006 1009
1007void CHostMask::Serialize(CArchive& ar) 1010void CHostMask::Serialize(CArchive& ar)
1008{ 1011{
1009 ASSERT_VALID(this); 1012 ASSERT_VALID(this);
1010 1013
1011 if(ar.IsStoring()){ 1014 if(ar.IsStoring()){
1012 // Store 1015 // Store
1013 ar << m_Host; 1016 ar << m_Host;
1014 ar << m_Mask; 1017 ar << m_Mask;
1015 }else{ 1018 }else{
1016 // Retrieve 1019 // Retrieve
1017 ar >> m_Host; 1020 ar >> m_Host;
1018 ar >> m_Mask; 1021 ar >> m_Mask;
1019 } 1022 }
1020} 1023}
1021 1024
1022void CKLogDlg::OnFilesReset() 1025void CKLogDlg::OnFilesReset()
1023{ 1026{
1024 TotalCleanUp(); 1027 TotalCleanUp();
1025BYTE *pData = NULL; 1028BYTE *pData = NULL;
1026UINT dataLength = 0; 1029UINT dataLength = 0;
1027 if(AfxGetApp()->GetProfileBinary("Layout","Destinations",&pData,&dataLength)){ 1030 if(AfxGetApp()->GetProfileBinary("Layout","Destinations",&pData,&dataLength)){
1028 CMemFile mf(pData,dataLength); 1031 CMemFile mf(pData,dataLength);
1029 CArchive ar(&mf,CArchive::load); 1032 CArchive ar(&mf,CArchive::load);
1030 Serialize(ar); 1033 Serialize(ar);
1031 ar.Close(); 1034 ar.Close();
1032 delete mf.Detach(); 1035 delete mf.Detach();
1033 }else 1036 }else
1034 OnAdd(); 1037 OnAdd();
1035} 1038}
1036 1039
1037void CAboutDlg::OnKlevernet() 1040void CAboutDlg::OnKlevernet()
1038{ 1041{
1039CString url; 1042CString url;
1040 url.LoadString(IDS_KLEVERNET_URL); 1043 url.LoadString(IDS_KLEVERNET_URL);
1041 ShellExecute(::GetDesktopWindow(),"open",url,NULL,NULL,SW_SHOWMAXIMIZED); 1044 ShellExecute(::GetDesktopWindow(),"open",url,NULL,NULL,SW_SHOWMAXIMIZED);
1042} 1045}
1043 1046
1044void CKLogSocket::Log(UINT pri,UINT fac,LPCTSTR line,SOCKADDR_IN *sin) 1047void CKLogSocket::Log(UINT pri,UINT fac,LPCTSTR line,SOCKADDR_IN *sin)
1045{ 1048{
1046CString str = Escape(line); 1049CString str = Escape(line);
1047 m_Daddy->LogMessage(pri,fac,str,sin); 1050 m_Daddy->LogMessage(pri,fac,str,sin);
1048} 1051}
1049 1052
1050void CKLogDlg::LogMessage(UINT pri,UINT fac,LPCTSTR line,SOCKADDR_IN *sin) 1053void CKLogDlg::LogMessage(UINT pri,UINT fac,LPCTSTR line,SOCKADDR_IN *sin)
1051{ 1054{
1052 // Setting up defaults: 1055 // Setting up defaults:
1053UINT ap = pri, af = fac; 1056UINT ap = pri, af = fac;
1054 if(ap>=CSyslogSocket::totalPriorities) 1057 if(ap>=CSyslogSocket::totalPriorities)
1055 ap=CSyslogSocket::priInfo; 1058 ap=CSyslogSocket::priInfo;
1056 if(af>=CSyslogSocket::totalFacilities) 1059 if(af>=CSyslogSocket::totalFacilities)
1057 af=CSyslogSocket::facUser; 1060 af=CSyslogSocket::facUser;
1058POSITION p = m_Logs.GetStartPosition(); 1061POSITION p = m_Logs.GetStartPosition();
1059 while(p){ 1062 while(p){
1060 CLogger *l,*ll; 1063 CLogger *l,*ll;
1061 m_Logs.GetNextAssoc(p,l,ll); 1064 m_Logs.GetNextAssoc(p,l,ll);
1062 ASSERT(l); 1065 ASSERT(l);
1063 ASSERT(l==ll); 1066 ASSERT(l==ll);
1064 if(l->m_LogPattern[af][ap] && l->IsHostFine(sin->sin_addr.s_addr)) 1067 if(l->m_LogPattern[af][ap] && l->IsHostFine(sin->sin_addr.s_addr))
1065 l->LogLine(this,ap,af,line,sin); 1068 l->LogLine(this,ap,af,line,sin);
1066 } 1069 }
1067} 1070}
1068 1071
1069CLogEntry::CLogEntry() 1072CLogEntry::CLogEntry()
1070{ 1073{
1071 m_Time==CTime::GetCurrentTime(); 1074 m_Time==CTime::GetCurrentTime();
1072 m_Priority=CSyslogSocket::priNone; 1075 m_Priority=CSyslogSocket::priNone;
1073 m_Facility=CSyslogSocket::facNone; 1076 m_Facility=CSyslogSocket::facNone;
1074} 1077}
1075 1078
1076BOOL CLogger::IsHostFine(DWORD saddr) 1079BOOL CLogger::IsHostFine(DWORD saddr)
1077{ 1080{
1078 if(m_Hosts.IsEmpty()) 1081 if(m_Hosts.IsEmpty())
1079 return TRUE; 1082 return TRUE;
1080POSITION p = m_Hosts.GetHeadPosition(); 1083POSITION p = m_Hosts.GetHeadPosition();
1081 while(p){ 1084 while(p){
1082 CHostMask *hm = m_Hosts.GetNext(p); 1085 CHostMask *hm = m_Hosts.GetNext(p);
1083 ASSERT(hm); 1086 ASSERT(hm);
1084 if(hm->IsThis(saddr)) 1087 if(hm->IsThis(saddr))
1085 return TRUE; 1088 return TRUE;
1086 } 1089 }
1087 return FALSE; 1090 return FALSE;
1088} 1091}
1089 1092
1090void CLogger::LogLine(CKLogDlg *dad,UINT pri,UINT fac,LPCTSTR line,SOCKADDR_IN *sin) 1093void CLogger::LogLine(CKLogDlg *dad,UINT pri,UINT fac,LPCTSTR line,SOCKADDR_IN *sin)
1091{ 1094{
1092CLogEntry *le = NULL; 1095CLogEntry *le = NULL;
1093 while(m_Log.GetCount()>=dad->m_LogItems){ 1096 while(m_Log.GetCount()>=dad->m_LogItems){
1094 le = m_Log.GetHead(); 1097 le = m_Log.GetHead();
1095 ASSERT(le); 1098 ASSERT(le);
1096 if(dad->m_Logger==this){ 1099 if(dad->m_Logger==this){
1097 ASSERT((CLogEntry*)dad->m_Log.GetItemData(0)==le); 1100 ASSERT((CLogEntry*)dad->m_Log.GetItemData(0)==le);
1098 dad->m_Log.DeleteString(0); 1101 dad->m_Log.DeleteString(0);
1099 } 1102 }
1100 m_Log.RemoveHead(); 1103 m_Log.RemoveHead();
1101 if(m_Log.GetCount()>dad->m_LogItems){ 1104 if(m_Log.GetCount()>dad->m_LogItems){
1102 delete le; 1105 delete le;
1103 le=NULL; 1106 le=NULL;
1104 } 1107 }
1105 } 1108 }
1106 if(!le) 1109 if(!le)
1107 le = new CLogEntry(); 1110 le = new CLogEntry();
1108 ASSERT(le); 1111 ASSERT(le);
1109 le->m_Time=CTime::GetCurrentTime(); 1112 le->m_Time=CTime::GetCurrentTime();
1110 le->m_Priority=pri; 1113 le->m_Priority=pri;
1111 le->m_Facility=fac; 1114 le->m_Facility=fac;
1112 le->m_Data=line; 1115 le->m_Data=line;
1113 le->m_Source=inet_ntoa(sin->sin_addr); 1116 le->m_Source=inet_ntoa(sin->sin_addr);
1114 m_Log.AddTail(le); 1117 m_Log.AddTail(le);
1115 if(dad->m_Logger==this){ 1118 if(dad->m_Logger==this){
1116 dad->AddLogLine(le); 1119 dad->AddLogLine(le);
1117 }else{ 1120 }else{
1118 int c = dad->m_Tabs.GetItemCount(); 1121 int c = dad->m_Tabs.GetItemCount();
1119 ASSERT(c>0); 1122 ASSERT(c>0);
1120 for(int i=0;i<c;i++){ 1123 for(int i=0;i<c;i++){
1121 TC_ITEM ptci; 1124 TC_ITEM ptci;
1122 memset(&ptci,0,sizeof(ptci)); 1125 memset(&ptci,0,sizeof(ptci));
1123 ptci.mask=TCIF_PARAM; 1126 ptci.mask=TCIF_PARAM;
1124 VERIFY(dad->m_Tabs.GetItem(i,&ptci)); 1127 VERIFY(dad->m_Tabs.GetItem(i,&ptci));
1125 CLogger *l = (CLogger*)ptci.lParam; 1128 CLogger *l = (CLogger*)ptci.lParam;
1126 if(l==this){ 1129 if(l==this){
1127 memset(&ptci,0,sizeof(ptci)); 1130 memset(&ptci,0,sizeof(ptci));
1128 ptci.mask=TCIF_IMAGE; 1131 ptci.mask=TCIF_IMAGE;
1129 ptci.iImage=dad->m_iTriggered; 1132 ptci.iImage=dad->m_iTriggered;
1130 VERIFY(dad->m_Tabs.SetItem(i,&ptci)); 1133 VERIFY(dad->m_Tabs.SetItem(i,&ptci));
1131 } 1134 }
1132 } 1135 }
1133 } 1136 }
1134 PlayWave(); 1137 PlayWave();
1135 switch(m_LogTo){ 1138 switch(m_LogTo){
1136 case logToFile: 1139 case logToFile:
1137 if(!m_LogToName.IsEmpty()){ 1140 if(!m_LogToName.IsEmpty()){
1138 TRY{ 1141 TRY{
1139 CFile file(m_LogToName,CFile::modeCreate|CFile::modeNoTruncate|CFile::modeWrite|CFile::shareDenyWrite|CFile::typeBinary); 1142 CFile file(m_LogToName,CFile::modeCreate|CFile::modeNoTruncate|CFile::modeWrite|CFile::shareDenyWrite|CFile::typeBinary);
1140 file.SeekToEnd(); 1143 file.SeekToEnd();
1141 CString tmp = le->m_Time.Format(IDS_LOGFILETIMEFORMAT); 1144 CString tmp = le->m_Time.Format(IDS_LOGFILETIMEFORMAT);
1142 file.Write((LPCTSTR)tmp,tmp.GetLength()); 1145 file.Write((LPCTSTR)tmp,tmp.GetLength());
1143 tmp.Format(IDS_LOGFILESOURCEFORMAT,le->m_Source); 1146 tmp.Format(IDS_LOGFILESOURCEFORMAT,le->m_Source);
1144 file.Write((LPCTSTR)tmp,tmp.GetLength()); 1147 file.Write((LPCTSTR)tmp,tmp.GetLength());
1145 tmp.Format(IDS_LOGFILEPRIFACEFORMAT,CSyslogSocket::m_Facilities[fac],CSyslogSocket::m_Priorities[pri]); 1148 tmp.Format(IDS_LOGFILEPRIFACEFORMAT,CSyslogSocket::m_Facilities[fac],CSyslogSocket::m_Priorities[pri]);
1146 file.Write((LPCTSTR)tmp,tmp.GetLength()); 1149 file.Write((LPCTSTR)tmp,tmp.GetLength());
1147 file.Write(line,strlen(line)); 1150 file.Write(line,strlen(line));
1148 file.Write("\r\n",2); 1151 file.Write("\r\n",2);
1149 file.Close(); 1152 file.Close();
1150 }CATCH(CFileException, e){ 1153 }CATCH(CFileException, e){
1151 #ifndefNDEBUG 1154 #ifndefNDEBUG
1152 afxDump << "Logging error: " << e->m_cause << "\n"; 1155 afxDump << "Logging error: " << e->m_cause << "\n";
1153#endif 1156#endif
1154 }END_CATCH 1157 }END_CATCH
1155 } 1158 }
1156 break; 1159 break;
1157 case logToHost: 1160 case logToHost:
1158 if(m_LogToHost.sin_addr.s_addr!=INADDR_NONE){ 1161 if(m_LogToHost.sin_addr.s_addr!=INADDR_NONE){
1159 CString tmp; 1162 CString tmp;
1160 tmp.Format(IDS_LOGHOSTSOURCEFORMAT,le->m_Source); 1163 tmp.Format(IDS_LOGHOSTSOURCEFORMAT,le->m_Source);
1161 tmp+=line; 1164 tmp+=line;
1162 dad->m_SLS.LogTo(m_LogToHost.sin_addr.s_addr,pri,fac,tmp); 1165 dad->m_SLS.LogTo(m_LogToHost.sin_addr.s_addr,pri,fac,tmp);
1163 } 1166 }
1164 break; 1167 break;
1165 } 1168 }
1166} 1169}
1167 1170
1168CLogEntry& CLogEntry::operator=(CLogEntry& src) 1171CLogEntry& CLogEntry::operator=(CLogEntry& src)
1169{ 1172{
1170 m_Data=src.m_Data; 1173 m_Data=src.m_Data;
1171 m_Facility=src.m_Facility; 1174 m_Facility=src.m_Facility;
1172 m_Priority=src.m_Priority; 1175 m_Priority=src.m_Priority;
1173 m_Source=src.m_Source; 1176 m_Source=src.m_Source;
1174 m_Time=src.m_Time; 1177 m_Time=src.m_Time;
1175 return *this; 1178 return *this;
1176} 1179}
1177 1180
1178CLogEntry::CLogEntry(CLogEntry& src) 1181CLogEntry::CLogEntry(CLogEntry& src)
1179{ 1182{
1180 (*this)=src; 1183 (*this)=src;
1181} 1184}
1182 1185
1183void CKLogDlg::AddLogLine(CLogEntry *le) 1186void CKLogDlg::AddLogLine(CLogEntry *le)
1184{ 1187{
1185 ASSERT(le); 1188 ASSERT(le);
1186int i = m_Log.AddString(le->m_Data); 1189int i = m_Log.AddString(le->m_Data);
1187 m_Log.SetItemData(i,(DWORD)le); 1190 m_Log.SetItemData(i,(DWORD)le);
1188 m_Log.SetCurSel(i); 1191 m_Log.SetCurSel(i);
1189} 1192}
1190 1193
1191BOOL CKLogDlg::PreTranslateMessage(MSG* pMsg) 1194BOOL CKLogDlg::PreTranslateMessage(MSG* pMsg)
1192{ 1195{
1193 // CG: The following block was added by the ToolTips component. 1196 // CG: The following block was added by the ToolTips component.
1194 { 1197 {
1195 // Let the ToolTip process this message. 1198 // Let the ToolTip process this message.
1196 m_tooltip.RelayEvent(pMsg); 1199 m_tooltip.RelayEvent(pMsg);
1197 1200
1198 return CDialog::PreTranslateMessage(pMsg); 1201 return CDialog::PreTranslateMessage(pMsg);
1199 } 1202 }
1200} 1203}
1201 1204
1202void CKLogDlg::OnSelchangeLog() 1205void CKLogDlg::OnSelchangeLog()
1203{ 1206{
1204int i = m_Log.GetCurSel(); 1207int i = m_Log.GetCurSel();
1205 if(i==LB_ERR) 1208 if(i==LB_ERR)
1206 return; 1209 return;
1207CLogEntry *le = (CLogEntry*)m_Log.GetItemData(i); 1210CLogEntry *le = (CLogEntry*)m_Log.GetItemData(i);
1208 ASSERT(le); 1211 ASSERT(le);
1209CString tmp; 1212CString tmp;
1210 tmp.Format(IDS_TIP_LOG, 1213 tmp.Format(IDS_TIP_LOG,
1211 (LPCTSTR)le->m_Time.Format(IDS_LOGTIMEFORMAT), 1214 (LPCTSTR)le->m_Time.Format(IDS_LOGTIMEFORMAT),
1212 (LPCTSTR)le->m_Source, 1215 (LPCTSTR)le->m_Source,
1213 CSyslogSocket::m_Facilities[le->m_Facility], 1216 CSyslogSocket::m_Facilities[le->m_Facility],
1214 CSyslogSocket::m_Priorities[le->m_Priority] 1217 CSyslogSocket::m_Priorities[le->m_Priority]
1215 ); 1218 );
1216 m_tooltip.UpdateTipText(tmp,&m_Log); 1219 m_tooltip.UpdateTipText(tmp,&m_Log);
1217} 1220}
1218 1221
1219int CKLogDlg::OnCreate(LPCREATESTRUCT lpCreateStruct) 1222int CKLogDlg::OnCreate(LPCREATESTRUCT lpCreateStruct)
1220{ 1223{
1221 if (CDialog::OnCreate(lpCreateStruct) == -1) 1224 if (CDialog::OnCreate(lpCreateStruct) == -1)
1222 return -1; 1225 return -1;
1223 1226
1224 if(!m_Trayer->Create(NULL,"PumpKIN TrayIcon",WS_CHILD,CRect(0,0,0,0),this,0)){ 1227 if(!m_Trayer->Create(NULL,"PumpKIN TrayIcon",WS_CHILD,CRect(0,0,0,0),this,0)){
1225 TRACE0("Failed to create trayer\n"); 1228 TRACE0("Failed to create trayer\n");
1226 return -1; 1229 return -1;
1227 } 1230 }
1228 1231
1229NOTIFYICONDATA nid; 1232NOTIFYICONDATA nid;
1230 memset(&nid,0,sizeof(nid)); 1233 memset(&nid,0,sizeof(nid));
1231 nid.cbSize=sizeof(nid); 1234 nid.cbSize=sizeof(nid);
1232 nid.hWnd=m_Trayer->m_hWnd; 1235 nid.hWnd=m_Trayer->m_hWnd;
1233 nid.uID=IDC_TRAYICON; 1236 nid.uID=IDC_TRAYICON;
1234 nid.uFlags=NIF_MESSAGE|NIF_ICON|NIF_TIP; 1237 nid.uFlags=NIF_MESSAGE|NIF_ICON|NIF_TIP;
1235 nid.uCallbackMessage=WM_TRAYICON; 1238 nid.uCallbackMessage=WM_TRAYICON;
1236 nid.hIcon=AfxGetApp()->LoadIcon(IDR_MAINFRAME); 1239 nid.hIcon=AfxGetApp()->LoadIcon(IDR_MAINFRAME);
1237 // *** Load from resource 1240 // *** Load from resource
1238 strcpy(nid.szTip,"KLog"); 1241 strcpy(nid.szTip,"KLog");
1239 VERIFY(Shell_NotifyIcon(NIM_ADD,&nid)); 1242 VERIFY(Shell_NotifyIcon(NIM_ADD,&nid));
1240 1243
1241 return 0; 1244 return 0;
1242} 1245}
1243 1246
1244void CKLogDlg::OnClose() 1247void CKLogDlg::OnClose()
1245{ 1248{
1246 OnTrayShowklogwindow(); 1249 OnTrayShowklogwindow();
1247} 1250}
1248 1251
1249void CKLogDlg::OnTrayAboutklog() 1252void CKLogDlg::OnTrayAboutklog()
1250{ 1253{
1251CAboutDlg dlgAbout; 1254CAboutDlg dlgAbout;
1252 dlgAbout.DoModal(); 1255 dlgAbout.DoModal();
1253} 1256}
1254 1257
1255void CKLogDlg::OnTrayExit() 1258void CKLogDlg::OnTrayExit()
1256{ 1259{
1257 OnExit(); 1260 OnExit();
1258} 1261}
1259 1262
1260void CKLogDlg::OnTrayShowklogwindow() 1263void CKLogDlg::OnTrayShowklogwindow()
1261{ 1264{
1262 if(IsWindowVisible()){ 1265 if(IsWindowVisible()){
1263 m_bShown=FALSE; 1266 m_bShown=FALSE;
1264 ShowWindow(SW_HIDE); 1267 ShowWindow(SW_HIDE);
1265 }else{ 1268 }else{
1266 m_bShown=TRUE; 1269 m_bShown=TRUE;
1267 ShowWindow(SW_SHOW); 1270 ShowWindow(SW_SHOW);
1268 SetForegroundWindow(); 1271 SetForegroundWindow();
1269 SetFocus(); 1272 SetFocus();
1270 } 1273 }
1271} 1274}
1272 1275
1273void CKLogDlg::OnWindowPosChanging(WINDOWPOS FAR* lpwndpos) 1276void CKLogDlg::OnWindowPosChanging(WINDOWPOS FAR* lpwndpos)
1274{ 1277{
1275 CDialog::OnWindowPosChanging(lpwndpos); 1278 CDialog::OnWindowPosChanging(lpwndpos);
1276 1279
1277 if(!m_bExiting){ 1280 if(!m_bExiting){
1278 if(m_bShown){ 1281 if(m_bShown){
1279 lpwndpos->flags&=~SWP_HIDEWINDOW; 1282 lpwndpos->flags&=~SWP_HIDEWINDOW;
1280 lpwndpos->flags|=SWP_SHOWWINDOW; 1283 lpwndpos->flags|=SWP_SHOWWINDOW;
1281 }else{ 1284 }else{
1282 lpwndpos->flags&=~SWP_SHOWWINDOW; 1285 lpwndpos->flags&=~SWP_SHOWWINDOW;
1283 lpwndpos->flags|=SWP_HIDEWINDOW; 1286 lpwndpos->flags|=SWP_HIDEWINDOW;
1284 if(::GetForegroundWindow()==m_hWnd && (m_Trayer && !m_Trayer->m_inMenu)) 1287 if(::GetForegroundWindow()==m_hWnd && (m_Trayer && !m_Trayer->m_inMenu))
1285 GetDesktopWindow()->SetForegroundWindow(); 1288 GetDesktopWindow()->SetForegroundWindow();
1286 } 1289 }
1287 } 1290 }
1288} 1291}
1289 1292
1290void CKLogDlg::LoadSettings() 1293void CKLogDlg::LoadSettings()
1291{ 1294{
1292CWinApp *app = AfxGetApp(); 1295CWinApp *app = AfxGetApp();
1293 ASSERT(app); 1296 ASSERT(app);
1294 m_LogItems=app->GetProfileInt("UISettings","LogLength",m_LogItems); 1297 m_LogItems=app->GetProfileInt("UISettings","LogLength",m_LogItems);
1295 m_bShown=app->GetProfileInt("UISettings","Visible",m_bShown); 1298 m_bShown=app->GetProfileInt("UISettings","Visible",m_bShown);
1296 m_bWarnBlocking=app->GetProfileInt("Resolve","WarnBlocking",m_bWarnBlocking); 1299 m_bWarnBlocking=app->GetProfileInt("Resolve","WarnBlocking",m_bWarnBlocking);
1297 m_bDontWarn=app->GetProfileInt("Resolve","DontWarn",m_bDontWarn); 1300 m_bDontWarn=app->GetProfileInt("Resolve","DontWarn",m_bDontWarn);
1298} 1301}
1299 1302
1300void CKLogDlg::SaveSettings() 1303void CKLogDlg::SaveSettings()
1301{ 1304{
1302CWinApp *app = AfxGetApp(); 1305CWinApp *app = AfxGetApp();
1303 ASSERT(app); 1306 ASSERT(app);
1304 app->WriteProfileInt("UISettings","LogLength",m_LogItems); 1307 app->WriteProfileInt("UISettings","LogLength",m_LogItems);
1305 app->WriteProfileInt("UISettings","Visible",m_bShown); 1308 app->WriteProfileInt("UISettings","Visible",m_bShown);
1306 app->WriteProfileInt("Resolve","WarnBlocking",m_bWarnBlocking); 1309 app->WriteProfileInt("Resolve","WarnBlocking",m_bWarnBlocking);
1307 app->WriteProfileInt("Resolve","DontWarn",m_bDontWarn); 1310 app->WriteProfileInt("Resolve","DontWarn",m_bDontWarn);
1308CMemFile mf(4096); 1311CMemFile mf(4096);
1309CArchive ar(&mf,CArchive::store); 1312CArchive ar(&mf,CArchive::store);
1310 Serialize(ar); 1313 Serialize(ar);
1311 ar.Close(); 1314 ar.Close();
1312DWORD dataLength = mf.GetLength(); 1315DWORD dataLength = mf.GetLength();
1313 if(dataLength&0xFFFF0000l){ 1316 if(dataLength&0xFFFF0000l){
1314 CString tmp; 1317 CString tmp;
1315 tmp.LoadString(IDS_MSG_FAILEDTOSTORE); 1318 tmp.LoadString(IDS_MSG_FAILEDTOSTORE);
1316 MessageBox(tmp,NULL,MB_ICONHAND|MB_OK); 1319 MessageBox(tmp,NULL,MB_ICONHAND|MB_OK);
1317 }else{ 1320 }else{
1318 UINT dl = (UINT)dataLength; 1321 UINT dl = (UINT)dataLength;
1319 BYTE *data = mf.Detach(); 1322 BYTE *data = mf.Detach();
1320 app->WriteProfileBinary("Layout","Destinations",data,dl); 1323 app->WriteProfileBinary("Layout","Destinations",data,dl);
1321 delete data; 1324 delete data;
1322 } 1325 }
1323} 1326}
1324 1327
1325CKLogDlg::~CKLogDlg() 1328CKLogDlg::~CKLogDlg()
1326{ 1329{
1327 delete m_Trayer; 1330 delete m_Trayer;
1328} 1331}
1329 1332
1330void CKLogDlg::OnLogpattern() 1333void CKLogDlg::OnLogpattern()
1331{ 1334{
1332CLogPattern lp(IDS_LOGPATTERN_TITLE,this); 1335CLogPattern lp(IDS_LOGPATTERN_TITLE,this);
1333 memmove(lp.m_Pattern,m_Logger->m_LogPattern,sizeof(lp.m_Pattern)); 1336 memmove(lp.m_Pattern,m_Logger->m_LogPattern,sizeof(lp.m_Pattern));
1334 if(lp.DoModal()==IDOK){ 1337 if(lp.DoModal()==IDOK){
1335 memmove(m_Logger->m_LogPattern,lp.m_Pattern,sizeof(m_Logger->m_LogPattern)); 1338 memmove(m_Logger->m_LogPattern,lp.m_Pattern,sizeof(m_Logger->m_LogPattern));
1336 UpdatePriface(FALSE,TRUE); 1339 UpdatePriface(FALSE,TRUE);
1337 } 1340 }
1338} 1341}
1339 1342
1340void CLogger::LookupHost(CKLogDlg *daddy) 1343void CLogger::LookupHost(CKLogDlg *daddy)
1341{ 1344{
1342 m_LogToHost.sin_addr.s_addr=inet_addr((LPCTSTR)m_LogToName); 1345 m_LogToHost.sin_addr.s_addr=inet_addr((LPCTSTR)m_LogToName);
1343 if(m_LogToHost.sin_addr.s_addr==INADDR_NONE){ 1346 if(m_LogToHost.sin_addr.s_addr==INADDR_NONE){
1344 if(daddy->m_bWarnBlocking){ 1347 if(daddy->m_bWarnBlocking){
1345 CWarnBlocking wb(::IsWindow(daddy->m_hWnd)?daddy:NULL); 1348 CWarnBlocking wb(::IsWindow(daddy->m_hWnd)?daddy:NULL);
1346 wb.m_bDontWarn = daddy->m_bDontWarn; 1349 wb.m_bDontWarn = daddy->m_bDontWarn;
1347 if(wb.DoModal()!=IDOK) 1350 if(wb.DoModal()!=IDOK)
1348 return; 1351 return;
1349 daddy->m_bDontWarn=wb.m_bDontWarn; 1352 daddy->m_bDontWarn=wb.m_bDontWarn;
1350 daddy->m_bWarnBlocking=!wb.m_bDontWarn; 1353 daddy->m_bWarnBlocking=!wb.m_bDontWarn;
1351 } 1354 }
1352 daddy->BeginWaitCursor(); 1355 daddy->BeginWaitCursor();
1353 hostent *he = gethostbyname(m_LogToName); 1356 hostent *he = gethostbyname(m_LogToName);
1354 daddy->EndWaitCursor(); 1357 daddy->EndWaitCursor();
1355 if(he){ 1358 if(he){
1356 m_LogToHost.sin_addr.s_addr = *(DWORD*)he->h_addr; 1359 m_LogToHost.sin_addr.s_addr = *(DWORD*)he->h_addr;
1357 }else{ 1360 }else{
1358 m_LogToHost.sin_addr.s_addr = INADDR_NONE; 1361 m_LogToHost.sin_addr.s_addr = INADDR_NONE;
1359 if(daddy->m_bWarnBlocking){ 1362 if(daddy->m_bWarnBlocking){
1360 CString sux; 1363 CString sux;
1361 sux.Format(IDS_MSG_LOOKUPFAILED,(LPCTSTR)m_LogToName); 1364 sux.Format(IDS_MSG_LOOKUPFAILED,(LPCTSTR)m_LogToName);
1362 daddy->MessageBox(sux,NULL,MB_ICONSTOP|MB_OK); 1365 daddy->MessageBox(sux,NULL,MB_ICONSTOP|MB_OK);
1363 }else 1366 }else
1364 MessageBeep(MB_ICONHAND); 1367 MessageBeep(MB_ICONHAND);
1365 } 1368 }
1366 } 1369 }
1367} 1370}
1371
1372void CKLogDlg::OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI)
1373{
1374 CDialog::OnGetMinMaxInfo(lpMMI);
1375 WINDOWPLACEMENT wp;
1376 if(IsWindow(m_CancelCtl.m_hWnd) && m_CancelCtl.GetWindowPlacement(&wp)) {
1377 CRect wr; GetWindowRect(wr);
1378 CRect cr; GetClientRect(cr);
1379 CSize ncs = (wr-cr).Size();
1380 CRect ctlr = wp.rcNormalPosition;
1381 CSize corner = ctlr.BottomRight()+ncs;
1382 lpMMI->ptMaxTrackSize.x = lpMMI->ptMinTrackSize.x = corner.cx;
1383 lpMMI->ptMinTrackSize.y = corner.cy;
1384 }
1385}
1386
1387void CKLogDlg::OnSize(UINT nType, int cx, int cy)
1388{
1389 CDialog::OnSize(nType, cx, cy);
1390 if(!IsWindow(m_Log.m_hWnd))
1391 return;
1392 WINDOWPLACEMENT lp; m_Log.GetWindowPlacement(&lp);
1393 CRect lr = lp.rcNormalPosition;
1394 lr.bottom = cy-2;
1395 CSize ls = lr.Size();
1396 m_Log.SetWindowPos(0,0,0,ls.cx,ls.cy,SWP_NOACTIVATE|SWP_NOMOVE|SWP_NOOWNERZORDER|SWP_NOZORDER);
1397}
diff --git a/KLogDlg.h b/KLogDlg.h
index f6fed53..043fd30 100644
--- a/KLogDlg.h
+++ b/KLogDlg.h
@@ -1,198 +1,201 @@
1// KLogDlg.h : header file 1// KLogDlg.h : header file
2// 2//
3 3
4///////////////////////////////////////////////////////////////////////////// 4/////////////////////////////////////////////////////////////////////////////
5// CKLogDlg dialog 5// CKLogDlg dialog
6 6
7class CKLogDlg; 7class CKLogDlg;
8class CKLogSocket : public CSyslogSocket { 8class CKLogSocket : public CSyslogSocket {
9public: 9public:
10 CKLogDlg* m_Daddy; 10 CKLogDlg* m_Daddy;
11 virtual void Log(UINT pri,UINT fac,LPCTSTR line,SOCKADDR_IN *sin); 11 virtual void Log(UINT pri,UINT fac,LPCTSTR line,SOCKADDR_IN *sin);
12}; 12};
13 13
14 class CHostMask: public CObject{ 14 class CHostMask: public CObject{
15public: 15public:
16 virtual void Serialize(CArchive& ar); 16 virtual void Serialize(CArchive& ar);
17 DWORDm_Host; 17 DWORDm_Host;
18 DWORDm_Mask; 18 DWORDm_Mask;
19 BOOL IsThis(DWORD host){ return (host&m_Mask)==(m_Host&m_Mask); } 19 BOOL IsThis(DWORD host){ return (host&m_Mask)==(m_Host&m_Mask); }
20 CHostMask(): m_Host(0), m_Mask(0) {} 20 CHostMask(): m_Host(0), m_Mask(0) {}
21 CHostMask(DWORD host,DWORD mask) : m_Host(host), m_Mask(mask) {} 21 CHostMask(DWORD host,DWORD mask) : m_Host(host), m_Mask(mask) {}
22 CString String(); 22 CString String();
23 23
24 DECLARE_SERIAL( CHostMask ) 24 DECLARE_SERIAL( CHostMask )
25}; 25};
26 class CLogEntry: public CObject { 26 class CLogEntry: public CObject {
27public: 27public:
28 CLogEntry(CLogEntry& src); 28 CLogEntry(CLogEntry& src);
29 CLogEntry& operator=(CLogEntry& src); 29 CLogEntry& operator=(CLogEntry& src);
30 CTime m_Time; 30 CTime m_Time;
31 CString m_Source; 31 CString m_Source;
32 CString m_Data; 32 CString m_Data;
33 UINT m_Priority; 33 UINT m_Priority;
34 UINT m_Facility; 34 UINT m_Facility;
35 DECLARE_SERIAL( CLogEntry ) 35 DECLARE_SERIAL( CLogEntry )
36public: 36public:
37 CLogEntry(); 37 CLogEntry();
38}; 38};
39 39
40 typedefCTypedPtrList<CObList,CHostMask*> CAccessList; 40 typedefCTypedPtrList<CObList,CHostMask*> CAccessList;
41typedef CList<CLogEntry*,CLogEntry*> CLog; 41typedef CList<CLogEntry*,CLogEntry*> CLog;
42 42
43 class CLogger : public CObject{ 43 class CLogger : public CObject{
44public: 44public:
45 void LookupHost(CKLogDlg *daddy); 45 void LookupHost(CKLogDlg *daddy);
46 void LogLine(CKLogDlg *dad,UINT pri,UINT fac,LPCTSTR line,SOCKADDR_IN *sin); 46 void LogLine(CKLogDlg *dad,UINT pri,UINT fac,LPCTSTR line,SOCKADDR_IN *sin);
47 BOOL IsHostFine(DWORD saddr); 47 BOOL IsHostFine(DWORD saddr);
48 virtual void Serialize(CArchive& ar); 48 virtual void Serialize(CArchive& ar);
49 virtual ~CLogger(); 49 virtual ~CLogger();
50 void PlayWave(); 50 void PlayWave();
51 CLogger(BOOL bAll=FALSE); 51 CLogger(BOOL bAll=FALSE);
52 CStringm_Desc; 52 CStringm_Desc;
53 enum{ 53 enum{
54 logToFile=0, logToHost=1, logToNone=2, 54 logToFile=0, logToHost=1, logToNone=2,
55 }; 55 };
56 int m_LogTo; 56 int m_LogTo;
57 CStringm_LogToName; 57 CStringm_LogToName;
58 SOCKADDR_IN m_LogToHost; 58 SOCKADDR_IN m_LogToHost;
59 BOOL m_LogPattern[CSyslogSocket::totalFacilities][CSyslogSocket::totalPriorities]; 59 BOOL m_LogPattern[CSyslogSocket::totalFacilities][CSyslogSocket::totalPriorities];
60 CAccessList m_Hosts; 60 CAccessList m_Hosts;
61 CStringm_Sound; 61 CStringm_Sound;
62 CLog m_Log; 62 CLog m_Log;
63 DECLARE_SERIAL( CLogger ) 63 DECLARE_SERIAL( CLogger )
64}; 64};
65 65
66typedef CMap<CLogger*,CLogger*,CLogger*,CLogger*> CLoggers; 66typedef CMap<CLogger*,CLogger*,CLogger*,CLogger*> CLoggers;
67 67
68class CTrayer; 68class CTrayer;
69class CKLogDlg : public CDialog 69class CKLogDlg : public CDialog
70{ 70{
71// Construction 71// Construction
72public: 72public:
73 BOOL m_bDontWarn; 73 BOOL m_bDontWarn;
74 BOOL m_bWarnBlocking; 74 BOOL m_bWarnBlocking;
75 CSyslogSocket m_SLS; 75 CSyslogSocket m_SLS;
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;
140 CStringm_hlMask; 141 CStringm_hlMask;
141 CStringm_Sound; 142 CStringm_Sound;
142 //}}AFX_DATA 143 //}}AFX_DATA
143 144
144 // ClassWizard generated virtual function overrides 145 // ClassWizard generated virtual function overrides
145 //{{AFX_VIRTUAL(CKLogDlg) 146 //{{AFX_VIRTUAL(CKLogDlg)
146 protected: 147 protected:
147 virtual void DoDataExchange(CDataExchange* pDX);// DDX/DDV support 148 virtual void DoDataExchange(CDataExchange* pDX);// DDX/DDV support
148 //}}AFX_VIRTUAL 149 //}}AFX_VIRTUAL
149 150
150// Implementation 151// Implementation
151protected: 152protected:
152 CToolTipCtrl m_tooltip; 153 CToolTipCtrl m_tooltip;
153 HICON m_hIcon; 154 HICON m_hIcon;
154 155
155 // Generated message map functions 156 // Generated message map functions
156 //{{AFX_MSG(CKLogDlg) 157 //{{AFX_MSG(CKLogDlg)
157 virtual BOOL OnInitDialog(); 158 virtual BOOL OnInitDialog();
158 afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 159 afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
159 afx_msg void OnDestroy(); 160 afx_msg void OnDestroy();
160 afx_msg void OnPaint(); 161 afx_msg void OnPaint();
161 afx_msg HCURSOR OnQueryDragIcon(); 162 afx_msg HCURSOR OnQueryDragIcon();
162 afx_msg void OnAdd(); 163 afx_msg void OnAdd();
163 afx_msg void OnSelchangeTabs(NMHDR* pNMHDR, LRESULT* pResult); 164 afx_msg void OnSelchangeTabs(NMHDR* pNMHDR, LRESULT* pResult);
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};
diff --git a/help/klog.rtf b/help/klog.rtf
index 9531c73..0f72570 100644
--- a/help/klog.rtf
+++ b/help/klog.rtf
@@ -1,65 +1,67 @@
1{\rtf1\ansi 1{\rtf1\ansi
2@{\footnote 2@{\footnote
3THIS FILE WAS AUTOMATICALLY GENERATED FROM XML DOCUMENT. 3THIS FILE WAS AUTOMATICALLY GENERATED FROM XML DOCUMENT.
4DO NOT MODIFY THIS FILE DIRECTLY. EDIT XML DOCUMENT INSTEAD 4DO NOT MODIFY THIS FILE DIRECTLY. EDIT XML DOCUMENT INSTEAD
5} 5}
6{\fonttbl{\f0\froman Times New Roman;}{\f1\fswiss Arial;}{\f3\froman Symbol;}}{\colortbl; 6{\fonttbl{\f0\froman Times New Roman;}{\f1\fswiss Arial;}{\f3\froman Symbol;}}{\colortbl;
7 \red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0; 7 \red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;
8 \red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255; 8 \red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;
9 \red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128; 9 \red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128;
10 \red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;} 10 \red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;}
11 11
12\pard\plain\keepn 12\pard\plain\keepn
13#{\footnote About} 13#{\footnote About}
14${\footnote About KLog} 14${\footnote About KLog}
15{ \f1\fs18\b\sb120 Abotu {\b KLog}} 15{ \f1\fs18\b\sb120 Abotu {\b KLog}}
16\par\sa120\sb120\qj\pard \f1\fs18\sb120 {\b KLog} is our {\i Win32} implementation of {\b\cf6 *nix}{\i syslog} daemon to support remote logging of messages from {\b\cf6 unix} servers, routers, terminal servers and other syslog-enabled devices/applications. 16\par\sa120\sb120\qj\pard \f1\fs18\sb120 {\b KLog} is our {\i Win32} implementation of {\b\cf6 *nix}{\i syslog} daemon to support remote logging of messages from {\b\cf6 unix} servers, routers, terminal servers and other syslog-enabled devices/applications.
17\par\sa120\sb120\qj\pard \f1\fs18\sb120 17\par\sa120\sb120\qj\pard \f1\fs18\sb120
18\par\sa120\sb120\qj\pard \f1\fs18\sb120 {\b {\i Enjoy!}} 18\par\sa120\sb120\qj\pard \f1\fs18\sb120 {\b {\i Enjoy!}}
19{ 19{
20\par\pard\plain\sb360\sa120 \f1\fs16 Copyright (c) 1998-2004 {\uldb\cf0 Klever Group (http://www.klever.net/)}{\v %!ExecFile("http://www.klever.net/")} 20\par\pard\plain\sb360\sa120 \f1\fs16 Copyright (c) 1998-2005 {\uldb\cf0 Klever Group (http://www.klever.net/)}{\v %!ExecFile("http://www.klever.net/")}
21\par\qj\sb120\sa120Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 21\par\qj\sb120\sa120Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
22\par The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 22\par The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
23\par \sa360 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23\par \sa360 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24} 24}
25\par \sa0\sb120\ql \f1\fs16 Author: {\b\uldb\cf11 Michael Krelin ({\i hacker@klever.net})}{\v %!ExecFile("mailto:hacker@klever.net")} 25\par \sa0\sb120\ql \f1\fs16 Author: {\b\uldb\cf11 Michael Krelin ({\i hacker@klever.net})}{\v %!ExecFile("mailto:hacker@klever.net")}
26\par \sa0\sb0 Fan mail send to {\i\uldb gefilte@klever.net}{\v %!ExecFile("mailto:gefilte@klever.net")} 26\par \sa0\sb0 Fan mail send to {\i\uldb gefilte@klever.net}{\v %!ExecFile("mailto:gefilte@klever.net")}
27\page 27\page
28 28
29\pard\plain 29\pard\plain
30#{\footnote News} 30#{\footnote News}
31${\footnote What's New} 31${\footnote What's New}
32\par\pard\plain\f1\fs24\qc\cf2\b 1.1.1-trunk -
33\par\pard\plain\fi0\li0\f1\fs18 \bullet Added vertical resizability
32\par\pard\plain\f1\fs24\qc\cf2\b 1.1 - July 11th, 2004 34\par\pard\plain\f1\fs24\qc\cf2\b 1.1 - July 11th, 2004
33\par\pard\plain\fi0\li0\f1\fs18 \bullet Change of license and opening the source code 35\par\pard\plain\fi0\li0\f1\fs18 \bullet Change of license and opening the source code
34\par\pard\plain\fi0\li0\f1\fs18 \bullet Minor changes in code, mostly bugfixes 36\par\pard\plain\fi0\li0\f1\fs18 \bullet Minor changes in code, mostly bugfixes
35\page 37\page
36 38
37\pard\plain\keepn 39\pard\plain\keepn
38#{\footnote Using} 40#{\footnote Using}
39${\footnote Using KLog} 41${\footnote Using KLog}
40{ \f1\fs18\b\sb120 Using {\b KLog}} 42{ \f1\fs18\b\sb120 Using {\b KLog}}
41\par\sa120\sb120\qj\pard \f1\fs18\sb120 When you start {\b KLog} for the first time it is set to the configuration in which it will silently catch all incoming messages and display them in the log window. Scroll length in initial configuration is set to 15 lines. To learn how to modify this initial configuration you may want to proceed to the {\uldb Main Window}{\v MainWindow} section. 43\par\sa120\sb120\qj\pard \f1\fs18\sb120 When you start {\b KLog} for the first time it is set to the configuration in which it will silently catch all incoming messages and display them in the log window. Scroll length in initial configuration is set to 15 lines. To learn how to modify this initial configuration you may want to proceed to the {\uldb Main Window}{\v MainWindow} section.
42\page 44\page
43 45
44\pard\plain\keepn 46\pard\plain\keepn
45#{\footnote MainWindow} 47#{\footnote MainWindow}
46${\footnote Main Window} 48${\footnote Main Window}
47{ \f1\fs18\b\sb120 Main Window} 49{ \f1\fs18\b\sb120 Main Window}
48\par\sa120\sb120\qj\pard \f1\fs18\sb120 Essentially, main window is a tabbed collection of 'Destinations'. For each destination you can set the destination itself, events criteria and sound {\b KLog} will produce when triggered by event matching criteria. 50\par\sa120\sb120\qj\pard \f1\fs18\sb120 Essentially, main window is a tabbed collection of 'Destinations'. For each destination you can set the destination itself, events criteria and sound {\b KLog} will produce when triggered by event matching criteria.
49\par\sa120\sb120\qj\pard \f1\fs18\sb120 Each tab consists of following fields:\pard 51\par\sa120\sb120\qj\pard \f1\fs18\sb120 Each tab consists of following fields:\pard
50\par \fi0\li0 \bullet {\b Short description} - short descriptive text appearing on the tab on top of window. 52\par \fi0\li0 \bullet {\b Short description} - short descriptive text appearing on the tab on top of window.
51\par \fi0\li0 \bullet {\b Log to File/Log to Host/Don't Log radio buttons} - let you specify where to forward the events matching criteria below. 53\par \fi0\li0 \bullet {\b Log to File/Log to Host/Don't Log radio buttons} - let you specify where to forward the events matching criteria below.
52\par \fi0\li0 \bullet {\b File/Host name} - Either file name for logging or host name to forward syslog messages to. (note: host address lookups are performed by blocking call, so if you it takes time to resolve host from it's name {\b Klog} may seem to lock up for a while) 54\par \fi0\li0 \bullet {\b File/Host name} - Either file name for logging or host name to forward syslog messages to. (note: host address lookups are performed by blocking call, so if you it takes time to resolve host from it's name {\b Klog} may seem to lock up for a while)
53\par \fi0\li0 \bullet {\b IP/mask pairs list} - lets you enter ip address/netmask pairs to specify access list for this destination. If none are entered \endash all hosts activities are logged into selected destination. 55\par \fi0\li0 \bullet {\b IP/mask pairs list} - lets you enter ip address/netmask pairs to specify access list for this destination. If none are entered \endash all hosts activities are logged into selected destination.
54\par \fi0\li0 \bullet {\b Facility/priority pattern} - may be set in two ways: either by selecting desired facility from the dropdown list and check appropriate priorities and repeat this procedure for every facility or by clicking '{\uldb edit logging pattern}{\v Pattern}' button and use the dialog box to edit logging pattern. If you have experience with logging you don't need any explanation about logging facilities/priorities what are they all about and why do you need them. If you don't, then you, probably, don't need {\b KLog}. 56\par \fi0\li0 \bullet {\b Facility/priority pattern} - may be set in two ways: either by selecting desired facility from the dropdown list and check appropriate priorities and repeat this procedure for every facility or by clicking '{\uldb edit logging pattern}{\v Pattern}' button and use the dialog box to edit logging pattern. If you have experience with logging you don't need any explanation about logging facilities/priorities what are they all about and why do you need them. If you don't, then you, probably, don't need {\b KLog}.
55\par \fi0\li0 \bullet {\b Sound to play when triggered} - whenever event is logged using current destination {\b KLog} may produce the sound to make you aware of its activity. You can select any preset sound or specify your own wave file. 57\par \fi0\li0 \bullet {\b Sound to play when triggered} - whenever event is logged using current destination {\b KLog} may produce the sound to make you aware of its activity. You can select any preset sound or specify your own wave file.
56\par \fi0\li0 \bullet {\b Log window} - shows recent activity.\pard 58\par \fi0\li0 \bullet {\b Log window} - shows recent activity.\pard
57\page 59\page
58 60
59\pard\plain\keepn 61\pard\plain\keepn
60#{\footnote Pattern} 62#{\footnote Pattern}
61${\footnote Edit Logging Pattern} 63${\footnote Edit Logging Pattern}
62{ \f1\fs18\b\sb120 Edit Logging Pattern Dialog} 64{ \f1\fs18\b\sb120 Edit Logging Pattern Dialog}
63\par\sa120\sb120\qj\pard \f1\fs18\sb120 Use this tabbed dialog to edit your logging pattern. Logging facilities are separated into three tabs for your convenience. Use top/left rows of buttons to turn a whole bunch of priorities/facilities, bottom/right rows of buttons to toggle the whole column/row, or simply turn on/off individual facility/priority pairs. 65\par\sa120\sb120\qj\pard \f1\fs18\sb120 Use this tabbed dialog to edit your logging pattern. Logging facilities are separated into three tabs for your convenience. Use top/left rows of buttons to turn a whole bunch of priorities/facilities, bottom/right rows of buttons to toggle the whole column/row, or simply turn on/off individual facility/priority pairs.
64\page 66\page
65} \ No newline at end of file 67} \ No newline at end of file
diff --git a/help/klog.xml b/help/klog.xml
index 830b297..08daf61 100644
--- a/help/klog.xml
+++ b/help/klog.xml
@@ -1,39 +1,42 @@
1<?xml version="1.0"?> 1<?xml version="1.0"?>
2<winhelp> 2<winhelp>
3 <topic id="About" title="About KLog"> 3 <topic id="About" title="About KLog">
4 <heading scroll="no">Abotu <kin>KLog</kin></heading> 4 <heading scroll="no">Abotu <kin>KLog</kin></heading>
5 <p><kin>KLog</kin> is our <term>Win32</term> implementation of <product>*nix</product> <term>syslog</term> daemon to support remote logging of messages from <product>unix</product> servers, routers, terminal servers and other syslog-enabled devices/applications.</p> 5 <p><kin>KLog</kin> is our <term>Win32</term> implementation of <product>*nix</product> <term>syslog</term> daemon to support remote logging of messages from <product>unix</product> servers, routers, terminal servers and other syslog-enabled devices/applications.</p>
6 <p/> 6 <p/>
7 <p><b><i>Enjoy!</i></b></p> 7 <p><b><i>Enjoy!</i></b></p>
8 <license years="1998-2004"/> 8 <license years="1998-2005"/>
9 <credits/> 9 <credits/>
10 </topic> 10 </topic>
11 <topic id="News" title="What's New"> 11 <topic id="News" title="What's New">
12 <newsfor version="1.1.1-trunk">
13 <ni>Added vertical resizability</ni>
14 </newsfor>
12 <newsfor version="1.1" date="July 11th, 2004"> 15 <newsfor version="1.1" date="July 11th, 2004">
13 <ni>Change of license and opening the source code</ni> 16 <ni>Change of license and opening the source code</ni>
14 <ni>Minor changes in code, mostly bugfixes</ni> 17 <ni>Minor changes in code, mostly bugfixes</ni>
15 </newsfor> 18 </newsfor>
16 </topic> 19 </topic>
17 <topic id="Using" title="Using KLog"> 20 <topic id="Using" title="Using KLog">
18 <heading scroll="no">Using <kin>KLog</kin></heading> 21 <heading scroll="no">Using <kin>KLog</kin></heading>
19 <p>When you start <kin>KLog</kin> for the first time it is set to the configuration in which it will silently catch all incoming messages and display them in the log window. Scroll length in initial configuration is set to 15 lines. To learn how to modify this initial configuration you may want to proceed to the <a href="#MainWindow">Main Window</a> section.</p> 22 <p>When you start <kin>KLog</kin> for the first time it is set to the configuration in which it will silently catch all incoming messages and display them in the log window. Scroll length in initial configuration is set to 15 lines. To learn how to modify this initial configuration you may want to proceed to the <a href="#MainWindow">Main Window</a> section.</p>
20 </topic> 23 </topic>
21 <topic id="MainWindow" title="Main Window"> 24 <topic id="MainWindow" title="Main Window">
22 <heading scroll="no">Main Window</heading> 25 <heading scroll="no">Main Window</heading>
23 <p>Essentially, main window is a tabbed collection of 'Destinations'. For each destination you can set the destination itself, events criteria and sound <kin>KLog</kin> will produce when triggered by event matching criteria.</p> 26 <p>Essentially, main window is a tabbed collection of 'Destinations'. For each destination you can set the destination itself, events criteria and sound <kin>KLog</kin> will produce when triggered by event matching criteria.</p>
24 <p>Each tab consists of following fields:</p> 27 <p>Each tab consists of following fields:</p>
25 <ul> 28 <ul>
26 <li><b>Short description</b> - short descriptive text appearing on the tab on top of window.</li> 29 <li><b>Short description</b> - short descriptive text appearing on the tab on top of window.</li>
27 <li><b>Log to File/Log to Host/Don't Log radio buttons</b> - let you specify where to forward the events matching criteria below.</li> 30 <li><b>Log to File/Log to Host/Don't Log radio buttons</b> - let you specify where to forward the events matching criteria below.</li>
28 <li><b>File/Host name</b> - Either file name for logging or host name to forward syslog messages to. (note: host address lookups are performed by blocking call, so if you it takes time to resolve host from it's name <kin>Klog</kin> may seem to lock up for a while)</li> 31 <li><b>File/Host name</b> - Either file name for logging or host name to forward syslog messages to. (note: host address lookups are performed by blocking call, so if you it takes time to resolve host from it's name <kin>Klog</kin> may seem to lock up for a while)</li>
29 <li><b>IP/mask pairs list</b> - lets you enter ip address/netmask pairs to specify access list for this destination. If none are entered \endash all hosts activities are logged into selected destination.</li> 32 <li><b>IP/mask pairs list</b> - lets you enter ip address/netmask pairs to specify access list for this destination. If none are entered \endash all hosts activities are logged into selected destination.</li>
30 <li><b>Facility/priority pattern</b> - may be set in two ways: either by selecting desired facility from the dropdown list and check appropriate priorities and repeat this procedure for every facility or by clicking '<a href="#Pattern">edit logging pattern</a>' button and use the dialog box to edit logging pattern. If you have experience with logging you don't need any explanation about logging facilities/priorities what are they all about and why do you need them. If you don't, then you, probably, don't need <kin>KLog</kin>.</li> 33 <li><b>Facility/priority pattern</b> - may be set in two ways: either by selecting desired facility from the dropdown list and check appropriate priorities and repeat this procedure for every facility or by clicking '<a href="#Pattern">edit logging pattern</a>' button and use the dialog box to edit logging pattern. If you have experience with logging you don't need any explanation about logging facilities/priorities what are they all about and why do you need them. If you don't, then you, probably, don't need <kin>KLog</kin>.</li>
31 <li><b>Sound to play when triggered</b> - whenever event is logged using current destination <kin>KLog</kin> may produce the sound to make you aware of its activity. You can select any preset sound or specify your own wave file.</li> 34 <li><b>Sound to play when triggered</b> - whenever event is logged using current destination <kin>KLog</kin> may produce the sound to make you aware of its activity. You can select any preset sound or specify your own wave file.</li>
32 <li><b>Log window</b> - shows recent activity.</li> 35 <li><b>Log window</b> - shows recent activity.</li>
33 </ul> 36 </ul>
34 </topic> 37 </topic>
35 <topic id="Pattern" title="Edit Logging Pattern"> 38 <topic id="Pattern" title="Edit Logging Pattern">
36 <heading scroll="no">Edit Logging Pattern Dialog</heading> 39 <heading scroll="no">Edit Logging Pattern Dialog</heading>
37 <p>Use this tabbed dialog to edit your logging pattern. Logging facilities are separated into three tabs for your convenience. Use top/left rows of buttons to turn a whole bunch of priorities/facilities, bottom/right rows of buttons to toggle the whole column/row, or simply turn on/off individual facility/priority pairs.</p> 40 <p>Use this tabbed dialog to edit your logging pattern. Logging facilities are separated into three tabs for your convenience. Use top/left rows of buttons to turn a whole bunch of priorities/facilities, bottom/right rows of buttons to toggle the whole column/row, or simply turn on/off individual facility/priority pairs.</p>
38 </topic> 41 </topic>
39</winhelp> 42</winhelp>
diff --git a/install/install.cpp b/install/install.cpp
index c0e0bb8..81d5a7e 100644
--- a/install/install.cpp
+++ b/install/install.cpp
@@ -1,70 +1,70 @@
1#include "resource.h" 1#include "resource.h"
2#include "../shared-code/install.h" 2#include "../shared-code/install.h"
3 3
4 #define KINAME"KLog 1.1" 4 #define KINAME"KLog 1.1.1-trunk"
5 #define SKINAME"KLog" 5 #define SKINAME"KLog"
6 6
7BOOL Install(void) 7BOOL Install(void)
8{ 8{
9STRING dPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group", SKINAME "Path"); 9STRING dPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group", SKINAME "Path");
10STRING kPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath"); 10STRING kPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath");
11LPCSTR qPath = ((LPCSTR)dPath)?(LPCSTR)dPath:(((LPCSTR)kPath)?(LPSTR)kPath:"C:\\Program Files\\Klever\\Nothings"); 11LPCSTR qPath = ((LPCSTR)dPath)?(LPCSTR)dPath:(((LPCSTR)kPath)?(LPSTR)kPath:"C:\\Program Files\\Klever\\Nothings");
12STRING path = REQUESTPATH(" " KINAME,"\nEnter destination path:",qPath); 12STRING path = REQUESTPATH(" " KINAME,"\nEnter destination path:",qPath);
13 if(!path) 13 if(!path)
14 return NULL; 14 return NULL;
15 #ifdefK_ANNED 15 #ifdefK_ANNED
16STRING sysDir(_MAX_PATH); 16STRING sysDir(_MAX_PATH);
17 GetSystemDirectory(sysDir,_MAX_PATH); 17 GetSystemDirectory(sysDir,_MAX_PATH);
18 INSTALLFILE("mfc42.dl_",sysDir,"mfc42.dll"); 18 INSTALLFILE("mfc42.dl_",sysDir,"mfc42.dll");
19#endif 19#endif
20 20
21 MAKE_PATH(path); 21 MAKE_PATH(path);
22STRING shortPath = GET_SHORT_PATH(path); 22STRING shortPath = GET_SHORT_PATH(path);
23 if(!shortPath){ 23 if(!shortPath){
24 MessageBox(NULL,"Failed to install " KINAME " in specified directory",NULL,MB_ICONERROR|MB_OK); 24 MessageBox(NULL,"Failed to install " KINAME " in specified directory",NULL,MB_ICONERROR|MB_OK);
25 return FALSE; 25 return FALSE;
26 } 26 }
27 27
28 if(!( 28 if(!(
29 INSTALLFILE(SKINAME ".ex_",path, SKINAME ".exe") && 29 INSTALLFILE(SKINAME ".ex_",path, SKINAME ".exe") &&
30 INSTALLFILE(SKINAME ".hl_",path, SKINAME ".hlp") && 30 INSTALLFILE(SKINAME ".hl_",path, SKINAME ".hlp") &&
31 INSTALLFILE(SKINAME ".cn_",path, SKINAME ".cnt") 31 INSTALLFILE(SKINAME ".cn_",path, SKINAME ".cnt")
32 )){ 32 )){
33 MessageBox(NULL,"Failed to install " KINAME "in specified directory",NULL,MB_ICONERROR|MB_OK); 33 MessageBox(NULL,"Failed to install " KINAME "in specified directory",NULL,MB_ICONERROR|MB_OK);
34 return FALSE; 34 return FALSE;
35 } 35 }
36 36
37 ADDMENU("Klever Group",SKINAME,path,SKINAME ".exe"); 37 ADDMENU("Klever Group",SKINAME,path,SKINAME ".exe");
38 strSET_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group",SKINAME "Path",path); 38 strSET_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group",SKINAME "Path",path);
39 strSET_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath",path); 39 strSET_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath",path);
40 40
41FILE* inf=CREATE_INF_FILE(path,SKINAME ".INF"); 41FILE* inf=CREATE_INF_FILE(path,SKINAME ".INF");
42 if(!inf){ 42 if(!inf){
43 MessageBox(NULL,"Failed to install " KINAME,NULL,MB_ICONERROR|MB_OK); 43 MessageBox(NULL,"Failed to install " KINAME,NULL,MB_ICONERROR|MB_OK);
44 return FALSE; 44 return FALSE;
45 45
46 } 46 }
47 47
48 INF_FILE_HEADER(inf); 48 INF_FILE_HEADER(inf);
49 INF_FILE_SECTION(inf,"Uninstall"); 49 INF_FILE_SECTION(inf,"Uninstall");
50 fprintf(inf,"AddReg=kFiles\nDelReg=kReg\nUpdateInis=kMenu\n"); 50 fprintf(inf,"AddReg=kFiles\nDelReg=kReg\nUpdateInis=kMenu\n");
51 51
52 INF_FILE_SECTION(inf,"kFiles"); 52 INF_FILE_SECTION(inf,"kFiles");
53 INF_REMOVE_ROOT(inf,SKINAME "Files",shortPath); 53 INF_REMOVE_ROOT(inf,SKINAME "Files",shortPath);
54 INF_REMOVE_FILE(inf,SKINAME "Files",SKINAME ".exe"); 54 INF_REMOVE_FILE(inf,SKINAME "Files",SKINAME ".exe");
55 INF_REMOVE_HELP_FILE(inf,SKINAME "Files",SKINAME); 55 INF_REMOVE_HELP_FILE(inf,SKINAME "Files",SKINAME);
56 INF_REMOVE_FILE(inf,SKINAME "Files",SKINAME ".inf"); 56 INF_REMOVE_FILE(inf,SKINAME "Files",SKINAME ".inf");
57 57
58 INF_FILE_SECTION(inf,"kReg"); 58 INF_FILE_SECTION(inf,"kReg");
59 INF_UNINSTALL_REG(inf,SKINAME); 59 INF_UNINSTALL_REG(inf,SKINAME);
60 60
61 INF_FILE_SECTION(inf,"kMenu"); 61 INF_FILE_SECTION(inf,"kMenu");
62 INF_MENU_GROUP(inf,1,"Klever Group"); 62 INF_MENU_GROUP(inf,1,"Klever Group");
63 INF_MENU_ITEM(inf,1,SKINAME); 63 INF_MENU_ITEM(inf,1,SKINAME);
64 fclose(inf); 64 fclose(inf);
65 REG_UNINSTALL_COMMAND(SKINAME,"Klever " KINAME,shortPath,SKINAME ".INF","Uninstall"); 65 REG_UNINSTALL_COMMAND(SKINAME,"Klever " KINAME,shortPath,SKINAME ".INF","Uninstall");
66 66
67 MessageBox(NULL,KINAME " installed successfully, you may now run it from 'Programs/Klever Group' menu, move it to your Startup group or remove it using Control Panel Add/Remove Programs applet."," Rejoice!",MB_ICONINFORMATION|MB_OK); 67 MessageBox(NULL,KINAME " installed successfully, you may now run it from 'Programs/Klever Group' menu, move it to your Startup group or remove it using Control Panel Add/Remove Programs applet."," Rejoice!",MB_ICONINFORMATION|MB_OK);
68 68
69 return TRUE; 69 return TRUE;
70} 70}
diff --git a/install/install.rc b/install/install.rc
index 6a3fd3e..cee7f66 100644
--- a/install/install.rc
+++ b/install/install.rc
@@ -1,182 +1,182 @@
1//Microsoft Developer Studio generated resource script. 1//Microsoft Developer Studio generated resource script.
2// 2//
3#include "resource.h" 3#include "resource.h"
4 4
5#define APSTUDIO_READONLY_SYMBOLS 5#define APSTUDIO_READONLY_SYMBOLS
6///////////////////////////////////////////////////////////////////////////// 6/////////////////////////////////////////////////////////////////////////////
7// 7//
8// Generated from the TEXTINCLUDE 2 resource. 8// Generated from the TEXTINCLUDE 2 resource.
9// 9//
10#include "afxres.h" 10#include "afxres.h"
11 11
12///////////////////////////////////////////////////////////////////////////// 12/////////////////////////////////////////////////////////////////////////////
13#undef APSTUDIO_READONLY_SYMBOLS 13#undef APSTUDIO_READONLY_SYMBOLS
14 14
15///////////////////////////////////////////////////////////////////////////// 15/////////////////////////////////////////////////////////////////////////////
16// English (U.S.) resources 16// English (U.S.) resources
17 17
18#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) 18#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
19#ifdef _WIN32 19#ifdef _WIN32
20LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US 20LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
21#pragma code_page(1252) 21#pragma code_page(1252)
22#endif //_WIN32 22#endif //_WIN32
23 23
24///////////////////////////////////////////////////////////////////////////// 24/////////////////////////////////////////////////////////////////////////////
25// 25//
26// Dialog 26// Dialog
27// 27//
28 28
29#if defined(APSTUDIO_INVOKED) || defined(FALSE) 29#if defined(APSTUDIO_INVOKED) || defined(FALSE)
30#if defined(APSTUDIO_INVOKED) 30#if defined(APSTUDIO_INVOKED)
31IDD_INSTALLING$(FALSE) DIALOGEX 0, 0, 200, 74 31IDD_INSTALLING$(FALSE) DIALOGEX 0, 0, 200, 74
32#else 32#else
33IDD_INSTALLING DIALOGEX 0, 0, 200, 74 33IDD_INSTALLING DIALOGEX 0, 0, 200, 74
34#endif 34#endif
35STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP 35STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP
36FONT 8, "MS Sans Serif", 0, 0, 0x1 36FONT 8, "MS Sans Serif", 0, 0, 0x1
37BEGIN 37BEGIN
38 PUSHBUTTON "Cancel",IDCANCEL,143,53,50,14,BS_CENTER | BS_VCENTER | 38 PUSHBUTTON "Cancel",IDCANCEL,143,53,50,14,BS_CENTER | BS_VCENTER |
39 BS_NOTIFY | BS_FLAT,WS_EX_DLGMODALFRAME 39 BS_NOTIFY | BS_FLAT,WS_EX_DLGMODALFRAME
40 CONTROL "Animate1",IDC_DISKS,"SysAnimate32",ACS_TRANSPARENT | 40 CONTROL "Animate1",IDC_DISKS,"SysAnimate32",ACS_TRANSPARENT |
41 ACS_AUTOPLAY | WS_TABSTOP,161,7,32,32 41 ACS_AUTOPLAY | WS_TABSTOP,161,7,32,32
42 LTEXT "",IDC_STATE,7,7,150,32,SS_NOPREFIX | SS_NOTIFY 42 LTEXT "",IDC_STATE,7,7,150,32,SS_NOPREFIX | SS_NOTIFY
43 CONTROL "Progress1",IDC_PROGRESS,"msctls_progress32",0x0,7,45, 43 CONTROL "Progress1",IDC_PROGRESS,"msctls_progress32",0x0,7,45,
44 186,7,WS_EX_DLGMODALFRAME 44 186,7,WS_EX_DLGMODALFRAME
45END 45END
46#endif 46#endif
47 47
48IDD_PATH DIALOGEX 0, 0, 255, 73 48IDD_PATH DIALOGEX 0, 0, 255, 73
49STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | DS_CENTER | WS_POPUP | 49STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | DS_CENTER | WS_POPUP |
50 WS_VISIBLE | WS_CAPTION 50 WS_VISIBLE | WS_CAPTION
51EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE 51EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE
52FONT 8, "MS Sans Serif", 0, 0, 0x1 52FONT 8, "MS Sans Serif", 0, 0, 0x1
53BEGIN 53BEGIN
54 LTEXT "",IDC_PROMPT,7,7,241,30 54 LTEXT "",IDC_PROMPT,7,7,241,30
55 EDITTEXT IDC_PATH,7,37,195,12,ES_AUTOHSCROLL 55 EDITTEXT IDC_PATH,7,37,195,12,ES_AUTOHSCROLL
56 PUSHBUTTON "B&rowse..",IDC_BROWSE,208,37,40,12 56 PUSHBUTTON "B&rowse..",IDC_BROWSE,208,37,40,12
57 DEFPUSHBUTTON "OK",IDOK,69,52,50,14 57 DEFPUSHBUTTON "OK",IDOK,69,52,50,14
58 PUSHBUTTON "Cancel",IDCANCEL,135,52,50,14 58 PUSHBUTTON "Cancel",IDCANCEL,135,52,50,14
59END 59END
60 60
61 61
62///////////////////////////////////////////////////////////////////////////// 62/////////////////////////////////////////////////////////////////////////////
63// 63//
64// DESIGNINFO 64// DESIGNINFO
65// 65//
66 66
67#ifdef APSTUDIO_INVOKED 67#ifdef APSTUDIO_INVOKED
68GUIDELINES DESIGNINFO DISCARDABLE 68GUIDELINES DESIGNINFO DISCARDABLE
69BEGIN 69BEGIN
70 "IDD_INSTALLING$(FALSE)", DIALOG 70 "IDD_INSTALLING$(FALSE)", DIALOG
71 BEGIN 71 BEGIN
72 LEFTMARGIN, 7 72 LEFTMARGIN, 7
73 RIGHTMARGIN, 193 73 RIGHTMARGIN, 193
74 TOPMARGIN, 7 74 TOPMARGIN, 7
75 BOTTOMMARGIN, 67 75 BOTTOMMARGIN, 67
76 HORZGUIDE, 39 76 HORZGUIDE, 39
77 END 77 END
78 78
79 IDD_PATH, DIALOG 79 IDD_PATH, DIALOG
80 BEGIN 80 BEGIN
81 LEFTMARGIN, 7 81 LEFTMARGIN, 7
82 RIGHTMARGIN, 248 82 RIGHTMARGIN, 248
83 VERTGUIDE, 202 83 VERTGUIDE, 202
84 VERTGUIDE, 208 84 VERTGUIDE, 208
85 TOPMARGIN, 7 85 TOPMARGIN, 7
86 BOTTOMMARGIN, 66 86 BOTTOMMARGIN, 66
87 HORZGUIDE, 37 87 HORZGUIDE, 37
88 END 88 END
89END 89END
90#endif // APSTUDIO_INVOKED 90#endif // APSTUDIO_INVOKED
91 91
92 92
93#ifdef APSTUDIO_INVOKED 93#ifdef APSTUDIO_INVOKED
94///////////////////////////////////////////////////////////////////////////// 94/////////////////////////////////////////////////////////////////////////////
95// 95//
96// TEXTINCLUDE 96// TEXTINCLUDE
97// 97//
98 98
991 TEXTINCLUDE DISCARDABLE 991 TEXTINCLUDE DISCARDABLE
100BEGIN 100BEGIN
101 "resource.h\0" 101 "resource.h\0"
102END 102END
103 103
1042 TEXTINCLUDE DISCARDABLE 1042 TEXTINCLUDE DISCARDABLE
105BEGIN 105BEGIN
106 "#include ""afxres.h""\r\n" 106 "#include ""afxres.h""\r\n"
107 "\0" 107 "\0"
108END 108END
109 109
1103 TEXTINCLUDE DISCARDABLE 1103 TEXTINCLUDE DISCARDABLE
111BEGIN 111BEGIN
112 "#include ""custom.rch""\0" 112 "#include ""custom.rch""\0"
113END 113END
114 114
115#endif // APSTUDIO_INVOKED 115#endif // APSTUDIO_INVOKED
116 116
117 117
118///////////////////////////////////////////////////////////////////////////// 118/////////////////////////////////////////////////////////////////////////////
119// 119//
120// Icon 120// Icon
121// 121//
122 122
123// Icon with lowest ID value placed first to ensure application icon 123// Icon with lowest ID value placed first to ensure application icon
124// remains consistent on all systems. 124// remains consistent on all systems.
125IDI_ICON ICON DISCARDABLE "../shared-data/install-icon.ico" 125IDI_ICON ICON DISCARDABLE "../shared-data/install-icon.ico"
126 126
127#ifndef _MAC 127#ifndef _MAC
128///////////////////////////////////////////////////////////////////////////// 128/////////////////////////////////////////////////////////////////////////////
129// 129//
130// Version 130// Version
131// 131//
132 132
133VS_VERSION_INFO VERSIONINFO 133VS_VERSION_INFO VERSIONINFO
134 FILEVERSION 1,1,0,0 134 FILEVERSION 1,1,1,0
135 PRODUCTVERSION 1,1,0,0 135 PRODUCTVERSION 1,1,1,0
136 FILEFLAGSMASK 0x3fL 136 FILEFLAGSMASK 0x3fL
137#ifdef _DEBUG 137#ifdef _DEBUG
138 FILEFLAGS 0x1L 138 FILEFLAGS 0x1L
139#else 139#else
140 FILEFLAGS 0x0L 140 FILEFLAGS 0x0L
141#endif 141#endif
142 FILEOS 0x40004L 142 FILEOS 0x40004L
143 FILETYPE 0x1L 143 FILETYPE 0x1L
144 FILESUBTYPE 0x0L 144 FILESUBTYPE 0x0L
145BEGIN 145BEGIN
146 BLOCK "StringFileInfo" 146 BLOCK "StringFileInfo"
147 BEGIN 147 BEGIN
148 BLOCK "040904b0" 148 BLOCK "040904b0"
149 BEGIN 149 BEGIN
150 VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0" 150 VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0"
151 VALUE "FileDescription", "INSTALL: KLog, logging daemon\0" 151 VALUE "FileDescription", "INSTALL: KLog, logging daemon\0"
152 VALUE "FileVersion", "1, 1, 0, 0\0" 152 VALUE "FileVersion", "1, 1, 1, 0\0"
153 VALUE "InternalName", "INSTALL\0" 153 VALUE "InternalName", "INSTALL\0"
154 VALUE "LegalCopyright", "Copyright © 1998-2004 Klever Group (http://www.klever.net/)\0" 154 VALUE "LegalCopyright", "Copyright © 1998-2005 Klever Group (http://www.klever.net/)\0"
155 VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0" 155 VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0"
156 VALUE "OriginalFilename", "INSTALL.EXE\0" 156 VALUE "OriginalFilename", "INSTALL.EXE\0"
157 VALUE "ProductName", "KLog\0" 157 VALUE "ProductName", "KLog\0"
158 VALUE "ProductVersion", "1, 1, 0, 0\0" 158 VALUE "ProductVersion", "1, 1, 1, 0\0"
159 END 159 END
160 END 160 END
161 BLOCK "VarFileInfo" 161 BLOCK "VarFileInfo"
162 BEGIN 162 BEGIN
163 VALUE "Translation", 0x409, 1200 163 VALUE "Translation", 0x409, 1200
164 END 164 END
165END 165END
166 166
167#endif // !_MAC 167#endif // !_MAC
168 168
169#endif // English (U.S.) resources 169#endif // English (U.S.) resources
170///////////////////////////////////////////////////////////////////////////// 170/////////////////////////////////////////////////////////////////////////////
171 171
172 172
173 173
174#ifndef APSTUDIO_INVOKED 174#ifndef APSTUDIO_INVOKED
175///////////////////////////////////////////////////////////////////////////// 175/////////////////////////////////////////////////////////////////////////////
176// 176//
177// Generated from the TEXTINCLUDE 3 resource. 177// Generated from the TEXTINCLUDE 3 resource.
178// 178//
179#include "custom.rch" 179#include "custom.rch"
180///////////////////////////////////////////////////////////////////////////// 180/////////////////////////////////////////////////////////////////////////////
181#endif // not APSTUDIO_INVOKED 181#endif // not APSTUDIO_INVOKED
182 182
diff --git a/klog.clw b/klog.clw
index 81ae255..0dfdb8f 100644
--- a/klog.clw
+++ b/klog.clw
@@ -1,502 +1,502 @@
1; CLW file contains information for the MFC ClassWizard 1; CLW file contains information for the MFC ClassWizard
2 2
3[General Info] 3[General Info]
4Version=1 4Version=1
5LastClass=CKLogDlg 5LastClass=CKLogDlg
6LastTemplate=CDialog 6LastTemplate=CDialog
7NewFileInclude1=#include "stdafx.h" 7NewFileInclude1=#include "stdafx.h"
8NewFileInclude2=#include "KLog.h" 8NewFileInclude2=#include "KLog.h"
9 9
10ClassCount=9 10ClassCount=9
11Class1=CKLogApp 11Class1=CKLogApp
12Class2=CKLogDlg 12Class2=CKLogDlg
13Class3=CAboutDlg 13Class3=CAboutDlg
14 14
15ResourceCount=7 15ResourceCount=7
16Resource1=IDD_LOG_LOCAL 16Resource1=IDD_LOG_LOCAL
17Resource2=IDR_MAINFRAME 17Resource2=IDR_MAINFRAME
18Class4=CTrayer 18Class4=CTrayer
19Resource3=IDD_LOG_RESERVED 19Resource3=IDD_LOG_RESERVED
20Resource4=IDD_WARNBLOCKING 20Resource4=IDD_WARNBLOCKING
21Resource5=IDD_LOG_UNIX 21Resource5=IDD_LOG_UNIX
22Class5=CLogPattern 22Class5=CLogPattern
23Class6=CLogPatternUnix 23Class6=CLogPatternUnix
24Class7=CLogPatternReserved 24Class7=CLogPatternReserved
25Class8=CLogPatternLocal 25Class8=CLogPatternLocal
26Resource6=IDD_ABOUTBOX 26Resource6=IDD_ABOUTBOX
27Class9=CWarnBlocking 27Class9=CWarnBlocking
28Resource7=IDD_KLOG_DIALOG 28Resource7=IDD_KLOG_DIALOG
29 29
30[CLS:CKLogApp] 30[CLS:CKLogApp]
31Type=0 31Type=0
32HeaderFile=KLog.h 32HeaderFile=KLog.h
33ImplementationFile=KLog.cpp 33ImplementationFile=KLog.cpp
34Filter=N 34Filter=N
35 35
36[CLS:CKLogDlg] 36[CLS:CKLogDlg]
37Type=0 37Type=0
38HeaderFile=KLogDlg.h 38HeaderFile=KLogDlg.h
39ImplementationFile=KLogDlg.cpp 39ImplementationFile=KLogDlg.cpp
40Filter=W 40Filter=W
41BaseClass=CDialog 41BaseClass=CDialog
42VirtualFilter=dWC 42VirtualFilter=dWC
43LastObject=IDC_HL_ADD 43LastObject=IDC_LOG
44 44
45[CLS:CAboutDlg] 45[CLS:CAboutDlg]
46Type=0 46Type=0
47HeaderFile=KLogDlg.h 47HeaderFile=KLogDlg.h
48ImplementationFile=KLogDlg.cpp 48ImplementationFile=KLogDlg.cpp
49Filter=D 49Filter=D
50BaseClass=CDialog 50BaseClass=CDialog
51VirtualFilter=dWC 51VirtualFilter=dWC
52LastObject=IDC_KLEVERNET 52LastObject=IDC_KLEVERNET
53 53
54[DLG:IDD_ABOUTBOX] 54[DLG:IDD_ABOUTBOX]
55Type=1 55Type=1
56Class=CAboutDlg 56Class=CAboutDlg
57ControlCount=5 57ControlCount=5
58Control1=IDC_STATIC,static,1342177283 58Control1=IDC_STATIC,static,1342177283
59Control2=IDC_STATIC,static,1342308480 59Control2=IDC_STATIC,static,1342308480
60Control3=IDC_STATIC,static,1342308352 60Control3=IDC_STATIC,static,1342308352
61Control4=IDOK,button,1342373889 61Control4=IDOK,button,1342373889
62Control5=IDC_KLEVERNET,button,1342242816 62Control5=IDC_KLEVERNET,button,1342242816
63 63
64[DLG:IDD_KLOG_DIALOG] 64[DLG:IDD_KLOG_DIALOG]
65Type=1 65Type=1
66Class=CKLogDlg 66Class=CKLogDlg
67ControlCount=48 67ControlCount=48
68Control1=IDC_STATIC,static,1342308609 68Control1=IDC_STATIC,static,1342308609
69Control2=IDC_DESC,edit,1350631552 69Control2=IDC_DESC,edit,1350631552
70Control3=IDC_TYPE_FILE,button,1342312457 70Control3=IDC_TYPE_FILE,button,1342312457
71Control4=IDC_TYPE_HOST,button,1342181385 71Control4=IDC_TYPE_HOST,button,1342181385
72Control5=IDC_TYPE_NONE,button,1342181385 72Control5=IDC_TYPE_NONE,button,1342181385
73Control6=IDC_HOSTORFILE,static,1342308353 73Control6=IDC_HOSTORFILE,static,1342308353
74Control7=IDC_HOSTFILE,edit,1350631552 74Control7=IDC_HOSTFILE,edit,1350631552
75Control8=IDC_BROWSE,button,1342242816 75Control8=IDC_BROWSE,button,1342242816
76Control9=IDC_STATIC,static,1342177296 76Control9=IDC_STATIC,static,1342177296
77Control10=IDC_STATIC,static,1342308352 77Control10=IDC_STATIC,static,1342308352
78Control11=IDC_STATIC,static,1342177296 78Control11=IDC_STATIC,static,1342177296
79Control12=IDC_STATIC,static,1342308352 79Control12=IDC_STATIC,static,1342308352
80Control13=IDC_FACILITY,combobox,1344340035 80Control13=IDC_FACILITY,combobox,1344340035
81Control14=IDC_LOGPATTERN,button,1342263104 81Control14=IDC_LOGPATTERN,button,1342263104
82Control15=IDC_STATIC,button,1342194439 82Control15=IDC_STATIC,button,1342194439
83Control16=IDC_EMERG,button,1342259747 83Control16=IDC_EMERG,button,1342259747
84Control17=IDC_ALERT,button,1342259747 84Control17=IDC_ALERT,button,1342259747
85Control18=IDC_CRIT,button,1342259747 85Control18=IDC_CRIT,button,1342259747
86Control19=IDC_ERR,button,1342259747 86Control19=IDC_ERR,button,1342259747
87Control20=IDC_WARNING,button,1342259459 87Control20=IDC_WARNING,button,1342259459
88Control21=IDC_NOTICE,button,1342259459 88Control21=IDC_NOTICE,button,1342259459
89Control22=IDC_INFO,button,1342259459 89Control22=IDC_INFO,button,1342259459
90Control23=IDC_DEBUG,button,1342259459 90Control23=IDC_DEBUG,button,1342259459
91Control24=IDC_ALL,button,1342242816 91Control24=IDC_ALL,button,1342242816
92Control25=IDC_NONE,button,1342242816 92Control25=IDC_NONE,button,1342242816
93Control26=IDC_INVERT,button,1342259200 93Control26=IDC_INVERT,button,1342259200
94Control27=IDC_STATIC,static,1342308608 94Control27=IDC_STATIC,static,1342308608
95Control28=IDC_HL_IP,edit,1350631552 95Control28=IDC_HL_IP,edit,1350631552
96Control29=IDC_STATIC,static,1342308608 96Control29=IDC_STATIC,static,1342308608
97Control30=IDC_HL_MASK,edit,1350631552 97Control30=IDC_HL_MASK,edit,1350631552
98Control31=IDC_HL_ADD,button,1342259200 98Control31=IDC_HL_ADD,button,1342259200
99Control32=IDC_HL_REMOVE,button,1342242816 99Control32=IDC_HL_REMOVE,button,1342242816
100Control33=IDC_HOSTS,listbox,1345388929 100Control33=IDC_HOSTS,listbox,1345388929
101Control34=IDC_STATIC,button,1342177287 101Control34=IDC_STATIC,button,1342177287
102Control35=IDC_SOUND,combobox,1344340034 102Control35=IDC_SOUND,combobox,1344340034
103Control36=IDC_BROWSESOUND,button,1342263104 103Control36=IDC_BROWSESOUND,button,1342263104
104Control37=IDC_PLAYSOUND,button,1342263104 104Control37=IDC_PLAYSOUND,button,1342263104
105Control38=IDC_LOG,listbox,1353793665 105Control38=IDC_LOG,listbox,1353793665
106Control39=IDC_ADD,button,1342259200 106Control39=IDC_ADD,button,1342259200
107Control40=IDC_REMOVE,button,1342242816 107Control40=IDC_REMOVE,button,1342242816
108Control41=IDC_EXIT,button,1342242816 108Control41=IDC_EXIT,button,1342242816
109Control42=IDC_TABS,SysTabControl32,1342193664 109Control42=IDC_TABS,SysTabControl32,1342193664
110Control43=IDC_LOGLENGTH,static,1342308737 110Control43=IDC_LOGLENGTH,static,1342308737
111Control44=IDC_LOGLENSPIN,msctls_updown32,1342177463 111Control44=IDC_LOGLENSPIN,msctls_updown32,1342177463
112Control45=IDC_STATIC_LOGLENGTH,static,1342308737 112Control45=IDC_STATIC_LOGLENGTH,static,1342308737
113Control46=IDOK,button,1073807361 113Control46=IDOK,button,1073807361
114Control47=IDCANCEL,button,1208025088 114Control47=IDCANCEL,button,1208025088
115Control48=IDC_FILES,button,1342197504 115Control48=IDC_FILES,button,1342197504
116 116
117[MNU:IDD_KLOG_DIALOG] 117[MNU:IDD_KLOG_DIALOG]
118Type=1 118Type=1
119Class=? 119Class=?
120Command1=ID_FILES_EXPORT 120Command1=ID_FILES_EXPORT
121Command2=ID_FILES_IMPORT 121Command2=ID_FILES_IMPORT
122Command3=ID_FILES_RESET 122Command3=ID_FILES_RESET
123Command4=ID_FILES_EXPORT 123Command4=ID_FILES_EXPORT
124Command5=ID_FILES_IMPORT 124Command5=ID_FILES_IMPORT
125Command6=ID_FILES_RESET 125Command6=ID_FILES_RESET
126Command7=ID_TRAY_SHOWKLOGWINDOW 126Command7=ID_TRAY_SHOWKLOGWINDOW
127Command8=ID_TRAY_HELP 127Command8=ID_TRAY_HELP
128Command9=ID_TRAY_ABOUTKLOG 128Command9=ID_TRAY_ABOUTKLOG
129Command10=ID_TRAY_EXIT 129Command10=ID_TRAY_EXIT
130CommandCount=10 130CommandCount=10
131 131
132[CLS:CTrayer] 132[CLS:CTrayer]
133Type=0 133Type=0
134HeaderFile=Trayer.h 134HeaderFile=Trayer.h
135ImplementationFile=Trayer.cpp 135ImplementationFile=Trayer.cpp
136BaseClass=generic CWnd 136BaseClass=generic CWnd
137Filter=W 137Filter=W
138LastObject=ID_FILES_RESET 138LastObject=ID_FILES_RESET
139 139
140[DLG:IDD_LOG_RESERVED] 140[DLG:IDD_LOG_RESERVED]
141Type=1 141Type=1
142Class=CLogPatternReserved 142Class=CLogPatternReserved
143ControlCount=68 143ControlCount=68
144Control1=IDC_EMERG_ON,button,1342263040 144Control1=IDC_EMERG_ON,button,1342263040
145Control2=IDC_ALERT_ON,button,1342263040 145Control2=IDC_ALERT_ON,button,1342263040
146Control3=IDC_CRIT_ON,button,1342263040 146Control3=IDC_CRIT_ON,button,1342263040
147Control4=IDC_ERR_ON,button,1342263040 147Control4=IDC_ERR_ON,button,1342263040
148Control5=IDC_WARN_ON,button,1342263040 148Control5=IDC_WARN_ON,button,1342263040
149Control6=IDC_NOTICE_ON,button,1342263040 149Control6=IDC_NOTICE_ON,button,1342263040
150Control7=IDC_INFO_ON,button,1342263040 150Control7=IDC_INFO_ON,button,1342263040
151Control8=IDC_DEBUG_ON,button,1342263040 151Control8=IDC_DEBUG_ON,button,1342263040
152Control9=IDC_R0_ON,button,1342263040 152Control9=IDC_R0_ON,button,1342263040
153Control10=IDC_R1_ON,button,1342263040 153Control10=IDC_R1_ON,button,1342263040
154Control11=IDC_R2_ON,button,1342263040 154Control11=IDC_R2_ON,button,1342263040
155Control12=IDC_R3_ON,button,1342263040 155Control12=IDC_R3_ON,button,1342263040
156Control13=IDC_R4_ON,button,1342263040 156Control13=IDC_R4_ON,button,1342263040
157Control14=IDC_R0_EMERG,button,1342263299 157Control14=IDC_R0_EMERG,button,1342263299
158Control15=IDC_R0_ALERT,button,1342263299 158Control15=IDC_R0_ALERT,button,1342263299
159Control16=IDC_R0_CRIT,button,1342263299 159Control16=IDC_R0_CRIT,button,1342263299
160Control17=IDC_R0_ERR,button,1342263299 160Control17=IDC_R0_ERR,button,1342263299
161Control18=IDC_R0_WARN,button,1342263299 161Control18=IDC_R0_WARN,button,1342263299
162Control19=IDC_R0_NOTICE,button,1342263299 162Control19=IDC_R0_NOTICE,button,1342263299
163Control20=IDC_R0_INFO,button,1342263299 163Control20=IDC_R0_INFO,button,1342263299
164Control21=IDC_R0_DEBUG,button,1342263299 164Control21=IDC_R0_DEBUG,button,1342263299
165Control22=IDC_R1_EMERG,button,1342263299 165Control22=IDC_R1_EMERG,button,1342263299
166Control23=IDC_R1_ALERT,button,1342263299 166Control23=IDC_R1_ALERT,button,1342263299
167Control24=IDC_R1_CRIT,button,1342263299 167Control24=IDC_R1_CRIT,button,1342263299
168Control25=IDC_R1_ERR,button,1342263299 168Control25=IDC_R1_ERR,button,1342263299
169Control26=IDC_R1_WARN,button,1342263299 169Control26=IDC_R1_WARN,button,1342263299
170Control27=IDC_R1_NOTICE,button,1342263299 170Control27=IDC_R1_NOTICE,button,1342263299
171Control28=IDC_R1_INFO,button,1342263299 171Control28=IDC_R1_INFO,button,1342263299
172Control29=IDC_R1_DEBUG,button,1342263299 172Control29=IDC_R1_DEBUG,button,1342263299
173Control30=IDC_R2_EMERG,button,1342263299 173Control30=IDC_R2_EMERG,button,1342263299
174Control31=IDC_R2_ALERT,button,1342263299 174Control31=IDC_R2_ALERT,button,1342263299
175Control32=IDC_R2_CRIT,button,1342263299 175Control32=IDC_R2_CRIT,button,1342263299
176Control33=IDC_R2_ERR,button,1342263299 176Control33=IDC_R2_ERR,button,1342263299
177Control34=IDC_R2_WARN,button,1342263299 177Control34=IDC_R2_WARN,button,1342263299
178Control35=IDC_R2_NOTICE,button,1342263299 178Control35=IDC_R2_NOTICE,button,1342263299
179Control36=IDC_R2_INFO,button,1342263299 179Control36=IDC_R2_INFO,button,1342263299
180Control37=IDC_R2_DEBUG,button,1342263299 180Control37=IDC_R2_DEBUG,button,1342263299
181Control38=IDC_R3_EMERG,button,1342263299 181Control38=IDC_R3_EMERG,button,1342263299
182Control39=IDC_R3_ALERT,button,1342263299 182Control39=IDC_R3_ALERT,button,1342263299
183Control40=IDC_R3_CRIT,button,1342263299 183Control40=IDC_R3_CRIT,button,1342263299
184Control41=IDC_R3_ERR,button,1342263299 184Control41=IDC_R3_ERR,button,1342263299
185Control42=IDC_R3_WARN,button,1342263299 185Control42=IDC_R3_WARN,button,1342263299
186Control43=IDC_R3_NOTICE,button,1342263299 186Control43=IDC_R3_NOTICE,button,1342263299
187Control44=IDC_R3_INFO,button,1342263299 187Control44=IDC_R3_INFO,button,1342263299
188Control45=IDC_R3_DEBUG,button,1342263299 188Control45=IDC_R3_DEBUG,button,1342263299
189Control46=IDC_R4_EMERG,button,1342263299 189Control46=IDC_R4_EMERG,button,1342263299
190Control47=IDC_R4_ALERT,button,1342263299 190Control47=IDC_R4_ALERT,button,1342263299
191Control48=IDC_R4_CRIT,button,1342263299 191Control48=IDC_R4_CRIT,button,1342263299
192Control49=IDC_R4_ERR,button,1342263299 192Control49=IDC_R4_ERR,button,1342263299
193Control50=IDC_R4_WARN,button,1342263299 193Control50=IDC_R4_WARN,button,1342263299
194Control51=IDC_R4_NOTICE,button,1342263299 194Control51=IDC_R4_NOTICE,button,1342263299
195Control52=IDC_R4_INFO,button,1342263299 195Control52=IDC_R4_INFO,button,1342263299
196Control53=IDC_R4_DEBUG,button,1342263299 196Control53=IDC_R4_DEBUG,button,1342263299
197Control54=IDC_EMERG_XOR,button,1342263040 197Control54=IDC_EMERG_XOR,button,1342263040
198Control55=IDC_ALERT_XOR,button,1342263040 198Control55=IDC_ALERT_XOR,button,1342263040
199Control56=IDC_CRIT_XOR,button,1342263040 199Control56=IDC_CRIT_XOR,button,1342263040
200Control57=IDC_ERR_XOR,button,1342263040 200Control57=IDC_ERR_XOR,button,1342263040
201Control58=IDC_WARN_XOR,button,1342263040 201Control58=IDC_WARN_XOR,button,1342263040
202Control59=IDC_NOTICE_XOR,button,1342263040 202Control59=IDC_NOTICE_XOR,button,1342263040
203Control60=IDC_INFO_XOR,button,1342263040 203Control60=IDC_INFO_XOR,button,1342263040
204Control61=IDC_DEBUG_XOR,button,1342263040 204Control61=IDC_DEBUG_XOR,button,1342263040
205Control62=IDC_R0_XOR,button,1342263040 205Control62=IDC_R0_XOR,button,1342263040
206Control63=IDC_R1_XOR,button,1342263040 206Control63=IDC_R1_XOR,button,1342263040
207Control64=IDC_R2_XOR,button,1342263040 207Control64=IDC_R2_XOR,button,1342263040
208Control65=IDC_R3_XOR,button,1342263040 208Control65=IDC_R3_XOR,button,1342263040
209Control66=IDC_R4_XOR,button,1342263040 209Control66=IDC_R4_XOR,button,1342263040
210Control67=IDC_STATIC,static,1342308352 210Control67=IDC_STATIC,static,1342308352
211Control68=IDC_STATIC,static,1342308352 211Control68=IDC_STATIC,static,1342308352
212 212
213[DLG:IDD_LOG_UNIX] 213[DLG:IDD_LOG_UNIX]
214Type=1 214Type=1
215Class=CLogPatternUnix 215Class=CLogPatternUnix
216ControlCount=128 216ControlCount=128
217Control1=IDC_EMERG_ON,button,1342263040 217Control1=IDC_EMERG_ON,button,1342263040
218Control2=IDC_ALERT_ON,button,1342263040 218Control2=IDC_ALERT_ON,button,1342263040
219Control3=IDC_CRIT_ON,button,1342263040 219Control3=IDC_CRIT_ON,button,1342263040
220Control4=IDC_ERR_ON,button,1342263040 220Control4=IDC_ERR_ON,button,1342263040
221Control5=IDC_WARN_ON,button,1342263040 221Control5=IDC_WARN_ON,button,1342263040
222Control6=IDC_NOTICE_ON,button,1342263040 222Control6=IDC_NOTICE_ON,button,1342263040
223Control7=IDC_INFO_ON,button,1342263040 223Control7=IDC_INFO_ON,button,1342263040
224Control8=IDC_DEBUG_ON,button,1342263040 224Control8=IDC_DEBUG_ON,button,1342263040
225Control9=IDC_KERNEL_ON,button,1342263040 225Control9=IDC_KERNEL_ON,button,1342263040
226Control10=IDC_USER_ON,button,1342263040 226Control10=IDC_USER_ON,button,1342263040
227Control11=IDC_MAIL_ON,button,1342263040 227Control11=IDC_MAIL_ON,button,1342263040
228Control12=IDC_DAEMON_ON,button,1342263040 228Control12=IDC_DAEMON_ON,button,1342263040
229Control13=IDC_AUTH_ON,button,1342263040 229Control13=IDC_AUTH_ON,button,1342263040
230Control14=IDC_SYSLOG_ON,button,1342263040 230Control14=IDC_SYSLOG_ON,button,1342263040
231Control15=IDC_LPR_ON,button,1342263040 231Control15=IDC_LPR_ON,button,1342263040
232Control16=IDC_NEWS_ON,button,1342263040 232Control16=IDC_NEWS_ON,button,1342263040
233Control17=IDC_UUCP_ON,button,1342263040 233Control17=IDC_UUCP_ON,button,1342263040
234Control18=IDC_CRON_ON,button,1342263040 234Control18=IDC_CRON_ON,button,1342263040
235Control19=IDC_KERNEL_EMERG,button,1342263299 235Control19=IDC_KERNEL_EMERG,button,1342263299
236Control20=IDC_KERNEL_ALERT,button,1342263299 236Control20=IDC_KERNEL_ALERT,button,1342263299
237Control21=IDC_KERNEL_CRIT,button,1342263299 237Control21=IDC_KERNEL_CRIT,button,1342263299
238Control22=IDC_KERNEL_ERR,button,1342263299 238Control22=IDC_KERNEL_ERR,button,1342263299
239Control23=IDC_KERNEL_WARN,button,1342263299 239Control23=IDC_KERNEL_WARN,button,1342263299
240Control24=IDC_KERNEL_NOTICE,button,1342263299 240Control24=IDC_KERNEL_NOTICE,button,1342263299
241Control25=IDC_KERNEL_INFO,button,1342263299 241Control25=IDC_KERNEL_INFO,button,1342263299
242Control26=IDC_KERNEL_DEBUG,button,1342263299 242Control26=IDC_KERNEL_DEBUG,button,1342263299
243Control27=IDC_USER_EMERG,button,1342263299 243Control27=IDC_USER_EMERG,button,1342263299
244Control28=IDC_USER_ALERT,button,1342263299 244Control28=IDC_USER_ALERT,button,1342263299
245Control29=IDC_USER_CRIT,button,1342263299 245Control29=IDC_USER_CRIT,button,1342263299
246Control30=IDC_USER_ERR,button,1342263299 246Control30=IDC_USER_ERR,button,1342263299
247Control31=IDC_USER_WARN,button,1342263299 247Control31=IDC_USER_WARN,button,1342263299
248Control32=IDC_USER_NOTICE,button,1342263299 248Control32=IDC_USER_NOTICE,button,1342263299
249Control33=IDC_USER_INFO,button,1342263299 249Control33=IDC_USER_INFO,button,1342263299
250Control34=IDC_USER_DEBUG,button,1342263299 250Control34=IDC_USER_DEBUG,button,1342263299
251Control35=IDC_MAIL_EMERG,button,1342263299 251Control35=IDC_MAIL_EMERG,button,1342263299
252Control36=IDC_MAIL_ALERT,button,1342263299 252Control36=IDC_MAIL_ALERT,button,1342263299
253Control37=IDC_MAIL_CRIT,button,1342263299 253Control37=IDC_MAIL_CRIT,button,1342263299
254Control38=IDC_MAIL_ERR,button,1342263299 254Control38=IDC_MAIL_ERR,button,1342263299
255Control39=IDC_MAIL_WARN,button,1342263299 255Control39=IDC_MAIL_WARN,button,1342263299
256Control40=IDC_MAIL_NOTICE,button,1342263299 256Control40=IDC_MAIL_NOTICE,button,1342263299
257Control41=IDC_MAIL_INFO,button,1342263299 257Control41=IDC_MAIL_INFO,button,1342263299
258Control42=IDC_MAIL_DEBUG,button,1342263299 258Control42=IDC_MAIL_DEBUG,button,1342263299
259Control43=IDC_DAEMON_EMERG,button,1342263299 259Control43=IDC_DAEMON_EMERG,button,1342263299
260Control44=IDC_DAEMON_ALERT,button,1342263299 260Control44=IDC_DAEMON_ALERT,button,1342263299
261Control45=IDC_DAEMON_CRIT,button,1342263299 261Control45=IDC_DAEMON_CRIT,button,1342263299
262Control46=IDC_DAEMON_ERR,button,1342263299 262Control46=IDC_DAEMON_ERR,button,1342263299
263Control47=IDC_DAEMON_WARN,button,1342263299 263Control47=IDC_DAEMON_WARN,button,1342263299
264Control48=IDC_DAEMON_NOTICE,button,1342263299 264Control48=IDC_DAEMON_NOTICE,button,1342263299
265Control49=IDC_DAEMON_INFO,button,1342263299 265Control49=IDC_DAEMON_INFO,button,1342263299
266Control50=IDC_DAEMON_DEBUG,button,1342263299 266Control50=IDC_DAEMON_DEBUG,button,1342263299
267Control51=IDC_AUTH_EMERG,button,1342263299 267Control51=IDC_AUTH_EMERG,button,1342263299
268Control52=IDC_AUTH_ALERT,button,1342263299 268Control52=IDC_AUTH_ALERT,button,1342263299
269Control53=IDC_AUTH_CRIT,button,1342263299 269Control53=IDC_AUTH_CRIT,button,1342263299
270Control54=IDC_AUTH_ERR,button,1342263299 270Control54=IDC_AUTH_ERR,button,1342263299
271Control55=IDC_AUTH_WARN,button,1342263299 271Control55=IDC_AUTH_WARN,button,1342263299
272Control56=IDC_AUTH_NOTICE,button,1342263299 272Control56=IDC_AUTH_NOTICE,button,1342263299
273Control57=IDC_AUTH_INFO,button,1342263299 273Control57=IDC_AUTH_INFO,button,1342263299
274Control58=IDC_AUTH_DEBUG,button,1342263299 274Control58=IDC_AUTH_DEBUG,button,1342263299
275Control59=IDC_SYSLOG_EMERG,button,1342263299 275Control59=IDC_SYSLOG_EMERG,button,1342263299
276Control60=IDC_SYSLOG_ALERT,button,1342263299 276Control60=IDC_SYSLOG_ALERT,button,1342263299
277Control61=IDC_SYSLOG_CRIT,button,1342263299 277Control61=IDC_SYSLOG_CRIT,button,1342263299
278Control62=IDC_SYSLOG_ERR,button,1342263299 278Control62=IDC_SYSLOG_ERR,button,1342263299
279Control63=IDC_SYSLOG_WARN,button,1342263299 279Control63=IDC_SYSLOG_WARN,button,1342263299
280Control64=IDC_SYSLOG_NOTICE,button,1342263299 280Control64=IDC_SYSLOG_NOTICE,button,1342263299
281Control65=IDC_SYSLOG_INFO,button,1342263299 281Control65=IDC_SYSLOG_INFO,button,1342263299
282Control66=IDC_SYSLOG_DEBUG,button,1342263299 282Control66=IDC_SYSLOG_DEBUG,button,1342263299
283Control67=IDC_LPR_EMERG,button,1342263299 283Control67=IDC_LPR_EMERG,button,1342263299
284Control68=IDC_LPR_ALERT,button,1342263299 284Control68=IDC_LPR_ALERT,button,1342263299
285Control69=IDC_LPR_CRIT,button,1342263299 285Control69=IDC_LPR_CRIT,button,1342263299
286Control70=IDC_LPR_ERR,button,1342263299 286Control70=IDC_LPR_ERR,button,1342263299
287Control71=IDC_LPR_WARN,button,1342263299 287Control71=IDC_LPR_WARN,button,1342263299
288Control72=IDC_LPR_NOTICE,button,1342263299 288Control72=IDC_LPR_NOTICE,button,1342263299
289Control73=IDC_LPR_INFO,button,1342263299 289Control73=IDC_LPR_INFO,button,1342263299
290Control74=IDC_LPR_DEBUG,button,1342263299 290Control74=IDC_LPR_DEBUG,button,1342263299
291Control75=IDC_NEWS_EMERG,button,1342263299 291Control75=IDC_NEWS_EMERG,button,1342263299
292Control76=IDC_NEWS_ALERT,button,1342263299 292Control76=IDC_NEWS_ALERT,button,1342263299
293Control77=IDC_NEWS_CRIT,button,1342263299 293Control77=IDC_NEWS_CRIT,button,1342263299
294Control78=IDC_NEWS_ERR,button,1342263299 294Control78=IDC_NEWS_ERR,button,1342263299
295Control79=IDC_NEWS_WARN,button,1342263299 295Control79=IDC_NEWS_WARN,button,1342263299
296Control80=IDC_NEWS_NOTICE,button,1342263299 296Control80=IDC_NEWS_NOTICE,button,1342263299
297Control81=IDC_NEWS_INFO,button,1342263299 297Control81=IDC_NEWS_INFO,button,1342263299
298Control82=IDC_NEWS_DEBUG,button,1342263299 298Control82=IDC_NEWS_DEBUG,button,1342263299
299Control83=IDC_UUCP_EMERG,button,1342263299 299Control83=IDC_UUCP_EMERG,button,1342263299
300Control84=IDC_UUCP_ALERT,button,1342263299 300Control84=IDC_UUCP_ALERT,button,1342263299
301Control85=IDC_UUCP_CRIT,button,1342263299 301Control85=IDC_UUCP_CRIT,button,1342263299
302Control86=IDC_UUCP_ERR,button,1342263299 302Control86=IDC_UUCP_ERR,button,1342263299
303Control87=IDC_UUCP_WARN,button,1342263299 303Control87=IDC_UUCP_WARN,button,1342263299
304Control88=IDC_UUCP_NOTICE,button,1342263299 304Control88=IDC_UUCP_NOTICE,button,1342263299
305Control89=IDC_UUCP_INFO,button,1342263299 305Control89=IDC_UUCP_INFO,button,1342263299
306Control90=IDC_UUCP_DEBUG,button,1342263299 306Control90=IDC_UUCP_DEBUG,button,1342263299
307Control91=IDC_CRON_EMERG,button,1342263299 307Control91=IDC_CRON_EMERG,button,1342263299
308Control92=IDC_CRON_ALERT,button,1342263299 308Control92=IDC_CRON_ALERT,button,1342263299
309Control93=IDC_CRON_CRIT,button,1342263299 309Control93=IDC_CRON_CRIT,button,1342263299
310Control94=IDC_CRON_ERR,button,1342263299 310Control94=IDC_CRON_ERR,button,1342263299
311Control95=IDC_CRON_WARN,button,1342263299 311Control95=IDC_CRON_WARN,button,1342263299
312Control96=IDC_CRON_NOTICE,button,1342263299 312Control96=IDC_CRON_NOTICE,button,1342263299
313Control97=IDC_CRON_INFO,button,1342263299 313Control97=IDC_CRON_INFO,button,1342263299
314Control98=IDC_CRON_DEBUG,button,1342263299 314Control98=IDC_CRON_DEBUG,button,1342263299
315Control99=IDC_EMERG_XOR,button,1342263040 315Control99=IDC_EMERG_XOR,button,1342263040
316Control100=IDC_ALERT_XOR,button,1342263040 316Control100=IDC_ALERT_XOR,button,1342263040
317Control101=IDC_CRIT_XOR,button,1342263040 317Control101=IDC_CRIT_XOR,button,1342263040
318Control102=IDC_ERR_XOR,button,1342263040 318Control102=IDC_ERR_XOR,button,1342263040
319Control103=IDC_WARN_XOR,button,1342263040 319Control103=IDC_WARN_XOR,button,1342263040
320Control104=IDC_NOTICE_XOR,button,1342263040 320Control104=IDC_NOTICE_XOR,button,1342263040
321Control105=IDC_INFO_XOR,button,1342263040 321Control105=IDC_INFO_XOR,button,1342263040
322Control106=IDC_DEBUG_XOR,button,1342263040 322Control106=IDC_DEBUG_XOR,button,1342263040
323Control107=IDC_KERNEL_XOR,button,1342263040 323Control107=IDC_KERNEL_XOR,button,1342263040
324Control108=IDC_USER_XOR,button,1342263040 324Control108=IDC_USER_XOR,button,1342263040
325Control109=IDC_MAIL_XOR,button,1342263040 325Control109=IDC_MAIL_XOR,button,1342263040
326Control110=IDC_DAEMON_XOR,button,1342263040 326Control110=IDC_DAEMON_XOR,button,1342263040
327Control111=IDC_AUTH_XOR,button,1342263040 327Control111=IDC_AUTH_XOR,button,1342263040
328Control112=IDC_SYSLOG_XOR,button,1342263040 328Control112=IDC_SYSLOG_XOR,button,1342263040
329Control113=IDC_LPR_XOR,button,1342263040 329Control113=IDC_LPR_XOR,button,1342263040
330Control114=IDC_NEWS_XOR,button,1342263040 330Control114=IDC_NEWS_XOR,button,1342263040
331Control115=IDC_UUCP_XOR,button,1342263040 331Control115=IDC_UUCP_XOR,button,1342263040
332Control116=IDC_CRON_XOR,button,1342263040 332Control116=IDC_CRON_XOR,button,1342263040
333Control117=IDC_STATIC,static,1342308352 333Control117=IDC_STATIC,static,1342308352
334Control118=IDC_STATIC,static,1342308352 334Control118=IDC_STATIC,static,1342308352
335Control119=IDC_AUTHPRIV_ON,button,1342263040 335Control119=IDC_AUTHPRIV_ON,button,1342263040
336Control120=IDC_AUTHPRIV_EMERG,button,1342263299 336Control120=IDC_AUTHPRIV_EMERG,button,1342263299
337Control121=IDC_AUTHPRIV_ALERT,button,1342263299 337Control121=IDC_AUTHPRIV_ALERT,button,1342263299
338Control122=IDC_AUTHPRIV_CRIT,button,1342263299 338Control122=IDC_AUTHPRIV_CRIT,button,1342263299
339Control123=IDC_AUTHPRIV_ERR,button,1342263299 339Control123=IDC_AUTHPRIV_ERR,button,1342263299
340Control124=IDC_AUTHPRIV_WARN,button,1342263299 340Control124=IDC_AUTHPRIV_WARN,button,1342263299
341Control125=IDC_AUTHPRIV_NOTICE,button,1342263299 341Control125=IDC_AUTHPRIV_NOTICE,button,1342263299
342Control126=IDC_AUTHPRIV_INFO,button,1342263299 342Control126=IDC_AUTHPRIV_INFO,button,1342263299
343Control127=IDC_AUTHPRIV_DEBUG,button,1342263299 343Control127=IDC_AUTHPRIV_DEBUG,button,1342263299
344Control128=IDC_AUTHPRIV_XOR,button,1342263040 344Control128=IDC_AUTHPRIV_XOR,button,1342263040
345 345
346[DLG:IDD_LOG_LOCAL] 346[DLG:IDD_LOG_LOCAL]
347Type=1 347Type=1
348Class=CLogPatternLocal 348Class=CLogPatternLocal
349ControlCount=98 349ControlCount=98
350Control1=IDC_EMERG_ON,button,1342263040 350Control1=IDC_EMERG_ON,button,1342263040
351Control2=IDC_ALERT_ON,button,1342263040 351Control2=IDC_ALERT_ON,button,1342263040
352Control3=IDC_CRIT_ON,button,1342263040 352Control3=IDC_CRIT_ON,button,1342263040
353Control4=IDC_ERR_ON,button,1342263040 353Control4=IDC_ERR_ON,button,1342263040
354Control5=IDC_WARN_ON,button,1342263040 354Control5=IDC_WARN_ON,button,1342263040
355Control6=IDC_NOTICE_ON,button,1342263040 355Control6=IDC_NOTICE_ON,button,1342263040
356Control7=IDC_INFO_ON,button,1342263040 356Control7=IDC_INFO_ON,button,1342263040
357Control8=IDC_DEBUG_ON,button,1342263040 357Control8=IDC_DEBUG_ON,button,1342263040
358Control9=IDC_L0_ON,button,1342263040 358Control9=IDC_L0_ON,button,1342263040
359Control10=IDC_L1_ON,button,1342263040 359Control10=IDC_L1_ON,button,1342263040
360Control11=IDC_L2_ON,button,1342263040 360Control11=IDC_L2_ON,button,1342263040
361Control12=IDC_L3_ON,button,1342263040 361Control12=IDC_L3_ON,button,1342263040
362Control13=IDC_L4_ON,button,1342263040 362Control13=IDC_L4_ON,button,1342263040
363Control14=IDC_L5_ON,button,1342263040 363Control14=IDC_L5_ON,button,1342263040
364Control15=IDC_L6_ON,button,1342263040 364Control15=IDC_L6_ON,button,1342263040
365Control16=IDC_L7_ON,button,1342263040 365Control16=IDC_L7_ON,button,1342263040
366Control17=IDC_L0_EMERG,button,1342263299 366Control17=IDC_L0_EMERG,button,1342263299
367Control18=IDC_L0_ALERT,button,1342263299 367Control18=IDC_L0_ALERT,button,1342263299
368Control19=IDC_L0_CRIT,button,1342263299 368Control19=IDC_L0_CRIT,button,1342263299
369Control20=IDC_L0_ERR,button,1342263299 369Control20=IDC_L0_ERR,button,1342263299
370Control21=IDC_L0_WARN,button,1342263299 370Control21=IDC_L0_WARN,button,1342263299
371Control22=IDC_L0_NOTICE,button,1342263299 371Control22=IDC_L0_NOTICE,button,1342263299
372Control23=IDC_L0_INFO,button,1342263299 372Control23=IDC_L0_INFO,button,1342263299
373Control24=IDC_L0_DEBUG,button,1342263299 373Control24=IDC_L0_DEBUG,button,1342263299
374Control25=IDC_L1_EMERG,button,1342263299 374Control25=IDC_L1_EMERG,button,1342263299
375Control26=IDC_L1_ALERT,button,1342263299 375Control26=IDC_L1_ALERT,button,1342263299
376Control27=IDC_L1_CRIT,button,1342263299 376Control27=IDC_L1_CRIT,button,1342263299
377Control28=IDC_L1_ERR,button,1342263299 377Control28=IDC_L1_ERR,button,1342263299
378Control29=IDC_L1_WARN,button,1342263299 378Control29=IDC_L1_WARN,button,1342263299
379Control30=IDC_L1_NOTICE,button,1342263299 379Control30=IDC_L1_NOTICE,button,1342263299
380Control31=IDC_L1_INFO,button,1342263299 380Control31=IDC_L1_INFO,button,1342263299
381Control32=IDC_L1_DEBUG,button,1342263299 381Control32=IDC_L1_DEBUG,button,1342263299
382Control33=IDC_L2_EMERG,button,1342263299 382Control33=IDC_L2_EMERG,button,1342263299
383Control34=IDC_L2_ALERT,button,1342263299 383Control34=IDC_L2_ALERT,button,1342263299
384Control35=IDC_L2_CRIT,button,1342263299 384Control35=IDC_L2_CRIT,button,1342263299
385Control36=IDC_L2_ERR,button,1342263299 385Control36=IDC_L2_ERR,button,1342263299
386Control37=IDC_L2_WARN,button,1342263299 386Control37=IDC_L2_WARN,button,1342263299
387Control38=IDC_L2_NOTICE,button,1342263299 387Control38=IDC_L2_NOTICE,button,1342263299
388Control39=IDC_L2_INFO,button,1342263299 388Control39=IDC_L2_INFO,button,1342263299
389Control40=IDC_L2_DEBUG,button,1342263299 389Control40=IDC_L2_DEBUG,button,1342263299
390Control41=IDC_L3_EMERG,button,1342263299 390Control41=IDC_L3_EMERG,button,1342263299
391Control42=IDC_L3_ALERT,button,1342263299 391Control42=IDC_L3_ALERT,button,1342263299
392Control43=IDC_L3_CRIT,button,1342263299 392Control43=IDC_L3_CRIT,button,1342263299
393Control44=IDC_L3_ERR,button,1342263299 393Control44=IDC_L3_ERR,button,1342263299
394Control45=IDC_L3_WARN,button,1342263299 394Control45=IDC_L3_WARN,button,1342263299
395Control46=IDC_L3_NOTICE,button,1342263299 395Control46=IDC_L3_NOTICE,button,1342263299
396Control47=IDC_L3_INFO,button,1342263299 396Control47=IDC_L3_INFO,button,1342263299
397Control48=IDC_L3_DEBUG,button,1342263299 397Control48=IDC_L3_DEBUG,button,1342263299
398Control49=IDC_L4_EMERG,button,1342263299 398Control49=IDC_L4_EMERG,button,1342263299
399Control50=IDC_L4_ALERT,button,1342263299 399Control50=IDC_L4_ALERT,button,1342263299
400Control51=IDC_L4_CRIT,button,1342263299 400Control51=IDC_L4_CRIT,button,1342263299
401Control52=IDC_L4_ERR,button,1342263299 401Control52=IDC_L4_ERR,button,1342263299
402Control53=IDC_L4_WARN,button,1342263299 402Control53=IDC_L4_WARN,button,1342263299
403Control54=IDC_L4_NOTICE,button,1342263299 403Control54=IDC_L4_NOTICE,button,1342263299
404Control55=IDC_L4_INFO,button,1342263299 404Control55=IDC_L4_INFO,button,1342263299
405Control56=IDC_L4_DEBUG,button,1342263299 405Control56=IDC_L4_DEBUG,button,1342263299
406Control57=IDC_L5_EMERG,button,1342263299 406Control57=IDC_L5_EMERG,button,1342263299
407Control58=IDC_L5_ALERT,button,1342263299 407Control58=IDC_L5_ALERT,button,1342263299
408Control59=IDC_L5_CRIT,button,1342263299 408Control59=IDC_L5_CRIT,button,1342263299
409Control60=IDC_L5_ERR,button,1342263299 409Control60=IDC_L5_ERR,button,1342263299
410Control61=IDC_L5_WARN,button,1342263299 410Control61=IDC_L5_WARN,button,1342263299
411Control62=IDC_L5_NOTICE,button,1342263299 411Control62=IDC_L5_NOTICE,button,1342263299
412Control63=IDC_L5_INFO,button,1342263299 412Control63=IDC_L5_INFO,button,1342263299
413Control64=IDC_L5_DEBUG,button,1342263299 413Control64=IDC_L5_DEBUG,button,1342263299
414Control65=IDC_L6_EMERG,button,1342263299 414Control65=IDC_L6_EMERG,button,1342263299
415Control66=IDC_L6_ALERT,button,1342263299 415Control66=IDC_L6_ALERT,button,1342263299
416Control67=IDC_L6_CRIT,button,1342263299 416Control67=IDC_L6_CRIT,button,1342263299
417Control68=IDC_L6_ERR,button,1342263299 417Control68=IDC_L6_ERR,button,1342263299
418Control69=IDC_L6_WARN,button,1342263299 418Control69=IDC_L6_WARN,button,1342263299
419Control70=IDC_L6_NOTICE,button,1342263299 419Control70=IDC_L6_NOTICE,button,1342263299
420Control71=IDC_L6_INFO,button,1342263299 420Control71=IDC_L6_INFO,button,1342263299
421Control72=IDC_L6_DEBUG,button,1342263299 421Control72=IDC_L6_DEBUG,button,1342263299
422Control73=IDC_L7_EMERG,button,1342263299 422Control73=IDC_L7_EMERG,button,1342263299
423Control74=IDC_L7_ALERT,button,1342263299 423Control74=IDC_L7_ALERT,button,1342263299
424Control75=IDC_L7_CRIT,button,1342263299 424Control75=IDC_L7_CRIT,button,1342263299
425Control76=IDC_L7_ERR,button,1342263299 425Control76=IDC_L7_ERR,button,1342263299
426Control77=IDC_L7_WARN,button,1342263299 426Control77=IDC_L7_WARN,button,1342263299
427Control78=IDC_L7_NOTICE,button,1342263299 427Control78=IDC_L7_NOTICE,button,1342263299
428Control79=IDC_L7_INFO,button,1342263299 428Control79=IDC_L7_INFO,button,1342263299
429Control80=IDC_L7_DEBUG,button,1342263299 429Control80=IDC_L7_DEBUG,button,1342263299
430Control81=IDC_EMERG_XOR,button,1342263040 430Control81=IDC_EMERG_XOR,button,1342263040
431Control82=IDC_ALERT_XOR,button,1342263040 431Control82=IDC_ALERT_XOR,button,1342263040
432Control83=IDC_CRIT_XOR,button,1342263040 432Control83=IDC_CRIT_XOR,button,1342263040
433Control84=IDC_ERR_XOR,button,1342263040 433Control84=IDC_ERR_XOR,button,1342263040
434Control85=IDC_WARN_XOR,button,1342263040 434Control85=IDC_WARN_XOR,button,1342263040
435Control86=IDC_NOTICE_XOR,button,1342263040 435Control86=IDC_NOTICE_XOR,button,1342263040
436Control87=IDC_INFO_XOR,button,1342263040 436Control87=IDC_INFO_XOR,button,1342263040
437Control88=IDC_DEBUG_XOR,button,1342263040 437Control88=IDC_DEBUG_XOR,button,1342263040
438Control89=IDC_L0_XOR,button,1342263040 438Control89=IDC_L0_XOR,button,1342263040
439Control90=IDC_L1_XOR,button,1342263040 439Control90=IDC_L1_XOR,button,1342263040
440Control91=IDC_L2_XOR,button,1342263040 440Control91=IDC_L2_XOR,button,1342263040
441Control92=IDC_L3_XOR,button,1342263040 441Control92=IDC_L3_XOR,button,1342263040
442Control93=IDC_L4_XOR,button,1342263040 442Control93=IDC_L4_XOR,button,1342263040
443Control94=IDC_L5_XOR,button,1342263040 443Control94=IDC_L5_XOR,button,1342263040
444Control95=IDC_L6_XOR,button,1342263040 444Control95=IDC_L6_XOR,button,1342263040
445Control96=IDC_L7_XOR,button,1342263040 445Control96=IDC_L7_XOR,button,1342263040
446Control97=IDC_STATIC,static,1342308352 446Control97=IDC_STATIC,static,1342308352
447Control98=IDC_STATIC,static,1342308352 447Control98=IDC_STATIC,static,1342308352
448 448
449[CLS:CLogPattern] 449[CLS:CLogPattern]
450Type=0 450Type=0
451HeaderFile=LogPattern.h 451HeaderFile=LogPattern.h
452ImplementationFile=LogPattern.cpp 452ImplementationFile=LogPattern.cpp
453BaseClass=CPropertySheet 453BaseClass=CPropertySheet
454Filter=W 454Filter=W
455LastObject=CLogPattern 455LastObject=CLogPattern
456 456
457[CLS:CLogPatternUnix] 457[CLS:CLogPatternUnix]
458Type=0 458Type=0
459HeaderFile=LogPatternUnix.h 459HeaderFile=LogPatternUnix.h
460ImplementationFile=LogPatternUnix.cpp 460ImplementationFile=LogPatternUnix.cpp
461BaseClass=CPropertyPage 461BaseClass=CPropertyPage
462Filter=D 462Filter=D
463LastObject=CLogPatternUnix 463LastObject=CLogPatternUnix
464VirtualFilter=idWC 464VirtualFilter=idWC
465 465
466[CLS:CLogPatternReserved] 466[CLS:CLogPatternReserved]
467Type=0 467Type=0
468HeaderFile=LogPatternReserved.h 468HeaderFile=LogPatternReserved.h
469ImplementationFile=LogPatternReserved.cpp 469ImplementationFile=LogPatternReserved.cpp
470BaseClass=CPropertyPage 470BaseClass=CPropertyPage
471Filter=D 471Filter=D
472LastObject=IDC_WARN_XOR 472LastObject=IDC_WARN_XOR
473VirtualFilter=idWC 473VirtualFilter=idWC
474 474
475[CLS:CLogPatternLocal] 475[CLS:CLogPatternLocal]
476Type=0 476Type=0
477HeaderFile=LogPatternLocal.h 477HeaderFile=LogPatternLocal.h
478ImplementationFile=LogPatternLocal.cpp 478ImplementationFile=LogPatternLocal.cpp
479BaseClass=CPropertyPage 479BaseClass=CPropertyPage
480Filter=D 480Filter=D
481LastObject=CLogPatternLocal 481LastObject=CLogPatternLocal
482VirtualFilter=idWC 482VirtualFilter=idWC
483 483
484[DLG:IDD_WARNBLOCKING] 484[DLG:IDD_WARNBLOCKING]
485Type=1 485Type=1
486Class=CWarnBlocking 486Class=CWarnBlocking
487ControlCount=5 487ControlCount=5
488Control1=IDOK,button,1342242817 488Control1=IDOK,button,1342242817
489Control2=IDCANCEL,button,1342242816 489Control2=IDCANCEL,button,1342242816
490Control3=IDC_STATIC,static,1342308352 490Control3=IDC_STATIC,static,1342308352
491Control4=IDC_STATIC,static,1342308352 491Control4=IDC_STATIC,static,1342308352
492Control5=IDC_WARNBLOCKING,button,1342254595 492Control5=IDC_WARNBLOCKING,button,1342254595
493 493
494[CLS:CWarnBlocking] 494[CLS:CWarnBlocking]
495Type=0 495Type=0
496HeaderFile=WarnBlocking.h 496HeaderFile=WarnBlocking.h
497ImplementationFile=WarnBlocking.cpp 497ImplementationFile=WarnBlocking.cpp
498BaseClass=CDialog 498BaseClass=CDialog
499Filter=D 499Filter=D
500VirtualFilter=dWC 500VirtualFilter=dWC
501LastObject=CWarnBlocking 501LastObject=CWarnBlocking
502 502
diff --git a/klog.mak b/klog.mak
index 23ac3fe..323d0a4 100644
--- a/klog.mak
+++ b/klog.mak
@@ -1,1254 +1,1251 @@
1# Microsoft Developer Studio Generated NMAKE File, Format Version 4.20 1# Microsoft Developer Studio Generated NMAKE File, Format Version 4.20
2# ** DO NOT EDIT ** 2# ** DO NOT EDIT **
3 3
4# TARGTYPE "Win32 (x86) Application" 0x0101 4# TARGTYPE "Win32 (x86) Application" 0x0101
5 5
6!IF "$(CFG)" == "" 6!IF "$(CFG)" == ""
7CFG=Install - Win32 Debug 7CFG=Install - Win32 Debug
8!MESSAGE No configuration specified. Defaulting to Install - Win32 Debug. 8!MESSAGE No configuration specified. Defaulting to Install - Win32 Debug.
9!ENDIF 9!ENDIF
10 10
11!IF "$(CFG)" != "KLog - Win32 Release" && "$(CFG)" != "KLog - Win32 Debug" &&\ 11!IF "$(CFG)" != "KLog - Win32 Release" && "$(CFG)" != "KLog - Win32 Debug" &&\
12 "$(CFG)" != "KLog - Win32 Static Release" && "$(CFG)" !=\ 12 "$(CFG)" != "KLog - Win32 Static Release" && "$(CFG)" !=\
13 "Install - Win32 Debug" && "$(CFG)" != "Install - Win32 Pure" && "$(CFG)" !=\ 13 "Install - Win32 Debug" && "$(CFG)" != "Install - Win32 Pure" && "$(CFG)" !=\
14 "Install - Win32 Canned" && "$(CFG)" != "Install - Win32 Static" 14 "Install - Win32 Canned" && "$(CFG)" != "Install - Win32 Static"
15!MESSAGE Invalid configuration "$(CFG)" specified. 15!MESSAGE Invalid configuration "$(CFG)" specified.
16!MESSAGE You can specify a configuration when running NMAKE on this makefile 16!MESSAGE You can specify a configuration when running NMAKE on this makefile
17!MESSAGE by defining the macro CFG on the command line. For example: 17!MESSAGE by defining the macro CFG on the command line. For example:
18!MESSAGE 18!MESSAGE
19!MESSAGE NMAKE /f "klog.mak" CFG="Install - Win32 Debug" 19!MESSAGE NMAKE /f "klog.mak" CFG="Install - Win32 Debug"
20!MESSAGE 20!MESSAGE
21!MESSAGE Possible choices for configuration are: 21!MESSAGE Possible choices for configuration are:
22!MESSAGE 22!MESSAGE
23!MESSAGE "KLog - Win32 Release" (based on "Win32 (x86) Application") 23!MESSAGE "KLog - Win32 Release" (based on "Win32 (x86) Application")
24!MESSAGE "KLog - Win32 Debug" (based on "Win32 (x86) Application") 24!MESSAGE "KLog - Win32 Debug" (based on "Win32 (x86) Application")
25!MESSAGE "KLog - Win32 Static Release" (based on "Win32 (x86) Application") 25!MESSAGE "KLog - Win32 Static Release" (based on "Win32 (x86) Application")
26!MESSAGE "Install - Win32 Debug" (based on "Win32 (x86) Application") 26!MESSAGE "Install - Win32 Debug" (based on "Win32 (x86) Application")
27!MESSAGE "Install - Win32 Pure" (based on "Win32 (x86) Application") 27!MESSAGE "Install - Win32 Pure" (based on "Win32 (x86) Application")
28!MESSAGE "Install - Win32 Canned" (based on "Win32 (x86) Application") 28!MESSAGE "Install - Win32 Canned" (based on "Win32 (x86) Application")
29!MESSAGE "Install - Win32 Static" (based on "Win32 (x86) Application") 29!MESSAGE "Install - Win32 Static" (based on "Win32 (x86) Application")
30!MESSAGE 30!MESSAGE
31!ERROR An invalid configuration is specified. 31!ERROR An invalid configuration is specified.
32!ENDIF 32!ENDIF
33 33
34!IF "$(OS)" == "Windows_NT" 34!IF "$(OS)" == "Windows_NT"
35NULL= 35NULL=
36!ELSE 36!ELSE
37NULL=nul 37NULL=nul
38!ENDIF 38!ENDIF
39################################################################################ 39################################################################################
40# Begin Project 40# Begin Project
41# PROP Target_Last_Scanned "Install - Win32 Static" 41# PROP Target_Last_Scanned "Install - Win32 Static"
42CPP=cl.exe 42CPP=cl.exe
43RSC=rc.exe 43RSC=rc.exe
44MTL=mktyplib.exe 44MTL=mktyplib.exe
45 45
46!IF "$(CFG)" == "KLog - Win32 Release" 46!IF "$(CFG)" == "KLog - Win32 Release"
47 47
48# PROP BASE Use_MFC 6 48# PROP BASE Use_MFC 6
49# PROP BASE Use_Debug_Libraries 0 49# PROP BASE Use_Debug_Libraries 0
50# PROP BASE Output_Dir "Release" 50# PROP BASE Output_Dir "Release"
51# PROP BASE Intermediate_Dir "Release" 51# PROP BASE Intermediate_Dir "Release"
52# PROP BASE Target_Dir "" 52# PROP BASE Target_Dir ""
53# PROP Use_MFC 6 53# PROP Use_MFC 6
54# PROP Use_Debug_Libraries 0 54# PROP Use_Debug_Libraries 0
55# PROP Output_Dir "Release" 55# PROP Output_Dir "Release"
56# PROP Intermediate_Dir "Release" 56# PROP Intermediate_Dir "Release"
57# PROP Target_Dir "" 57# PROP Target_Dir ""
58OUTDIR=.\Release 58OUTDIR=.\Release
59INTDIR=.\Release 59INTDIR=.\Release
60# Begin Custom Macros 60# Begin Custom Macros
61OutDir=.\Release 61OutDir=.\Release
62TargetName=klog 62TargetName=klog
63# End Custom Macros 63# End Custom Macros
64 64
65ALL : "$(OUTDIR)\klog.exe" "$(OUTDIR)\klog.ex_" "$(OUTDIR)\klog.hlp"\ 65ALL : "$(OUTDIR)\klog.exe" "$(OUTDIR)\klog.ex_" "$(OUTDIR)\klog.hlp"\
66 "$(OUTDIR)\klog.cnt" "$(OUTDIR)\klog.hl_" "$(OUTDIR)\klog.cn_" 66 "$(OUTDIR)\klog.cnt" "$(OUTDIR)\klog.hl_" "$(OUTDIR)\klog.cn_"
67 67
68CLEAN : 68CLEAN :
69 -@erase "$(INTDIR)\klog.cn_" 69 -@erase "$(INTDIR)\klog.cn_"
70 -@erase "$(INTDIR)\klog.cnt" 70 -@erase "$(INTDIR)\klog.cnt"
71 -@erase "$(INTDIR)\klog.hl_" 71 -@erase "$(INTDIR)\klog.hl_"
72 -@erase "$(INTDIR)\klog.hlp" 72 -@erase "$(INTDIR)\klog.hlp"
73 -@erase "$(INTDIR)\KLog.obj" 73 -@erase "$(INTDIR)\KLog.obj"
74 -@erase "$(INTDIR)\klog.pch" 74 -@erase "$(INTDIR)\klog.pch"
75 -@erase "$(INTDIR)\KLog.res" 75 -@erase "$(INTDIR)\klog.res"
76 -@erase "$(INTDIR)\KLogDlg.obj" 76 -@erase "$(INTDIR)\KLogDlg.obj"
77 -@erase "$(INTDIR)\LogPattern.obj" 77 -@erase "$(INTDIR)\LogPattern.obj"
78 -@erase "$(INTDIR)\LogPatternLocal.obj" 78 -@erase "$(INTDIR)\LogPatternLocal.obj"
79 -@erase "$(INTDIR)\LogPatternReserved.obj" 79 -@erase "$(INTDIR)\LogPatternReserved.obj"
80 -@erase "$(INTDIR)\LogPatternUnix.obj" 80 -@erase "$(INTDIR)\LogPatternUnix.obj"
81 -@erase "$(INTDIR)\StdAfx.obj" 81 -@erase "$(INTDIR)\StdAfx.obj"
82 -@erase "$(INTDIR)\SyslogSocket.obj" 82 -@erase "$(INTDIR)\SyslogSocket.obj"
83 -@erase "$(INTDIR)\Trayer.obj" 83 -@erase "$(INTDIR)\Trayer.obj"
84 -@erase "$(INTDIR)\WarnBlocking.obj" 84 -@erase "$(INTDIR)\WarnBlocking.obj"
85 -@erase "$(OUTDIR)\klog.ex_" 85 -@erase "$(OUTDIR)\klog.ex_"
86 -@erase "$(OUTDIR)\klog.exe" 86 -@erase "$(OUTDIR)\klog.exe"
87 87
88"$(OUTDIR)" : 88"$(OUTDIR)" :
89 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" 89 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
90 90
91# ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /c 91# ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /c
92# ADD CPP /nologo /MD /W3 /GX /O1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /c 92# ADD CPP /nologo /MD /W3 /GX /O1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /c
93CPP_PROJ=/nologo /MD /W3 /GX /O1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D\ 93CPP_PROJ=/nologo /MD /W3 /GX /O1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D\
94 "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)/klog.pch" /Yu"stdafx.h" /Fo"$(INTDIR)/" /c 94 "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)/klog.pch" /Yu"stdafx.h" /Fo"$(INTDIR)/" /c
95CPP_OBJS=.\Release/ 95CPP_OBJS=.\Release/
96CPP_SBRS=.\. 96CPP_SBRS=.\.
97# ADD BASE MTL /nologo /D "NDEBUG" /win32 97# ADD BASE MTL /nologo /D "NDEBUG" /win32
98# ADD MTL /nologo /D "NDEBUG" /win32 98# ADD MTL /nologo /D "NDEBUG" /win32
99MTL_PROJ=/nologo /D "NDEBUG" /win32 99MTL_PROJ=/nologo /D "NDEBUG" /win32
100# ADD BASE RSC /l 0x409 /d "NDEBUG" /d "_AFXDLL" 100# ADD BASE RSC /l 0x409 /d "NDEBUG" /d "_AFXDLL"
101# ADD RSC /l 0x409 /d "NDEBUG" /d "_AFXDLL" 101# ADD RSC /l 0x409 /d "NDEBUG" /d "_AFXDLL"
102RSC_PROJ=/l 0x409 /fo"$(INTDIR)/KLog.res" /d "NDEBUG" /d "_AFXDLL" 102RSC_PROJ=/l 0x409 /fo"$(INTDIR)/klog.res" /d "NDEBUG" /d "_AFXDLL"
103BSC32=bscmake.exe 103BSC32=bscmake.exe
104# ADD BASE BSC32 /nologo 104# ADD BASE BSC32 /nologo
105# ADD BSC32 /nologo 105# ADD BSC32 /nologo
106BSC32_FLAGS=/nologo /o"$(OUTDIR)/klog.bsc" 106BSC32_FLAGS=/nologo /o"$(OUTDIR)/klog.bsc"
107BSC32_SBRS= \ 107BSC32_SBRS= \
108 108
109LINK32=link.exe 109LINK32=link.exe
110# ADD BASE LINK32 /nologo /subsystem:windows /machine:I386 110# ADD BASE LINK32 /nologo /subsystem:windows /machine:I386
111# ADD LINK32 /nologo /subsystem:windows /machine:I386 111# ADD LINK32 /nologo /subsystem:windows /machine:I386
112LINK32_FLAGS=/nologo /subsystem:windows /incremental:no\ 112LINK32_FLAGS=/nologo /subsystem:windows /incremental:no\
113 /pdb:"$(OUTDIR)/klog.pdb" /machine:I386 /out:"$(OUTDIR)/klog.exe" 113 /pdb:"$(OUTDIR)/klog.pdb" /machine:I386 /out:"$(OUTDIR)/klog.exe"
114LINK32_OBJS= \ 114LINK32_OBJS= \
115 "$(INTDIR)\KLog.obj" \ 115 "$(INTDIR)\KLog.obj" \
116 "$(INTDIR)\KLog.res" \ 116 "$(INTDIR)\klog.res" \
117 "$(INTDIR)\KLogDlg.obj" \ 117 "$(INTDIR)\KLogDlg.obj" \
118 "$(INTDIR)\LogPattern.obj" \ 118 "$(INTDIR)\LogPattern.obj" \
119 "$(INTDIR)\LogPatternLocal.obj" \ 119 "$(INTDIR)\LogPatternLocal.obj" \
120 "$(INTDIR)\LogPatternReserved.obj" \ 120 "$(INTDIR)\LogPatternReserved.obj" \
121 "$(INTDIR)\LogPatternUnix.obj" \ 121 "$(INTDIR)\LogPatternUnix.obj" \
122 "$(INTDIR)\StdAfx.obj" \ 122 "$(INTDIR)\StdAfx.obj" \
123 "$(INTDIR)\SyslogSocket.obj" \ 123 "$(INTDIR)\SyslogSocket.obj" \
124 "$(INTDIR)\Trayer.obj" \ 124 "$(INTDIR)\Trayer.obj" \
125 "$(INTDIR)\WarnBlocking.obj" 125 "$(INTDIR)\WarnBlocking.obj"
126 126
127"$(OUTDIR)\klog.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) 127"$(OUTDIR)\klog.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
128 $(LINK32) @<< 128 $(LINK32) @<<
129 $(LINK32_FLAGS) $(LINK32_OBJS) 129 $(LINK32_FLAGS) $(LINK32_OBJS)
130<< 130<<
131 131
132# Begin Custom Build 132# Begin Custom Build
133OutDir=.\Release 133OutDir=.\Release
134TargetName=klog 134TargetName=klog
135InputPath=.\Release\klog.exe 135InputPath=.\Release\klog.exe
136SOURCE=$(InputPath) 136SOURCE=$(InputPath)
137 137
138"$(OutDir)\$(TargetName).ex_" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" 138"$(OutDir)\$(TargetName).ex_" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
139 compress $(OutDir)\$(TargetName).exe $(OutDir)\$(TargetName).ex_ 139 compress $(OutDir)\$(TargetName).exe $(OutDir)\$(TargetName).ex_
140 140
141# End Custom Build 141# End Custom Build
142 142
143!ELSEIF "$(CFG)" == "KLog - Win32 Debug" 143!ELSEIF "$(CFG)" == "KLog - Win32 Debug"
144 144
145# PROP BASE Use_MFC 6 145# PROP BASE Use_MFC 6
146# PROP BASE Use_Debug_Libraries 1 146# PROP BASE Use_Debug_Libraries 1
147# PROP BASE Output_Dir "Debug" 147# PROP BASE Output_Dir "Debug"
148# PROP BASE Intermediate_Dir "Debug" 148# PROP BASE Intermediate_Dir "Debug"
149# PROP BASE Target_Dir "" 149# PROP BASE Target_Dir ""
150# PROP Use_MFC 6 150# PROP Use_MFC 6
151# PROP Use_Debug_Libraries 1 151# PROP Use_Debug_Libraries 1
152# PROP Output_Dir "Debug" 152# PROP Output_Dir "Debug"
153# PROP Intermediate_Dir "Debug" 153# PROP Intermediate_Dir "Debug"
154# PROP Target_Dir "" 154# PROP Target_Dir ""
155OUTDIR=.\Debug 155OUTDIR=.\Debug
156INTDIR=.\Debug 156INTDIR=.\Debug
157# Begin Custom Macros 157# Begin Custom Macros
158OutDir=.\Debug 158OutDir=.\Debug
159TargetName=klog 159TargetName=klog
160# End Custom Macros 160# End Custom Macros
161 161
162ALL : "$(OUTDIR)\klog.exe" "$(OUTDIR)\klog.ex_" "$(OUTDIR)\klog.hlp"\ 162ALL : "$(OUTDIR)\klog.exe" "$(OUTDIR)\klog.ex_" "$(OUTDIR)\klog.hlp"\
163 "$(OUTDIR)\klog.cnt" "$(OUTDIR)\klog.hl_" "$(OUTDIR)\klog.cn_" 163 "$(OUTDIR)\klog.cnt" "$(OUTDIR)\klog.hl_" "$(OUTDIR)\klog.cn_"
164 164
165CLEAN : 165CLEAN :
166 -@erase "$(INTDIR)\klog.cn_" 166 -@erase "$(INTDIR)\klog.cn_"
167 -@erase "$(INTDIR)\klog.cnt" 167 -@erase "$(INTDIR)\klog.cnt"
168 -@erase "$(INTDIR)\klog.hl_" 168 -@erase "$(INTDIR)\klog.hl_"
169 -@erase "$(INTDIR)\klog.hlp" 169 -@erase "$(INTDIR)\klog.hlp"
170 -@erase "$(INTDIR)\KLog.obj" 170 -@erase "$(INTDIR)\KLog.obj"
171 -@erase "$(INTDIR)\klog.pch" 171 -@erase "$(INTDIR)\klog.pch"
172 -@erase "$(INTDIR)\KLog.res" 172 -@erase "$(INTDIR)\klog.res"
173 -@erase "$(INTDIR)\KLogDlg.obj" 173 -@erase "$(INTDIR)\KLogDlg.obj"
174 -@erase "$(INTDIR)\LogPattern.obj" 174 -@erase "$(INTDIR)\LogPattern.obj"
175 -@erase "$(INTDIR)\LogPatternLocal.obj" 175 -@erase "$(INTDIR)\LogPatternLocal.obj"
176 -@erase "$(INTDIR)\LogPatternReserved.obj" 176 -@erase "$(INTDIR)\LogPatternReserved.obj"
177 -@erase "$(INTDIR)\LogPatternUnix.obj" 177 -@erase "$(INTDIR)\LogPatternUnix.obj"
178 -@erase "$(INTDIR)\StdAfx.obj" 178 -@erase "$(INTDIR)\StdAfx.obj"
179 -@erase "$(INTDIR)\SyslogSocket.obj" 179 -@erase "$(INTDIR)\SyslogSocket.obj"
180 -@erase "$(INTDIR)\Trayer.obj" 180 -@erase "$(INTDIR)\Trayer.obj"
181 -@erase "$(INTDIR)\vc40.idb" 181 -@erase "$(INTDIR)\vc40.idb"
182 -@erase "$(INTDIR)\vc40.pdb" 182 -@erase "$(INTDIR)\vc40.pdb"
183 -@erase "$(INTDIR)\WarnBlocking.obj" 183 -@erase "$(INTDIR)\WarnBlocking.obj"
184 -@erase "$(OUTDIR)\klog.ex_" 184 -@erase "$(OUTDIR)\klog.ex_"
185 -@erase "$(OUTDIR)\klog.exe" 185 -@erase "$(OUTDIR)\klog.exe"
186 -@erase "$(OUTDIR)\klog.ilk" 186 -@erase "$(OUTDIR)\klog.ilk"
187 -@erase "$(OUTDIR)\klog.pdb" 187 -@erase "$(OUTDIR)\klog.pdb"
188 188
189"$(OUTDIR)" : 189"$(OUTDIR)" :
190 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" 190 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
191 191
192# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /c 192# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /c
193# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /c 193# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /c
194CPP_PROJ=/nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS"\ 194CPP_PROJ=/nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS"\
195 /D "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)/klog.pch" /Yu"stdafx.h" /Fo"$(INTDIR)/"\ 195 /D "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)/klog.pch" /Yu"stdafx.h" /Fo"$(INTDIR)/"\
196 /Fd"$(INTDIR)/" /c 196 /Fd"$(INTDIR)/" /c
197CPP_OBJS=.\Debug/ 197CPP_OBJS=.\Debug/
198CPP_SBRS=.\. 198CPP_SBRS=.\.
199# ADD BASE MTL /nologo /D "_DEBUG" /win32 199# ADD BASE MTL /nologo /D "_DEBUG" /win32
200# ADD MTL /nologo /D "_DEBUG" /win32 200# ADD MTL /nologo /D "_DEBUG" /win32
201MTL_PROJ=/nologo /D "_DEBUG" /win32 201MTL_PROJ=/nologo /D "_DEBUG" /win32
202# ADD BASE RSC /l 0x409 /d "_DEBUG" /d "_AFXDLL" 202# ADD BASE RSC /l 0x409 /d "_DEBUG" /d "_AFXDLL"
203# ADD RSC /l 0x409 /d "_DEBUG" /d "_AFXDLL" 203# ADD RSC /l 0x409 /d "_DEBUG" /d "_AFXDLL"
204RSC_PROJ=/l 0x409 /fo"$(INTDIR)/KLog.res" /d "_DEBUG" /d "_AFXDLL" 204RSC_PROJ=/l 0x409 /fo"$(INTDIR)/klog.res" /d "_DEBUG" /d "_AFXDLL"
205BSC32=bscmake.exe 205BSC32=bscmake.exe
206# ADD BASE BSC32 /nologo 206# ADD BASE BSC32 /nologo
207# ADD BSC32 /nologo 207# ADD BSC32 /nologo
208BSC32_FLAGS=/nologo /o"$(OUTDIR)/klog.bsc" 208BSC32_FLAGS=/nologo /o"$(OUTDIR)/klog.bsc"
209BSC32_SBRS= \ 209BSC32_SBRS= \
210 210
211LINK32=link.exe 211LINK32=link.exe
212# ADD BASE LINK32 /nologo /subsystem:windows /debug /machine:I386 212# ADD BASE LINK32 /nologo /subsystem:windows /debug /machine:I386
213# ADD LINK32 /nologo /subsystem:windows /debug /machine:I386 213# ADD LINK32 /nologo /subsystem:windows /debug /machine:I386
214LINK32_FLAGS=/nologo /subsystem:windows /incremental:yes\ 214LINK32_FLAGS=/nologo /subsystem:windows /incremental:yes\
215 /pdb:"$(OUTDIR)/klog.pdb" /debug /machine:I386 /out:"$(OUTDIR)/klog.exe" 215 /pdb:"$(OUTDIR)/klog.pdb" /debug /machine:I386 /out:"$(OUTDIR)/klog.exe"
216LINK32_OBJS= \ 216LINK32_OBJS= \
217 "$(INTDIR)\KLog.obj" \ 217 "$(INTDIR)\KLog.obj" \
218 "$(INTDIR)\KLog.res" \ 218 "$(INTDIR)\klog.res" \
219 "$(INTDIR)\KLogDlg.obj" \ 219 "$(INTDIR)\KLogDlg.obj" \
220 "$(INTDIR)\LogPattern.obj" \ 220 "$(INTDIR)\LogPattern.obj" \
221 "$(INTDIR)\LogPatternLocal.obj" \ 221 "$(INTDIR)\LogPatternLocal.obj" \
222 "$(INTDIR)\LogPatternReserved.obj" \ 222 "$(INTDIR)\LogPatternReserved.obj" \
223 "$(INTDIR)\LogPatternUnix.obj" \ 223 "$(INTDIR)\LogPatternUnix.obj" \
224 "$(INTDIR)\StdAfx.obj" \ 224 "$(INTDIR)\StdAfx.obj" \
225 "$(INTDIR)\SyslogSocket.obj" \ 225 "$(INTDIR)\SyslogSocket.obj" \
226 "$(INTDIR)\Trayer.obj" \ 226 "$(INTDIR)\Trayer.obj" \
227 "$(INTDIR)\WarnBlocking.obj" 227 "$(INTDIR)\WarnBlocking.obj"
228 228
229"$(OUTDIR)\klog.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) 229"$(OUTDIR)\klog.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
230 $(LINK32) @<< 230 $(LINK32) @<<
231 $(LINK32_FLAGS) $(LINK32_OBJS) 231 $(LINK32_FLAGS) $(LINK32_OBJS)
232<< 232<<
233 233
234# Begin Custom Build 234# Begin Custom Build
235OutDir=.\Debug 235OutDir=.\Debug
236TargetName=klog 236TargetName=klog
237InputPath=.\Debug\klog.exe 237InputPath=.\Debug\klog.exe
238SOURCE=$(InputPath) 238SOURCE=$(InputPath)
239 239
240"$(OutDir)\$(TargetName).ex_" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" 240"$(OutDir)\$(TargetName).ex_" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
241 compress $(OutDir)\$(TargetName).exe $(OutDir)\$(TargetName).ex_ 241 compress $(OutDir)\$(TargetName).exe $(OutDir)\$(TargetName).ex_
242 242
243# End Custom Build 243# End Custom Build
244 244
245!ELSEIF "$(CFG)" == "KLog - Win32 Static Release" 245!ELSEIF "$(CFG)" == "KLog - Win32 Static Release"
246 246
247# PROP BASE Use_MFC 6 247# PROP BASE Use_MFC 6
248# PROP BASE Use_Debug_Libraries 0 248# PROP BASE Use_Debug_Libraries 0
249# PROP BASE Output_Dir "KLog___W" 249# PROP BASE Output_Dir "KLog___W"
250# PROP BASE Intermediate_Dir "KLog___W" 250# PROP BASE Intermediate_Dir "KLog___W"
251# PROP BASE Target_Dir "" 251# PROP BASE Target_Dir ""
252# PROP Use_MFC 5 252# PROP Use_MFC 5
253# PROP Use_Debug_Libraries 0 253# PROP Use_Debug_Libraries 0
254# PROP Output_Dir "Releast" 254# PROP Output_Dir "Releast"
255# PROP Intermediate_Dir "Releast" 255# PROP Intermediate_Dir "Releast"
256# PROP Target_Dir "" 256# PROP Target_Dir ""
257OUTDIR=.\Releast 257OUTDIR=.\Releast
258INTDIR=.\Releast 258INTDIR=.\Releast
259# Begin Custom Macros 259# Begin Custom Macros
260OutDir=.\Releast 260OutDir=.\Releast
261TargetName=klog 261TargetName=klog
262# End Custom Macros 262# End Custom Macros
263 263
264ALL : "$(OUTDIR)\klog.exe" "$(OUTDIR)\klog.hlp" "$(OUTDIR)\klog.cnt"\ 264ALL : "$(OUTDIR)\klog.exe" "$(OUTDIR)\klog.ex_" "$(OUTDIR)\klog.hlp"\
265 "$(OUTDIR)\klog.hl_" "$(OUTDIR)\klog.cn_" "$(OUTDIR)\klog.ex_" 265 "$(OUTDIR)\klog.cnt" "$(OUTDIR)\klog.hl_" "$(OUTDIR)\klog.cn_"
266 266
267CLEAN : 267CLEAN :
268 -@erase "$(INTDIR)\klog.cn_" 268 -@erase "$(INTDIR)\klog.cn_"
269 -@erase "$(INTDIR)\klog.cnt" 269 -@erase "$(INTDIR)\klog.cnt"
270 -@erase "$(INTDIR)\klog.hl_" 270 -@erase "$(INTDIR)\klog.hl_"
271 -@erase "$(INTDIR)\klog.hlp" 271 -@erase "$(INTDIR)\klog.hlp"
272 -@erase "$(INTDIR)\KLog.obj" 272 -@erase "$(INTDIR)\KLog.obj"
273 -@erase "$(INTDIR)\klog.pch" 273 -@erase "$(INTDIR)\klog.pch"
274 -@erase "$(INTDIR)\KLog.res" 274 -@erase "$(INTDIR)\klog.res"
275 -@erase "$(INTDIR)\KLogDlg.obj" 275 -@erase "$(INTDIR)\KLogDlg.obj"
276 -@erase "$(INTDIR)\LogPattern.obj" 276 -@erase "$(INTDIR)\LogPattern.obj"
277 -@erase "$(INTDIR)\LogPatternLocal.obj" 277 -@erase "$(INTDIR)\LogPatternLocal.obj"
278 -@erase "$(INTDIR)\LogPatternReserved.obj" 278 -@erase "$(INTDIR)\LogPatternReserved.obj"
279 -@erase "$(INTDIR)\LogPatternUnix.obj" 279 -@erase "$(INTDIR)\LogPatternUnix.obj"
280 -@erase "$(INTDIR)\StdAfx.obj" 280 -@erase "$(INTDIR)\StdAfx.obj"
281 -@erase "$(INTDIR)\SyslogSocket.obj" 281 -@erase "$(INTDIR)\SyslogSocket.obj"
282 -@erase "$(INTDIR)\Trayer.obj" 282 -@erase "$(INTDIR)\Trayer.obj"
283 -@erase "$(INTDIR)\WarnBlocking.obj" 283 -@erase "$(INTDIR)\WarnBlocking.obj"
284 -@erase "$(OUTDIR)\klog.ex_" 284 -@erase "$(OUTDIR)\klog.ex_"
285 -@erase "$(OUTDIR)\klog.exe" 285 -@erase "$(OUTDIR)\klog.exe"
286 286
287"$(OUTDIR)" : 287"$(OUTDIR)" :
288 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" 288 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
289 289
290# ADD BASE CPP /nologo /MD /W3 /GX /O1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /c 290# ADD BASE CPP /nologo /MD /W3 /GX /O1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /c
291# ADD CPP /nologo /MT /W3 /GX /O1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /Yu"stdafx.h" /c 291# ADD CPP /nologo /MT /W3 /GX /O1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /Yu"stdafx.h" /c
292CPP_PROJ=/nologo /MT /W3 /GX /O1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D\ 292CPP_PROJ=/nologo /MT /W3 /GX /O1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D\
293 "_MBCS" /Fp"$(INTDIR)/klog.pch" /Yu"stdafx.h" /Fo"$(INTDIR)/" /c 293 "_MBCS" /Fp"$(INTDIR)/klog.pch" /Yu"stdafx.h" /Fo"$(INTDIR)/" /c
294CPP_OBJS=.\Releast/ 294CPP_OBJS=.\Releast/
295CPP_SBRS=.\. 295CPP_SBRS=.\.
296# ADD BASE MTL /nologo /D "NDEBUG" /win32 296# ADD BASE MTL /nologo /D "NDEBUG" /win32
297# ADD MTL /nologo /D "NDEBUG" /win32 297# ADD MTL /nologo /D "NDEBUG" /win32
298MTL_PROJ=/nologo /D "NDEBUG" /win32 298MTL_PROJ=/nologo /D "NDEBUG" /win32
299# ADD BASE RSC /l 0x409 /d "NDEBUG" /d "_AFXDLL" 299# ADD BASE RSC /l 0x409 /d "NDEBUG" /d "_AFXDLL"
300# ADD RSC /l 0x409 /d "NDEBUG" 300# ADD RSC /l 0x409 /d "NDEBUG"
301RSC_PROJ=/l 0x409 /fo"$(INTDIR)/KLog.res" /d "NDEBUG" 301RSC_PROJ=/l 0x409 /fo"$(INTDIR)/klog.res" /d "NDEBUG"
302BSC32=bscmake.exe 302BSC32=bscmake.exe
303# ADD BASE BSC32 /nologo 303# ADD BASE BSC32 /nologo
304# ADD BSC32 /nologo 304# ADD BSC32 /nologo
305BSC32_FLAGS=/nologo /o"$(OUTDIR)/klog.bsc" 305BSC32_FLAGS=/nologo /o"$(OUTDIR)/klog.bsc"
306BSC32_SBRS= \ 306BSC32_SBRS= \
307 307
308LINK32=link.exe 308LINK32=link.exe
309# ADD BASE LINK32 /nologo /subsystem:windows /machine:I386 309# ADD BASE LINK32 /nologo /subsystem:windows /machine:I386
310# ADD LINK32 /nologo /subsystem:windows /machine:I386 310# ADD LINK32 /nologo /subsystem:windows /machine:I386
311LINK32_FLAGS=/nologo /subsystem:windows /incremental:no\ 311LINK32_FLAGS=/nologo /subsystem:windows /incremental:no\
312 /pdb:"$(OUTDIR)/klog.pdb" /machine:I386 /out:"$(OUTDIR)/klog.exe" 312 /pdb:"$(OUTDIR)/klog.pdb" /machine:I386 /out:"$(OUTDIR)/klog.exe"
313LINK32_OBJS= \ 313LINK32_OBJS= \
314 "$(INTDIR)\KLog.obj" \ 314 "$(INTDIR)\KLog.obj" \
315 "$(INTDIR)\KLog.res" \ 315 "$(INTDIR)\klog.res" \
316 "$(INTDIR)\KLogDlg.obj" \ 316 "$(INTDIR)\KLogDlg.obj" \
317 "$(INTDIR)\LogPattern.obj" \ 317 "$(INTDIR)\LogPattern.obj" \
318 "$(INTDIR)\LogPatternLocal.obj" \ 318 "$(INTDIR)\LogPatternLocal.obj" \
319 "$(INTDIR)\LogPatternReserved.obj" \ 319 "$(INTDIR)\LogPatternReserved.obj" \
320 "$(INTDIR)\LogPatternUnix.obj" \ 320 "$(INTDIR)\LogPatternUnix.obj" \
321 "$(INTDIR)\StdAfx.obj" \ 321 "$(INTDIR)\StdAfx.obj" \
322 "$(INTDIR)\SyslogSocket.obj" \ 322 "$(INTDIR)\SyslogSocket.obj" \
323 "$(INTDIR)\Trayer.obj" \ 323 "$(INTDIR)\Trayer.obj" \
324 "$(INTDIR)\WarnBlocking.obj" 324 "$(INTDIR)\WarnBlocking.obj"
325 325
326"$(OUTDIR)\klog.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) 326"$(OUTDIR)\klog.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
327 $(LINK32) @<< 327 $(LINK32) @<<
328 $(LINK32_FLAGS) $(LINK32_OBJS) 328 $(LINK32_FLAGS) $(LINK32_OBJS)
329<< 329<<
330 330
331# Begin Custom Build 331# Begin Custom Build
332OutDir=.\Releast 332OutDir=.\Releast
333TargetName=klog 333TargetName=klog
334InputPath=.\Releast\klog.exe 334InputPath=.\Releast\klog.exe
335SOURCE=$(InputPath) 335SOURCE=$(InputPath)
336 336
337"$(OutDir)\$(TargetName).ex_" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" 337"$(OutDir)\$(TargetName).ex_" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
338 compress $(OutDir)\$(TargetName).exe $(OutDir)\$(TargetName).ex_ 338 compress $(OutDir)\$(TargetName).exe $(OutDir)\$(TargetName).ex_
339 339
340# End Custom Build 340# End Custom Build
341 341
342!ELSEIF "$(CFG)" == "Install - Win32 Debug" 342!ELSEIF "$(CFG)" == "Install - Win32 Debug"
343 343
344# PROP BASE Use_MFC 2 344# PROP BASE Use_MFC 2
345# PROP BASE Use_Debug_Libraries 1 345# PROP BASE Use_Debug_Libraries 1
346# PROP BASE Output_Dir "Install\Debug" 346# PROP BASE Output_Dir "Install\Debug"
347# PROP BASE Intermediate_Dir "Install\Debug" 347# PROP BASE Intermediate_Dir "Install\Debug"
348# PROP BASE Target_Dir "Install" 348# PROP BASE Target_Dir "Install"
349# PROP Use_MFC 2 349# PROP Use_MFC 2
350# PROP Use_Debug_Libraries 1 350# PROP Use_Debug_Libraries 1
351# PROP Output_Dir "Install\Debug" 351# PROP Output_Dir "Install\Debug"
352# PROP Intermediate_Dir "Install\Debug" 352# PROP Intermediate_Dir "Install\Debug"
353# PROP Target_Dir "Install" 353# PROP Target_Dir "Install"
354OUTDIR=.\Install\Debug 354OUTDIR=.\Install\Debug
355INTDIR=.\Install\Debug 355INTDIR=.\Install\Debug
356 356
357ALL : "KLog - Win32 Debug" "$(OUTDIR)\Install.exe" 357ALL : "KLog - Win32 Debug" "$(OUTDIR)\Install.exe"
358 358
359CLEAN : 359CLEAN :
360 -@erase "$(INTDIR)\install.obj" 360 -@erase "$(INTDIR)\install.obj"
361 -@erase "$(INTDIR)\Install.res" 361 -@erase "$(INTDIR)\Install.res"
362 -@erase "$(INTDIR)\vc40.idb" 362 -@erase "$(INTDIR)\vc40.idb"
363 -@erase "$(INTDIR)\vc40.pdb" 363 -@erase "$(INTDIR)\vc40.pdb"
364 -@erase "$(OUTDIR)\Install.exe" 364 -@erase "$(OUTDIR)\Install.exe"
365 -@erase "$(OUTDIR)\Install.ilk" 365 -@erase "$(OUTDIR)\Install.ilk"
366 -@erase "$(OUTDIR)\Install.pdb" 366 -@erase "$(OUTDIR)\Install.pdb"
367 367
368"$(OUTDIR)" : 368"$(OUTDIR)" :
369 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" 369 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
370 370
371# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /YX /c 371# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /YX /c
372# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /YX /c 372# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /YX /c
373CPP_PROJ=/nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS"\ 373CPP_PROJ=/nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS"\
374 /D "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)/Install.pch" /YX /Fo"$(INTDIR)/"\ 374 /D "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)/Install.pch" /YX /Fo"$(INTDIR)/"\
375 /Fd"$(INTDIR)/" /c 375 /Fd"$(INTDIR)/" /c
376CPP_OBJS=.\Install\Debug/ 376CPP_OBJS=.\Install\Debug/
377CPP_SBRS=.\. 377CPP_SBRS=.\.
378# ADD BASE MTL /nologo /D "_DEBUG" /win32 378# ADD BASE MTL /nologo /D "_DEBUG" /win32
379# ADD MTL /nologo /D "_DEBUG" /win32 379# ADD MTL /nologo /D "_DEBUG" /win32
380MTL_PROJ=/nologo /D "_DEBUG" /win32 380MTL_PROJ=/nologo /D "_DEBUG" /win32
381# ADD BASE RSC /l 0x409 /d "_DEBUG" /d "_AFXDLL" 381# ADD BASE RSC /l 0x409 /d "_DEBUG" /d "_AFXDLL"
382# ADD RSC /l 0x409 /d "_DEBUG" /d "_AFXDLL" 382# ADD RSC /l 0x409 /d "_DEBUG" /d "_AFXDLL"
383RSC_PROJ=/l 0x409 /fo"$(INTDIR)/Install.res" /d "_DEBUG" /d "_AFXDLL" 383RSC_PROJ=/l 0x409 /fo"$(INTDIR)/Install.res" /d "_DEBUG" /d "_AFXDLL"
384BSC32=bscmake.exe 384BSC32=bscmake.exe
385# ADD BASE BSC32 /nologo 385# ADD BASE BSC32 /nologo
386# ADD BSC32 /nologo 386# ADD BSC32 /nologo
387BSC32_FLAGS=/nologo /o"$(OUTDIR)/Install.bsc" 387BSC32_FLAGS=/nologo /o"$(OUTDIR)/Install.bsc"
388BSC32_SBRS= \ 388BSC32_SBRS= \
389 389
390LINK32=link.exe 390LINK32=link.exe
391# ADD BASE LINK32 /nologo /subsystem:windows /debug /machine:I386 391# ADD BASE LINK32 /nologo /subsystem:windows /debug /machine:I386
392# ADD LINK32 kernel32.lib user32.lib gdi32.lib shell32.lib version.lib advapi32.lib uuid.lib ole32.lib /nologo /subsystem:windows /debug /machine:I386 392# ADD LINK32 kernel32.lib user32.lib gdi32.lib shell32.lib version.lib advapi32.lib uuid.lib ole32.lib /nologo /subsystem:windows /debug /machine:I386
393LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib shell32.lib version.lib\ 393LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib shell32.lib version.lib\
394 advapi32.lib uuid.lib ole32.lib /nologo /subsystem:windows /incremental:yes\ 394 advapi32.lib uuid.lib ole32.lib /nologo /subsystem:windows /incremental:yes\
395 /pdb:"$(OUTDIR)/Install.pdb" /debug /machine:I386 /out:"$(OUTDIR)/Install.exe" 395 /pdb:"$(OUTDIR)/Install.pdb" /debug /machine:I386 /out:"$(OUTDIR)/Install.exe"
396LINK32_OBJS= \ 396LINK32_OBJS= \
397 "$(INTDIR)\install.obj" \ 397 "$(INTDIR)\install.obj" \
398 "$(INTDIR)\Install.res" 398 "$(INTDIR)\Install.res"
399 399
400"$(OUTDIR)\Install.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) 400"$(OUTDIR)\Install.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
401 $(LINK32) @<< 401 $(LINK32) @<<
402 $(LINK32_FLAGS) $(LINK32_OBJS) 402 $(LINK32_FLAGS) $(LINK32_OBJS)
403<< 403<<
404 404
405!ELSEIF "$(CFG)" == "Install - Win32 Pure" 405!ELSEIF "$(CFG)" == "Install - Win32 Pure"
406 406
407# PROP BASE Use_MFC 2 407# PROP BASE Use_MFC 2
408# PROP BASE Use_Debug_Libraries 0 408# PROP BASE Use_Debug_Libraries 0
409# PROP BASE Output_Dir "Install\Pure" 409# PROP BASE Output_Dir "Install\Pure"
410# PROP BASE Intermediate_Dir "Install\Pure" 410# PROP BASE Intermediate_Dir "Install\Pure"
411# PROP BASE Target_Dir "Install" 411# PROP BASE Target_Dir "Install"
412# PROP Use_MFC 2 412# PROP Use_MFC 2
413# PROP Use_Debug_Libraries 0 413# PROP Use_Debug_Libraries 0
414# PROP Output_Dir "Install\Pure" 414# PROP Output_Dir "Install\Pure"
415# PROP Intermediate_Dir "Install\Pure" 415# PROP Intermediate_Dir "Install\Pure"
416# PROP Target_Dir "Install" 416# PROP Target_Dir "Install"
417OUTDIR=.\Install\Pure 417OUTDIR=.\Install\Pure
418INTDIR=.\Install\Pure 418INTDIR=.\Install\Pure
419 419
420ALL : "$(OUTDIR)\Install.exe" 420ALL : "$(OUTDIR)\Install.exe"
421 421
422CLEAN : 422CLEAN :
423 -@erase "$(INTDIR)\install.obj" 423 -@erase "$(INTDIR)\install.obj"
424 -@erase "$(INTDIR)\Install.res" 424 -@erase "$(INTDIR)\Install.res"
425 -@erase "$(OUTDIR)\Install.exe" 425 -@erase "$(OUTDIR)\Install.exe"
426 426
427"$(OUTDIR)" : 427"$(OUTDIR)" :
428 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" 428 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
429 429
430# ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /YX /c 430# ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /YX /c
431# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /YX /c 431# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /YX /c
432CPP_PROJ=/nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D\ 432CPP_PROJ=/nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D\
433 "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)/Install.pch" /YX /Fo"$(INTDIR)/" /c 433 "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)/Install.pch" /YX /Fo"$(INTDIR)/" /c
434CPP_OBJS=.\Install\Pure/ 434CPP_OBJS=.\Install\Pure/
435CPP_SBRS=.\. 435CPP_SBRS=.\.
436# ADD BASE MTL /nologo /D "NDEBUG" /win32 436# ADD BASE MTL /nologo /D "NDEBUG" /win32
437# ADD MTL /nologo /D "NDEBUG" /win32 437# ADD MTL /nologo /D "NDEBUG" /win32
438MTL_PROJ=/nologo /D "NDEBUG" /win32 438MTL_PROJ=/nologo /D "NDEBUG" /win32
439# ADD BASE RSC /l 0x409 /d "NDEBUG" /d "_AFXDLL" 439# ADD BASE RSC /l 0x409 /d "NDEBUG" /d "_AFXDLL"
440# ADD RSC /l 0x409 /d "NDEBUG" /d "_AFXDLL" 440# ADD RSC /l 0x409 /d "NDEBUG" /d "_AFXDLL"
441RSC_PROJ=/l 0x409 /fo"$(INTDIR)/Install.res" /d "NDEBUG" /d "_AFXDLL" 441RSC_PROJ=/l 0x409 /fo"$(INTDIR)/Install.res" /d "NDEBUG" /d "_AFXDLL"
442BSC32=bscmake.exe 442BSC32=bscmake.exe
443# ADD BASE BSC32 /nologo 443# ADD BASE BSC32 /nologo
444# ADD BSC32 /nologo 444# ADD BSC32 /nologo
445BSC32_FLAGS=/nologo /o"$(OUTDIR)/Install.bsc" 445BSC32_FLAGS=/nologo /o"$(OUTDIR)/Install.bsc"
446BSC32_SBRS= \ 446BSC32_SBRS= \
447 447
448LINK32=link.exe 448LINK32=link.exe
449# ADD BASE LINK32 /nologo /subsystem:windows /machine:I386 449# ADD BASE LINK32 /nologo /subsystem:windows /machine:I386
450# ADD LINK32 kernel32.lib user32.lib gdi32.lib shell32.lib version.lib advapi32.lib uuid.lib ole32.lib /nologo /subsystem:windows /machine:I386 450# ADD LINK32 kernel32.lib user32.lib gdi32.lib shell32.lib version.lib advapi32.lib uuid.lib ole32.lib /nologo /subsystem:windows /machine:I386
451LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib shell32.lib version.lib\ 451LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib shell32.lib version.lib\
452 advapi32.lib uuid.lib ole32.lib /nologo /subsystem:windows /incremental:no\ 452 advapi32.lib uuid.lib ole32.lib /nologo /subsystem:windows /incremental:no\
453 /pdb:"$(OUTDIR)/Install.pdb" /machine:I386 /out:"$(OUTDIR)/Install.exe" 453 /pdb:"$(OUTDIR)/Install.pdb" /machine:I386 /out:"$(OUTDIR)/Install.exe"
454LINK32_OBJS= \ 454LINK32_OBJS= \
455 "$(INTDIR)\install.obj" \ 455 "$(INTDIR)\install.obj" \
456 "$(INTDIR)\Install.res" 456 "$(INTDIR)\Install.res"
457 457
458"$(OUTDIR)\Install.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) 458"$(OUTDIR)\Install.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
459 $(LINK32) @<< 459 $(LINK32) @<<
460 $(LINK32_FLAGS) $(LINK32_OBJS) 460 $(LINK32_FLAGS) $(LINK32_OBJS)
461<< 461<<
462 462
463!ELSEIF "$(CFG)" == "Install - Win32 Canned" 463!ELSEIF "$(CFG)" == "Install - Win32 Canned"
464 464
465# PROP BASE Use_MFC 2 465# PROP BASE Use_MFC 2
466# PROP BASE Use_Debug_Libraries 0 466# PROP BASE Use_Debug_Libraries 0
467# PROP BASE Output_Dir "Install\Canned" 467# PROP BASE Output_Dir "Install\Canned"
468# PROP BASE Intermediate_Dir "Install\Canned" 468# PROP BASE Intermediate_Dir "Install\Canned"
469# PROP BASE Target_Dir "Install" 469# PROP BASE Target_Dir "Install"
470# PROP Use_MFC 2 470# PROP Use_MFC 2
471# PROP Use_Debug_Libraries 0 471# PROP Use_Debug_Libraries 0
472# PROP Output_Dir "Install\Canned" 472# PROP Output_Dir "Install\Canned"
473# PROP Intermediate_Dir "Install\Canned" 473# PROP Intermediate_Dir "Install\Canned"
474# PROP Target_Dir "Install" 474# PROP Target_Dir "Install"
475OUTDIR=.\Install\Canned 475OUTDIR=.\Install\Canned
476INTDIR=.\Install\Canned 476INTDIR=.\Install\Canned
477 477
478ALL : "$(OUTDIR)\Install.exe" 478ALL : "$(OUTDIR)\Install.exe"
479 479
480CLEAN : 480CLEAN :
481 -@erase "$(INTDIR)\install.obj" 481 -@erase "$(INTDIR)\install.obj"
482 -@erase "$(INTDIR)\Install.res" 482 -@erase "$(INTDIR)\Install.res"
483 -@erase "$(OUTDIR)\Install.exe" 483 -@erase "$(OUTDIR)\Install.exe"
484 484
485"$(OUTDIR)" : 485"$(OUTDIR)" :
486 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" 486 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
487 487
488# ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /YX /c 488# ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /YX /c
489# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /D "K_ANNED" /YX /c 489# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /D "K_ANNED" /YX /c
490CPP_PROJ=/nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D\ 490CPP_PROJ=/nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D\
491 "_AFXDLL" /D "_MBCS" /D "K_ANNED" /Fp"$(INTDIR)/Install.pch" /YX\ 491 "_AFXDLL" /D "_MBCS" /D "K_ANNED" /Fp"$(INTDIR)/Install.pch" /YX\
492 /Fo"$(INTDIR)/" /c 492 /Fo"$(INTDIR)/" /c
493CPP_OBJS=.\Install\Canned/ 493CPP_OBJS=.\Install\Canned/
494CPP_SBRS=.\. 494CPP_SBRS=.\.
495# ADD BASE MTL /nologo /D "NDEBUG" /win32 495# ADD BASE MTL /nologo /D "NDEBUG" /win32
496# ADD MTL /nologo /D "NDEBUG" /win32 496# ADD MTL /nologo /D "NDEBUG" /win32
497MTL_PROJ=/nologo /D "NDEBUG" /win32 497MTL_PROJ=/nologo /D "NDEBUG" /win32
498# ADD BASE RSC /l 0x409 /d "NDEBUG" /d "_AFXDLL" 498# ADD BASE RSC /l 0x409 /d "NDEBUG" /d "_AFXDLL"
499# ADD RSC /l 0x409 /d "NDEBUG" /d "_AFXDLL" /d "K_ANNED" 499# ADD RSC /l 0x409 /d "NDEBUG" /d "_AFXDLL" /d "K_ANNED"
500RSC_PROJ=/l 0x409 /fo"$(INTDIR)/Install.res" /d "NDEBUG" /d "_AFXDLL" /d\ 500RSC_PROJ=/l 0x409 /fo"$(INTDIR)/Install.res" /d "NDEBUG" /d "_AFXDLL" /d\
501 "K_ANNED" 501 "K_ANNED"
502BSC32=bscmake.exe 502BSC32=bscmake.exe
503# ADD BASE BSC32 /nologo 503# ADD BASE BSC32 /nologo
504# ADD BSC32 /nologo 504# ADD BSC32 /nologo
505BSC32_FLAGS=/nologo /o"$(OUTDIR)/Install.bsc" 505BSC32_FLAGS=/nologo /o"$(OUTDIR)/Install.bsc"
506BSC32_SBRS= \ 506BSC32_SBRS= \
507 507
508LINK32=link.exe 508LINK32=link.exe
509# ADD BASE LINK32 /nologo /subsystem:windows /machine:I386 509# ADD BASE LINK32 /nologo /subsystem:windows /machine:I386
510# ADD LINK32 kernel32.lib user32.lib gdi32.lib shell32.lib version.lib advapi32.lib uuid.lib ole32.lib /nologo /subsystem:windows /machine:I386 510# ADD LINK32 kernel32.lib user32.lib gdi32.lib shell32.lib version.lib advapi32.lib uuid.lib ole32.lib /nologo /subsystem:windows /machine:I386
511LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib shell32.lib version.lib\ 511LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib shell32.lib version.lib\
512 advapi32.lib uuid.lib ole32.lib /nologo /subsystem:windows /incremental:no\ 512 advapi32.lib uuid.lib ole32.lib /nologo /subsystem:windows /incremental:no\
513 /pdb:"$(OUTDIR)/Install.pdb" /machine:I386 /out:"$(OUTDIR)/Install.exe" 513 /pdb:"$(OUTDIR)/Install.pdb" /machine:I386 /out:"$(OUTDIR)/Install.exe"
514LINK32_OBJS= \ 514LINK32_OBJS= \
515 "$(INTDIR)\install.obj" \ 515 "$(INTDIR)\install.obj" \
516 "$(INTDIR)\Install.res" 516 "$(INTDIR)\Install.res"
517 517
518"$(OUTDIR)\Install.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) 518"$(OUTDIR)\Install.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
519 $(LINK32) @<< 519 $(LINK32) @<<
520 $(LINK32_FLAGS) $(LINK32_OBJS) 520 $(LINK32_FLAGS) $(LINK32_OBJS)
521<< 521<<
522 522
523!ELSEIF "$(CFG)" == "Install - Win32 Static" 523!ELSEIF "$(CFG)" == "Install - Win32 Static"
524 524
525# PROP BASE Use_MFC 2 525# PROP BASE Use_MFC 2
526# PROP BASE Use_Debug_Libraries 0 526# PROP BASE Use_Debug_Libraries 0
527# PROP BASE Output_Dir "Install\Static" 527# PROP BASE Output_Dir "Install\Static"
528# PROP BASE Intermediate_Dir "Install\Static" 528# PROP BASE Intermediate_Dir "Install\Static"
529# PROP BASE Target_Dir "Install" 529# PROP BASE Target_Dir "Install"
530# PROP Use_MFC 2 530# PROP Use_MFC 2
531# PROP Use_Debug_Libraries 0 531# PROP Use_Debug_Libraries 0
532# PROP Output_Dir "Install\Static" 532# PROP Output_Dir "Install\Static"
533# PROP Intermediate_Dir "Install\Static" 533# PROP Intermediate_Dir "Install\Static"
534# PROP Target_Dir "Install" 534# PROP Target_Dir "Install"
535OUTDIR=.\Install\Static 535OUTDIR=.\Install\Static
536INTDIR=.\Install\Static 536INTDIR=.\Install\Static
537 537
538ALL : "$(OUTDIR)\Install.exe" 538ALL : "$(OUTDIR)\Install.exe"
539 539
540CLEAN : 540CLEAN :
541 -@erase "$(INTDIR)\install.obj" 541 -@erase "$(INTDIR)\install.obj"
542 -@erase "$(INTDIR)\Install.res" 542 -@erase "$(INTDIR)\Install.res"
543 -@erase "$(OUTDIR)\Install.exe" 543 -@erase "$(OUTDIR)\Install.exe"
544 544
545"$(OUTDIR)" : 545"$(OUTDIR)" :
546 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" 546 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
547 547
548# ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /YX /c 548# ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /YX /c
549# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /D "STATI_K" /YX /c 549# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /D "STATI_K" /YX /c
550CPP_PROJ=/nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D\ 550CPP_PROJ=/nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D\
551 "_AFXDLL" /D "_MBCS" /D "STATI_K" /Fp"$(INTDIR)/Install.pch" /YX\ 551 "_AFXDLL" /D "_MBCS" /D "STATI_K" /Fp"$(INTDIR)/Install.pch" /YX\
552 /Fo"$(INTDIR)/" /c 552 /Fo"$(INTDIR)/" /c
553CPP_OBJS=.\Install\Static/ 553CPP_OBJS=.\Install\Static/
554CPP_SBRS=.\. 554CPP_SBRS=.\.
555# ADD BASE MTL /nologo /D "NDEBUG" /win32 555# ADD BASE MTL /nologo /D "NDEBUG" /win32
556# ADD MTL /nologo /D "NDEBUG" /win32 556# ADD MTL /nologo /D "NDEBUG" /win32
557MTL_PROJ=/nologo /D "NDEBUG" /win32 557MTL_PROJ=/nologo /D "NDEBUG" /win32
558# ADD BASE RSC /l 0x409 /d "NDEBUG" /d "_AFXDLL" 558# ADD BASE RSC /l 0x409 /d "NDEBUG" /d "_AFXDLL"
559# ADD RSC /l 0x409 /d "NDEBUG" /d "_AFXDLL" /d "STATI_K" 559# ADD RSC /l 0x409 /d "NDEBUG" /d "_AFXDLL" /d "STATI_K"
560RSC_PROJ=/l 0x409 /fo"$(INTDIR)/Install.res" /d "NDEBUG" /d "_AFXDLL" /d\ 560RSC_PROJ=/l 0x409 /fo"$(INTDIR)/Install.res" /d "NDEBUG" /d "_AFXDLL" /d\
561 "STATI_K" 561 "STATI_K"
562BSC32=bscmake.exe 562BSC32=bscmake.exe
563# ADD BASE BSC32 /nologo 563# ADD BASE BSC32 /nologo
564# ADD BSC32 /nologo 564# ADD BSC32 /nologo
565BSC32_FLAGS=/nologo /o"$(OUTDIR)/Install.bsc" 565BSC32_FLAGS=/nologo /o"$(OUTDIR)/Install.bsc"
566BSC32_SBRS= \ 566BSC32_SBRS= \
567 567
568LINK32=link.exe 568LINK32=link.exe
569# ADD BASE LINK32 /nologo /subsystem:windows /machine:I386 569# ADD BASE LINK32 /nologo /subsystem:windows /machine:I386
570# ADD LINK32 kernel32.lib user32.lib gdi32.lib shell32.lib version.lib advapi32.lib uuid.lib ole32.lib /nologo /subsystem:windows /machine:I386 570# ADD LINK32 kernel32.lib user32.lib gdi32.lib shell32.lib version.lib advapi32.lib uuid.lib ole32.lib /nologo /subsystem:windows /machine:I386
571LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib shell32.lib version.lib\ 571LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib shell32.lib version.lib\
572 advapi32.lib uuid.lib ole32.lib /nologo /subsystem:windows /incremental:no\ 572 advapi32.lib uuid.lib ole32.lib /nologo /subsystem:windows /incremental:no\
573 /pdb:"$(OUTDIR)/Install.pdb" /machine:I386 /out:"$(OUTDIR)/Install.exe" 573 /pdb:"$(OUTDIR)/Install.pdb" /machine:I386 /out:"$(OUTDIR)/Install.exe"
574LINK32_OBJS= \ 574LINK32_OBJS= \
575 "$(INTDIR)\install.obj" \ 575 "$(INTDIR)\install.obj" \
576 "$(INTDIR)\Install.res" 576 "$(INTDIR)\Install.res"
577 577
578"$(OUTDIR)\Install.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) 578"$(OUTDIR)\Install.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
579 $(LINK32) @<< 579 $(LINK32) @<<
580 $(LINK32_FLAGS) $(LINK32_OBJS) 580 $(LINK32_FLAGS) $(LINK32_OBJS)
581<< 581<<
582 582
583!ENDIF 583!ENDIF
584 584
585.c{$(CPP_OBJS)}.obj: 585.c{$(CPP_OBJS)}.obj:
586 $(CPP) $(CPP_PROJ) $< 586 $(CPP) $(CPP_PROJ) $<
587 587
588.cpp{$(CPP_OBJS)}.obj: 588.cpp{$(CPP_OBJS)}.obj:
589 $(CPP) $(CPP_PROJ) $< 589 $(CPP) $(CPP_PROJ) $<
590 590
591.cxx{$(CPP_OBJS)}.obj: 591.cxx{$(CPP_OBJS)}.obj:
592 $(CPP) $(CPP_PROJ) $< 592 $(CPP) $(CPP_PROJ) $<
593 593
594.c{$(CPP_SBRS)}.sbr: 594.c{$(CPP_SBRS)}.sbr:
595 $(CPP) $(CPP_PROJ) $< 595 $(CPP) $(CPP_PROJ) $<
596 596
597.cpp{$(CPP_SBRS)}.sbr: 597.cpp{$(CPP_SBRS)}.sbr:
598 $(CPP) $(CPP_PROJ) $< 598 $(CPP) $(CPP_PROJ) $<
599 599
600.cxx{$(CPP_SBRS)}.sbr: 600.cxx{$(CPP_SBRS)}.sbr:
601 $(CPP) $(CPP_PROJ) $< 601 $(CPP) $(CPP_PROJ) $<
602 602
603################################################################################ 603################################################################################
604# Begin Target 604# Begin Target
605 605
606# Name "KLog - Win32 Release" 606# Name "KLog - Win32 Release"
607# Name "KLog - Win32 Debug" 607# Name "KLog - Win32 Debug"
608# Name "KLog - Win32 Static Release" 608# Name "KLog - Win32 Static Release"
609 609
610!IF "$(CFG)" == "KLog - Win32 Release" 610!IF "$(CFG)" == "KLog - Win32 Release"
611 611
612!ELSEIF "$(CFG)" == "KLog - Win32 Debug" 612!ELSEIF "$(CFG)" == "KLog - Win32 Debug"
613 613
614!ELSEIF "$(CFG)" == "KLog - Win32 Static Release" 614!ELSEIF "$(CFG)" == "KLog - Win32 Static Release"
615 615
616!ENDIF 616!ENDIF
617 617
618################################################################################ 618################################################################################
619# Begin Source File 619# Begin Source File
620 620
621SOURCE=.\KLog.cpp 621SOURCE=.\KLog.cpp
622DEP_CPP_KLOG_=\ 622DEP_CPP_KLOG_=\
623 ".\KLog.h"\ 623 ".\KLog.h"\
624 ".\KLogDlg.h"\ 624 ".\KLogDlg.h"\
625 ".\stdafx.h"\ 625 ".\stdafx.h"\
626 ".\SyslogSocket.h"\ 626 ".\SyslogSocket.h"\
627 627
628 628
629!IF "$(CFG)" == "KLog - Win32 Release" 629!IF "$(CFG)" == "KLog - Win32 Release"
630 630
631 631
632"$(INTDIR)\KLog.obj" : $(SOURCE) $(DEP_CPP_KLOG_) "$(INTDIR)"\ 632"$(INTDIR)\KLog.obj" : $(SOURCE) $(DEP_CPP_KLOG_) "$(INTDIR)"\
633 "$(INTDIR)\klog.pch" 633 "$(INTDIR)\klog.pch"
634 634
635 635
636!ELSEIF "$(CFG)" == "KLog - Win32 Debug" 636!ELSEIF "$(CFG)" == "KLog - Win32 Debug"
637 637
638 638
639"$(INTDIR)\KLog.obj" : $(SOURCE) $(DEP_CPP_KLOG_) "$(INTDIR)"\ 639"$(INTDIR)\KLog.obj" : $(SOURCE) $(DEP_CPP_KLOG_) "$(INTDIR)"\
640 "$(INTDIR)\klog.pch" 640 "$(INTDIR)\klog.pch"
641 641
642 642
643!ELSEIF "$(CFG)" == "KLog - Win32 Static Release" 643!ELSEIF "$(CFG)" == "KLog - Win32 Static Release"
644 644
645 645
646"$(INTDIR)\KLog.obj" : $(SOURCE) $(DEP_CPP_KLOG_) "$(INTDIR)"\ 646"$(INTDIR)\KLog.obj" : $(SOURCE) $(DEP_CPP_KLOG_) "$(INTDIR)"\
647 "$(INTDIR)\klog.pch" 647 "$(INTDIR)\klog.pch"
648 648
649 649
650!ENDIF 650!ENDIF
651 651
652# End Source File 652# End Source File
653################################################################################ 653################################################################################
654# Begin Source File 654# Begin Source File
655 655
656SOURCE=.\KLogDlg.cpp 656SOURCE=.\KLogDlg.cpp
657DEP_CPP_KLOGD=\ 657DEP_CPP_KLOGD=\
658 ".\KLog.h"\ 658 ".\KLog.h"\
659 ".\KLogDlg.h"\ 659 ".\KLogDlg.h"\
660 ".\LogPattern.h"\ 660 ".\LogPattern.h"\
661 ".\stdafx.h"\ 661 ".\stdafx.h"\
662 ".\SyslogSocket.h"\ 662 ".\SyslogSocket.h"\
663 ".\Trayer.h"\ 663 ".\Trayer.h"\
664 ".\WarnBlocking.h"\ 664 ".\WarnBlocking.h"\
665 665
666 666
667!IF "$(CFG)" == "KLog - Win32 Release" 667!IF "$(CFG)" == "KLog - Win32 Release"
668 668
669 669
670"$(INTDIR)\KLogDlg.obj" : $(SOURCE) $(DEP_CPP_KLOGD) "$(INTDIR)"\ 670"$(INTDIR)\KLogDlg.obj" : $(SOURCE) $(DEP_CPP_KLOGD) "$(INTDIR)"\
671 "$(INTDIR)\klog.pch" 671 "$(INTDIR)\klog.pch"
672 672
673 673
674!ELSEIF "$(CFG)" == "KLog - Win32 Debug" 674!ELSEIF "$(CFG)" == "KLog - Win32 Debug"
675 675
676 676
677"$(INTDIR)\KLogDlg.obj" : $(SOURCE) $(DEP_CPP_KLOGD) "$(INTDIR)"\ 677"$(INTDIR)\KLogDlg.obj" : $(SOURCE) $(DEP_CPP_KLOGD) "$(INTDIR)"\
678 "$(INTDIR)\klog.pch" 678 "$(INTDIR)\klog.pch"
679 679
680 680
681!ELSEIF "$(CFG)" == "KLog - Win32 Static Release" 681!ELSEIF "$(CFG)" == "KLog - Win32 Static Release"
682 682
683 683
684"$(INTDIR)\KLogDlg.obj" : $(SOURCE) $(DEP_CPP_KLOGD) "$(INTDIR)"\ 684"$(INTDIR)\KLogDlg.obj" : $(SOURCE) $(DEP_CPP_KLOGD) "$(INTDIR)"\
685 "$(INTDIR)\klog.pch" 685 "$(INTDIR)\klog.pch"
686 686
687 687
688!ENDIF 688!ENDIF
689 689
690# End Source File 690# End Source File
691################################################################################ 691################################################################################
692# Begin Source File 692# Begin Source File
693 693
694SOURCE=.\StdAfx.cpp 694SOURCE=.\StdAfx.cpp
695DEP_CPP_STDAF=\ 695DEP_CPP_STDAF=\
696 ".\stdafx.h"\ 696 ".\stdafx.h"\
697 697
698 698
699!IF "$(CFG)" == "KLog - Win32 Release" 699!IF "$(CFG)" == "KLog - Win32 Release"
700 700
701# ADD CPP /Yc"stdafx.h" 701# ADD CPP /Yc"stdafx.h"
702 702
703BuildCmds= \ 703BuildCmds= \
704 $(CPP) /nologo /MD /W3 /GX /O1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D\ 704 $(CPP) /nologo /MD /W3 /GX /O1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D\
705 "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)/klog.pch" /Yc"stdafx.h" /Fo"$(INTDIR)/" /c\ 705 "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)/klog.pch" /Yc"stdafx.h" /Fo"$(INTDIR)/" /c\
706 $(SOURCE) \ 706 $(SOURCE) \
707 707
708 708
709"$(INTDIR)\StdAfx.obj" : $(SOURCE) $(DEP_CPP_STDAF) "$(INTDIR)" 709"$(INTDIR)\StdAfx.obj" : $(SOURCE) $(DEP_CPP_STDAF) "$(INTDIR)"
710 $(BuildCmds) 710 $(BuildCmds)
711 711
712"$(INTDIR)\klog.pch" : $(SOURCE) $(DEP_CPP_STDAF) "$(INTDIR)" 712"$(INTDIR)\klog.pch" : $(SOURCE) $(DEP_CPP_STDAF) "$(INTDIR)"
713 $(BuildCmds) 713 $(BuildCmds)
714 714
715!ELSEIF "$(CFG)" == "KLog - Win32 Debug" 715!ELSEIF "$(CFG)" == "KLog - Win32 Debug"
716 716
717# ADD CPP /Yc"stdafx.h" 717# ADD CPP /Yc"stdafx.h"
718 718
719BuildCmds= \ 719BuildCmds= \
720 $(CPP) /nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS"\ 720 $(CPP) /nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS"\
721 /D "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)/klog.pch" /Yc"stdafx.h" /Fo"$(INTDIR)/"\ 721 /D "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)/klog.pch" /Yc"stdafx.h" /Fo"$(INTDIR)/"\
722 /Fd"$(INTDIR)/" /c $(SOURCE) \ 722 /Fd"$(INTDIR)/" /c $(SOURCE) \
723 723
724 724
725"$(INTDIR)\StdAfx.obj" : $(SOURCE) $(DEP_CPP_STDAF) "$(INTDIR)" 725"$(INTDIR)\StdAfx.obj" : $(SOURCE) $(DEP_CPP_STDAF) "$(INTDIR)"
726 $(BuildCmds) 726 $(BuildCmds)
727 727
728"$(INTDIR)\klog.pch" : $(SOURCE) $(DEP_CPP_STDAF) "$(INTDIR)" 728"$(INTDIR)\klog.pch" : $(SOURCE) $(DEP_CPP_STDAF) "$(INTDIR)"
729 $(BuildCmds) 729 $(BuildCmds)
730 730
731!ELSEIF "$(CFG)" == "KLog - Win32 Static Release" 731!ELSEIF "$(CFG)" == "KLog - Win32 Static Release"
732 732
733# ADD BASE CPP /Yc"stdafx.h" 733# ADD BASE CPP /Yc"stdafx.h"
734# ADD CPP /Yc"stdafx.h" 734# ADD CPP /Yc"stdafx.h"
735 735
736BuildCmds= \ 736BuildCmds= \
737 $(CPP) /nologo /MT /W3 /GX /O1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS"\ 737 $(CPP) /nologo /MT /W3 /GX /O1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS"\
738 /Fp"$(INTDIR)/klog.pch" /Yc"stdafx.h" /Fo"$(INTDIR)/" /c $(SOURCE) \ 738 /Fp"$(INTDIR)/klog.pch" /Yc"stdafx.h" /Fo"$(INTDIR)/" /c $(SOURCE) \
739 739
740 740
741"$(INTDIR)\StdAfx.obj" : $(SOURCE) $(DEP_CPP_STDAF) "$(INTDIR)" 741"$(INTDIR)\StdAfx.obj" : $(SOURCE) $(DEP_CPP_STDAF) "$(INTDIR)"
742 $(BuildCmds) 742 $(BuildCmds)
743 743
744"$(INTDIR)\klog.pch" : $(SOURCE) $(DEP_CPP_STDAF) "$(INTDIR)" 744"$(INTDIR)\klog.pch" : $(SOURCE) $(DEP_CPP_STDAF) "$(INTDIR)"
745 $(BuildCmds) 745 $(BuildCmds)
746 746
747!ENDIF 747!ENDIF
748 748
749# End Source File 749# End Source File
750################################################################################ 750################################################################################
751# Begin Source File 751# Begin Source File
752 752
753SOURCE=.\klog.rc 753SOURCE=.\klog.rc
754DEP_RSC_KLOG_R=\ 754DEP_RSC_KLOG_R=\
755 ".\res\fear.wav"\ 755 ".\res\fear.wav"\
756 ".\res\glass.wav"\ 756 ".\res\glass.wav"\
757 ".\res\kick.wav"\ 757 ".\res\kick.wav"\
758 ".\res\klog-icon.ico"\ 758 ".\res\klog-icon.ico"\
759 ".\res\klog-triggered-icon.ico"\ 759 ".\res\klog-triggered-icon.ico"\
760 ".\res\KLog.ico"\ 760 ".\res\KLog.ico"\
761 ".\res\klog.rc2"\ 761 ".\res\klog.rc2"\
762 ".\res\log-pattern.ico"\ 762 ".\res\log-pattern.ico"\
763 ".\res\meow.wav"\ 763 ".\res\meow.wav"\
764 ".\shared-data\browse-icon.ico"\ 764 ".\shared-data\browse-icon.ico"\
765 ".\shared-data\klever-background.bmp"\ 765 ".\shared-data\klever-background.bmp"\
766 ".\shared-data\play-icon.ico"\ 766 ".\shared-data\play-icon.ico"\
767 767
768 768
769!IF "$(CFG)" == "KLog - Win32 Release" 769!IF "$(CFG)" == "KLog - Win32 Release"
770 770
771 771
772"$(INTDIR)\KLog.res" : $(SOURCE) $(DEP_RSC_KLOG_R) "$(INTDIR)" 772"$(INTDIR)\klog.res" : $(SOURCE) $(DEP_RSC_KLOG_R) "$(INTDIR)"
773 $(RSC) $(RSC_PROJ) $(SOURCE) 773 $(RSC) $(RSC_PROJ) $(SOURCE)
774 774
775 775
776!ELSEIF "$(CFG)" == "KLog - Win32 Debug" 776!ELSEIF "$(CFG)" == "KLog - Win32 Debug"
777 777
778 778
779"$(INTDIR)\KLog.res" : $(SOURCE) $(DEP_RSC_KLOG_R) "$(INTDIR)" 779"$(INTDIR)\klog.res" : $(SOURCE) $(DEP_RSC_KLOG_R) "$(INTDIR)"
780 $(RSC) $(RSC_PROJ) $(SOURCE) 780 $(RSC) $(RSC_PROJ) $(SOURCE)
781 781
782 782
783!ELSEIF "$(CFG)" == "KLog - Win32 Static Release" 783!ELSEIF "$(CFG)" == "KLog - Win32 Static Release"
784 784
785 785
786"$(INTDIR)\KLog.res" : $(SOURCE) $(DEP_RSC_KLOG_R) "$(INTDIR)" 786"$(INTDIR)\klog.res" : $(SOURCE) $(DEP_RSC_KLOG_R) "$(INTDIR)"
787 $(RSC) $(RSC_PROJ) $(SOURCE) 787 $(RSC) $(RSC_PROJ) $(SOURCE)
788 788
789 789
790!ENDIF 790!ENDIF
791 791
792# End Source File 792# End Source File
793################################################################################ 793################################################################################
794# Begin Source File 794# Begin Source File
795 795
796SOURCE=.\help\klog.hpj 796SOURCE=.\help\klog.hpj
797 797
798!IF "$(CFG)" == "KLog - Win32 Release" 798!IF "$(CFG)" == "KLog - Win32 Release"
799 799
800# Begin Custom Build - Making help file... 800# Begin Custom Build - Making help file...
801OutDir=.\Release 801OutDir=.\Release
802ProjDir=. 802ProjDir=.
803TargetName=klog 803TargetName=klog
804InputPath=.\help\klog.hpj 804InputPath=.\help\klog.hpj
805 805
806BuildCmds= \ 806BuildCmds= \
807 "$(ProjDir)\makehelp.bat" \ 807 "$(ProjDir)\makehelp.bat" \
808 compress $(OutDir)\$(TargetName).hlp $(OutDir)\$(TargetName).hl_ \ 808 compress $(OutDir)\$(TargetName).hlp $(OutDir)\$(TargetName).hl_ \
809 compress $(OutDir)\$(TargetName).cnt $(OutDir)\$(TargetName).cn_ \ 809 compress $(OutDir)\$(TargetName).cnt $(OutDir)\$(TargetName).cn_ \
810 810
811 811
812"$(OutDir)\$(TargetName).hlp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" 812"$(OutDir)\$(TargetName).hlp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
813 $(BuildCmds) 813 $(BuildCmds)
814 814
815"$(OutDir)\$(TargetName).cnt" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" 815"$(OutDir)\$(TargetName).cnt" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
816 $(BuildCmds) 816 $(BuildCmds)
817 817
818"$(OutDir)\$(TargetName).hl_" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" 818"$(OutDir)\$(TargetName).hl_" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
819 $(BuildCmds) 819 $(BuildCmds)
820 820
821"$(OutDir)\$(TargetName).cn_" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" 821"$(OutDir)\$(TargetName).cn_" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
822 $(BuildCmds) 822 $(BuildCmds)
823# End Custom Build 823# End Custom Build
824 824
825!ELSEIF "$(CFG)" == "KLog - Win32 Debug" 825!ELSEIF "$(CFG)" == "KLog - Win32 Debug"
826 826
827# Begin Custom Build - Making help file... 827# Begin Custom Build - Making help file...
828OutDir=.\Debug 828OutDir=.\Debug
829ProjDir=. 829ProjDir=.
830TargetName=klog 830TargetName=klog
831InputPath=.\help\klog.hpj 831InputPath=.\help\klog.hpj
832 832
833BuildCmds= \ 833BuildCmds= \
834 "$(ProjDir)\makehelp.bat" \ 834 "$(ProjDir)\makehelp.bat" \
835 compress $(OutDir)\$(TargetName).hlp $(OutDir)\$(TargetName).hl_ \ 835 compress $(OutDir)\$(TargetName).hlp $(OutDir)\$(TargetName).hl_ \
836 compress $(OutDir)\$(TargetName).cnt $(OutDir)\$(TargetName).cn_ \ 836 compress $(OutDir)\$(TargetName).cnt $(OutDir)\$(TargetName).cn_ \
837 837
838 838
839"$(OutDir)\$(TargetName).hlp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" 839"$(OutDir)\$(TargetName).hlp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
840 $(BuildCmds) 840 $(BuildCmds)
841 841
842"$(OutDir)\$(TargetName).cnt" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" 842"$(OutDir)\$(TargetName).cnt" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
843 $(BuildCmds) 843 $(BuildCmds)
844 844
845"$(OutDir)\$(TargetName).hl_" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" 845"$(OutDir)\$(TargetName).hl_" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
846 $(BuildCmds) 846 $(BuildCmds)
847 847
848"$(OutDir)\$(TargetName).cn_" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" 848"$(OutDir)\$(TargetName).cn_" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
849 $(BuildCmds) 849 $(BuildCmds)
850# End Custom Build 850# End Custom Build
851 851
852!ELSEIF "$(CFG)" == "KLog - Win32 Static Release" 852!ELSEIF "$(CFG)" == "KLog - Win32 Static Release"
853 853
854# Begin Custom Build - Making help file... 854# Begin Custom Build - Making help file...
855OutDir=.\Releast 855OutDir=.\Releast
856ProjDir=. 856ProjDir=.
857TargetName=klog 857TargetName=klog
858InputPath=.\help\klog.hpj 858InputPath=.\help\klog.hpj
859 859
860BuildCmds= \ 860BuildCmds= \
861 "$(ProjDir)\makehelp.bat" \ 861 "$(ProjDir)\makehelp.bat" \
862 compress $(OutDir)\$(TargetName).hlp $(OutDir)\$(TargetName).hl_ \ 862 compress $(OutDir)\$(TargetName).hlp $(OutDir)\$(TargetName).hl_ \
863 compress $(OutDir)\$(TargetName).cnt $(OutDir)\$(TargetName).cn_ \ 863 compress $(OutDir)\$(TargetName).cnt $(OutDir)\$(TargetName).cn_ \
864 864
865 865
866"$(OutDir)\$(TargetName).hlp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" 866"$(OutDir)\$(TargetName).hlp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
867 $(BuildCmds) 867 $(BuildCmds)
868 868
869"$(OutDir)\$(TargetName).cnt" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" 869"$(OutDir)\$(TargetName).cnt" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
870 $(BuildCmds) 870 $(BuildCmds)
871 871
872"$(OutDir)\$(TargetName).hl_" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" 872"$(OutDir)\$(TargetName).hl_" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
873 $(BuildCmds) 873 $(BuildCmds)
874 874
875"$(OutDir)\$(TargetName).cn_" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" 875"$(OutDir)\$(TargetName).cn_" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
876 $(BuildCmds) 876 $(BuildCmds)
877# End Custom Build 877# End Custom Build
878 878
879!ENDIF 879!ENDIF
880 880
881# End Source File 881# End Source File
882################################################################################ 882################################################################################
883# Begin Source File 883# Begin Source File
884 884
885SOURCE=.\SyslogSocket.cpp 885SOURCE=.\SyslogSocket.cpp
886DEP_CPP_SYSLO=\ 886DEP_CPP_SYSLO=\
887 ".\stdafx.h"\ 887 ".\stdafx.h"\
888 ".\SyslogSocket.h"\ 888 ".\SyslogSocket.h"\
889 889
890 890
891!IF "$(CFG)" == "KLog - Win32 Release" 891!IF "$(CFG)" == "KLog - Win32 Release"
892 892
893 893
894"$(INTDIR)\SyslogSocket.obj" : $(SOURCE) $(DEP_CPP_SYSLO) "$(INTDIR)"\ 894"$(INTDIR)\SyslogSocket.obj" : $(SOURCE) $(DEP_CPP_SYSLO) "$(INTDIR)"\
895 "$(INTDIR)\klog.pch" 895 "$(INTDIR)\klog.pch"
896 896
897 897
898!ELSEIF "$(CFG)" == "KLog - Win32 Debug" 898!ELSEIF "$(CFG)" == "KLog - Win32 Debug"
899 899
900 900
901"$(INTDIR)\SyslogSocket.obj" : $(SOURCE) $(DEP_CPP_SYSLO) "$(INTDIR)"\ 901"$(INTDIR)\SyslogSocket.obj" : $(SOURCE) $(DEP_CPP_SYSLO) "$(INTDIR)"\
902 "$(INTDIR)\klog.pch" 902 "$(INTDIR)\klog.pch"
903 903
904 904
905!ELSEIF "$(CFG)" == "KLog - Win32 Static Release" 905!ELSEIF "$(CFG)" == "KLog - Win32 Static Release"
906 906
907 907
908"$(INTDIR)\SyslogSocket.obj" : $(SOURCE) $(DEP_CPP_SYSLO) "$(INTDIR)"\ 908"$(INTDIR)\SyslogSocket.obj" : $(SOURCE) $(DEP_CPP_SYSLO) "$(INTDIR)"\
909 "$(INTDIR)\klog.pch" 909 "$(INTDIR)\klog.pch"
910 910
911 911
912!ENDIF 912!ENDIF
913 913
914# End Source File 914# End Source File
915################################################################################ 915################################################################################
916# Begin Source File 916# Begin Source File
917 917
918SOURCE=.\Trayer.cpp 918SOURCE=.\Trayer.cpp
919DEP_CPP_TRAYE=\ 919DEP_CPP_TRAYE=\
920 ".\KLog.h"\ 920 ".\KLog.h"\
921 ".\KLogDlg.h"\ 921 ".\KLogDlg.h"\
922 ".\stdafx.h"\ 922 ".\stdafx.h"\
923 ".\SyslogSocket.h"\ 923 ".\SyslogSocket.h"\
924 ".\Trayer.h"\ 924 ".\Trayer.h"\
925 925
926 926
927!IF "$(CFG)" == "KLog - Win32 Release" 927!IF "$(CFG)" == "KLog - Win32 Release"
928 928
929 929
930"$(INTDIR)\Trayer.obj" : $(SOURCE) $(DEP_CPP_TRAYE) "$(INTDIR)"\ 930"$(INTDIR)\Trayer.obj" : $(SOURCE) $(DEP_CPP_TRAYE) "$(INTDIR)"\
931 "$(INTDIR)\klog.pch" 931 "$(INTDIR)\klog.pch"
932 932
933 933
934!ELSEIF "$(CFG)" == "KLog - Win32 Debug" 934!ELSEIF "$(CFG)" == "KLog - Win32 Debug"
935 935
936 936
937"$(INTDIR)\Trayer.obj" : $(SOURCE) $(DEP_CPP_TRAYE) "$(INTDIR)"\ 937"$(INTDIR)\Trayer.obj" : $(SOURCE) $(DEP_CPP_TRAYE) "$(INTDIR)"\
938 "$(INTDIR)\klog.pch" 938 "$(INTDIR)\klog.pch"
939 939
940 940
941!ELSEIF "$(CFG)" == "KLog - Win32 Static Release" 941!ELSEIF "$(CFG)" == "KLog - Win32 Static Release"
942 942
943 943
944"$(INTDIR)\Trayer.obj" : $(SOURCE) $(DEP_CPP_TRAYE) "$(INTDIR)"\ 944"$(INTDIR)\Trayer.obj" : $(SOURCE) $(DEP_CPP_TRAYE) "$(INTDIR)"\
945 "$(INTDIR)\klog.pch" 945 "$(INTDIR)\klog.pch"
946 946
947 947
948!ENDIF 948!ENDIF
949 949
950# End Source File 950# End Source File
951################################################################################ 951################################################################################
952# Begin Source File 952# Begin Source File
953 953
954SOURCE=.\LogPattern.cpp 954SOURCE=.\LogPattern.cpp
955DEP_CPP_LOGPA=\ 955DEP_CPP_LOGPA=\
956 ".\KLog.h"\ 956 ".\KLog.h"\
957 ".\LogPattern.h"\ 957 ".\LogPattern.h"\
958 ".\LogPatternLocal.h"\ 958 ".\LogPatternLocal.h"\
959 ".\LogPatternReserved.h"\ 959 ".\LogPatternReserved.h"\
960 ".\LogPatternUnix.h"\ 960 ".\LogPatternUnix.h"\
961 ".\stdafx.h"\ 961 ".\stdafx.h"\
962 ".\SyslogSocket.h"\ 962 ".\SyslogSocket.h"\
963 963
964 964
965!IF "$(CFG)" == "KLog - Win32 Release" 965!IF "$(CFG)" == "KLog - Win32 Release"
966 966
967 967
968"$(INTDIR)\LogPattern.obj" : $(SOURCE) $(DEP_CPP_LOGPA) "$(INTDIR)"\ 968"$(INTDIR)\LogPattern.obj" : $(SOURCE) $(DEP_CPP_LOGPA) "$(INTDIR)"\
969 "$(INTDIR)\klog.pch" 969 "$(INTDIR)\klog.pch"
970 970
971 971
972!ELSEIF "$(CFG)" == "KLog - Win32 Debug" 972!ELSEIF "$(CFG)" == "KLog - Win32 Debug"
973 973
974 974
975"$(INTDIR)\LogPattern.obj" : $(SOURCE) $(DEP_CPP_LOGPA) "$(INTDIR)"\ 975"$(INTDIR)\LogPattern.obj" : $(SOURCE) $(DEP_CPP_LOGPA) "$(INTDIR)"\
976 "$(INTDIR)\klog.pch" 976 "$(INTDIR)\klog.pch"
977 977
978 978
979!ELSEIF "$(CFG)" == "KLog - Win32 Static Release" 979!ELSEIF "$(CFG)" == "KLog - Win32 Static Release"
980 980
981 981
982"$(INTDIR)\LogPattern.obj" : $(SOURCE) $(DEP_CPP_LOGPA) "$(INTDIR)"\ 982"$(INTDIR)\LogPattern.obj" : $(SOURCE) $(DEP_CPP_LOGPA) "$(INTDIR)"\
983 "$(INTDIR)\klog.pch" 983 "$(INTDIR)\klog.pch"
984 984
985 985
986!ENDIF 986!ENDIF
987 987
988# End Source File 988# End Source File
989################################################################################ 989################################################################################
990# Begin Source File 990# Begin Source File
991 991
992SOURCE=.\LogPatternUnix.cpp 992SOURCE=.\LogPatternUnix.cpp
993DEP_CPP_LOGPAT=\ 993DEP_CPP_LOGPAT=\
994 ".\KLog.h"\ 994 ".\KLog.h"\
995 ".\LogPattern.h"\ 995 ".\LogPattern.h"\
996 ".\LogPatternUnix.h"\ 996 ".\LogPatternUnix.h"\
997 ".\stdafx.h"\ 997 ".\stdafx.h"\
998 ".\SyslogSocket.h"\ 998 ".\SyslogSocket.h"\
999 999
1000 1000
1001!IF "$(CFG)" == "KLog - Win32 Release" 1001!IF "$(CFG)" == "KLog - Win32 Release"
1002 1002
1003 1003
1004"$(INTDIR)\LogPatternUnix.obj" : $(SOURCE) $(DEP_CPP_LOGPAT) "$(INTDIR)"\ 1004"$(INTDIR)\LogPatternUnix.obj" : $(SOURCE) $(DEP_CPP_LOGPAT) "$(INTDIR)"\
1005 "$(INTDIR)\klog.pch" 1005 "$(INTDIR)\klog.pch"
1006 1006
1007 1007
1008!ELSEIF "$(CFG)" == "KLog - Win32 Debug" 1008!ELSEIF "$(CFG)" == "KLog - Win32 Debug"
1009 1009
1010 1010
1011"$(INTDIR)\LogPatternUnix.obj" : $(SOURCE) $(DEP_CPP_LOGPAT) "$(INTDIR)"\ 1011"$(INTDIR)\LogPatternUnix.obj" : $(SOURCE) $(DEP_CPP_LOGPAT) "$(INTDIR)"\
1012 "$(INTDIR)\klog.pch" 1012 "$(INTDIR)\klog.pch"
1013 1013
1014 1014
1015!ELSEIF "$(CFG)" == "KLog - Win32 Static Release" 1015!ELSEIF "$(CFG)" == "KLog - Win32 Static Release"
1016 1016
1017 1017
1018"$(INTDIR)\LogPatternUnix.obj" : $(SOURCE) $(DEP_CPP_LOGPAT) "$(INTDIR)"\ 1018"$(INTDIR)\LogPatternUnix.obj" : $(SOURCE) $(DEP_CPP_LOGPAT) "$(INTDIR)"\
1019 "$(INTDIR)\klog.pch" 1019 "$(INTDIR)\klog.pch"
1020 1020
1021 1021
1022!ENDIF 1022!ENDIF
1023 1023
1024# End Source File 1024# End Source File
1025################################################################################ 1025################################################################################
1026# Begin Source File 1026# Begin Source File
1027 1027
1028SOURCE=.\LogPatternReserved.cpp 1028SOURCE=.\LogPatternReserved.cpp
1029DEP_CPP_LOGPATT=\ 1029DEP_CPP_LOGPATT=\
1030 ".\KLog.h"\ 1030 ".\KLog.h"\
1031 ".\LogPattern.h"\ 1031 ".\LogPattern.h"\
1032 ".\LogPatternReserved.h"\ 1032 ".\LogPatternReserved.h"\
1033 ".\stdafx.h"\ 1033 ".\stdafx.h"\
1034 ".\SyslogSocket.h"\ 1034 ".\SyslogSocket.h"\
1035 1035
1036 1036
1037!IF "$(CFG)" == "KLog - Win32 Release" 1037!IF "$(CFG)" == "KLog - Win32 Release"
1038 1038
1039 1039
1040"$(INTDIR)\LogPatternReserved.obj" : $(SOURCE) $(DEP_CPP_LOGPATT) "$(INTDIR)"\ 1040"$(INTDIR)\LogPatternReserved.obj" : $(SOURCE) $(DEP_CPP_LOGPATT) "$(INTDIR)"\
1041 "$(INTDIR)\klog.pch" 1041 "$(INTDIR)\klog.pch"
1042 1042
1043 1043
1044!ELSEIF "$(CFG)" == "KLog - Win32 Debug" 1044!ELSEIF "$(CFG)" == "KLog - Win32 Debug"
1045 1045
1046 1046
1047"$(INTDIR)\LogPatternReserved.obj" : $(SOURCE) $(DEP_CPP_LOGPATT) "$(INTDIR)"\ 1047"$(INTDIR)\LogPatternReserved.obj" : $(SOURCE) $(DEP_CPP_LOGPATT) "$(INTDIR)"\
1048 "$(INTDIR)\klog.pch" 1048 "$(INTDIR)\klog.pch"
1049 1049
1050 1050
1051!ELSEIF "$(CFG)" == "KLog - Win32 Static Release" 1051!ELSEIF "$(CFG)" == "KLog - Win32 Static Release"
1052 1052
1053 1053
1054"$(INTDIR)\LogPatternReserved.obj" : $(SOURCE) $(DEP_CPP_LOGPATT) "$(INTDIR)"\ 1054"$(INTDIR)\LogPatternReserved.obj" : $(SOURCE) $(DEP_CPP_LOGPATT) "$(INTDIR)"\
1055 "$(INTDIR)\klog.pch" 1055 "$(INTDIR)\klog.pch"
1056 1056
1057 1057
1058!ENDIF 1058!ENDIF
1059 1059
1060# End Source File 1060# End Source File
1061################################################################################ 1061################################################################################
1062# Begin Source File 1062# Begin Source File
1063 1063
1064SOURCE=.\LogPatternLocal.cpp 1064SOURCE=.\LogPatternLocal.cpp
1065DEP_CPP_LOGPATTE=\ 1065DEP_CPP_LOGPATTE=\
1066 ".\KLog.h"\ 1066 ".\KLog.h"\
1067 ".\LogPattern.h"\ 1067 ".\LogPattern.h"\
1068 ".\LogPatternLocal.h"\ 1068 ".\LogPatternLocal.h"\
1069 ".\stdafx.h"\ 1069 ".\stdafx.h"\
1070 ".\SyslogSocket.h"\ 1070 ".\SyslogSocket.h"\
1071 1071
1072 1072
1073!IF "$(CFG)" == "KLog - Win32 Release" 1073!IF "$(CFG)" == "KLog - Win32 Release"
1074 1074
1075 1075
1076"$(INTDIR)\LogPatternLocal.obj" : $(SOURCE) $(DEP_CPP_LOGPATTE) "$(INTDIR)"\ 1076"$(INTDIR)\LogPatternLocal.obj" : $(SOURCE) $(DEP_CPP_LOGPATTE) "$(INTDIR)"\
1077 "$(INTDIR)\klog.pch" 1077 "$(INTDIR)\klog.pch"
1078 1078
1079 1079
1080!ELSEIF "$(CFG)" == "KLog - Win32 Debug" 1080!ELSEIF "$(CFG)" == "KLog - Win32 Debug"
1081 1081
1082 1082
1083"$(INTDIR)\LogPatternLocal.obj" : $(SOURCE) $(DEP_CPP_LOGPATTE) "$(INTDIR)"\ 1083"$(INTDIR)\LogPatternLocal.obj" : $(SOURCE) $(DEP_CPP_LOGPATTE) "$(INTDIR)"\
1084 "$(INTDIR)\klog.pch" 1084 "$(INTDIR)\klog.pch"
1085 1085
1086 1086
1087!ELSEIF "$(CFG)" == "KLog - Win32 Static Release" 1087!ELSEIF "$(CFG)" == "KLog - Win32 Static Release"
1088 1088
1089 1089
1090"$(INTDIR)\LogPatternLocal.obj" : $(SOURCE) $(DEP_CPP_LOGPATTE) "$(INTDIR)"\ 1090"$(INTDIR)\LogPatternLocal.obj" : $(SOURCE) $(DEP_CPP_LOGPATTE) "$(INTDIR)"\
1091 "$(INTDIR)\klog.pch" 1091 "$(INTDIR)\klog.pch"
1092 1092
1093 1093
1094!ENDIF 1094!ENDIF
1095 1095
1096# End Source File 1096# End Source File
1097################################################################################ 1097################################################################################
1098# Begin Source File 1098# Begin Source File
1099 1099
1100SOURCE=.\WarnBlocking.cpp 1100SOURCE=.\WarnBlocking.cpp
1101DEP_CPP_WARNB=\ 1101DEP_CPP_WARNB=\
1102 ".\KLog.h"\ 1102 ".\KLog.h"\
1103 ".\stdafx.h"\ 1103 ".\stdafx.h"\
1104 ".\WarnBlocking.h"\ 1104 ".\WarnBlocking.h"\
1105 1105
1106 1106
1107!IF "$(CFG)" == "KLog - Win32 Release" 1107!IF "$(CFG)" == "KLog - Win32 Release"
1108 1108
1109 1109
1110"$(INTDIR)\WarnBlocking.obj" : $(SOURCE) $(DEP_CPP_WARNB) "$(INTDIR)"\ 1110"$(INTDIR)\WarnBlocking.obj" : $(SOURCE) $(DEP_CPP_WARNB) "$(INTDIR)"\
1111 "$(INTDIR)\klog.pch" 1111 "$(INTDIR)\klog.pch"
1112 1112
1113 1113
1114!ELSEIF "$(CFG)" == "KLog - Win32 Debug" 1114!ELSEIF "$(CFG)" == "KLog - Win32 Debug"
1115 1115
1116 1116
1117"$(INTDIR)\WarnBlocking.obj" : $(SOURCE) $(DEP_CPP_WARNB) "$(INTDIR)"\ 1117"$(INTDIR)\WarnBlocking.obj" : $(SOURCE) $(DEP_CPP_WARNB) "$(INTDIR)"\
1118 "$(INTDIR)\klog.pch" 1118 "$(INTDIR)\klog.pch"
1119 1119
1120 1120
1121!ELSEIF "$(CFG)" == "KLog - Win32 Static Release" 1121!ELSEIF "$(CFG)" == "KLog - Win32 Static Release"
1122 1122
1123 1123
1124"$(INTDIR)\WarnBlocking.obj" : $(SOURCE) $(DEP_CPP_WARNB) "$(INTDIR)"\ 1124"$(INTDIR)\WarnBlocking.obj" : $(SOURCE) $(DEP_CPP_WARNB) "$(INTDIR)"\
1125 "$(INTDIR)\klog.pch" 1125 "$(INTDIR)\klog.pch"
1126 1126
1127 1127
1128!ENDIF 1128!ENDIF
1129 1129
1130# End Source File 1130# End Source File
1131# End Target 1131# End Target
1132################################################################################ 1132################################################################################
1133# Begin Target 1133# Begin Target
1134 1134
1135# Name "Install - Win32 Debug" 1135# Name "Install - Win32 Debug"
1136# Name "Install - Win32 Pure" 1136# Name "Install - Win32 Pure"
1137# Name "Install - Win32 Canned" 1137# Name "Install - Win32 Canned"
1138# Name "Install - Win32 Static" 1138# Name "Install - Win32 Static"
1139 1139
1140!IF "$(CFG)" == "Install - Win32 Debug" 1140!IF "$(CFG)" == "Install - Win32 Debug"
1141 1141
1142!ELSEIF "$(CFG)" == "Install - Win32 Pure" 1142!ELSEIF "$(CFG)" == "Install - Win32 Pure"
1143 1143
1144!ELSEIF "$(CFG)" == "Install - Win32 Canned" 1144!ELSEIF "$(CFG)" == "Install - Win32 Canned"
1145 1145
1146!ELSEIF "$(CFG)" == "Install - Win32 Static" 1146!ELSEIF "$(CFG)" == "Install - Win32 Static"
1147 1147
1148!ENDIF 1148!ENDIF
1149 1149
1150################################################################################ 1150################################################################################
1151# Begin Source File 1151# Begin Source File
1152 1152
1153SOURCE=.\Install\Install.rc 1153SOURCE=.\Install\Install.rc
1154DEP_RSC_INSTA=\ 1154DEP_RSC_INSTA=\
1155 ".\Install\custom.rch"\ 1155 ".\Install\custom.rch"\
1156 ".\shared-data\install-icon.ico"\ 1156 ".\shared-data\install-icon.ico"\
1157 1157
1158 1158
1159!IF "$(CFG)" == "Install - Win32 Debug" 1159!IF "$(CFG)" == "Install - Win32 Debug"
1160 1160
1161 1161
1162"$(INTDIR)\Install.res" : $(SOURCE) $(DEP_RSC_INSTA) "$(INTDIR)" 1162"$(INTDIR)\Install.res" : $(SOURCE) $(DEP_RSC_INSTA) "$(INTDIR)"
1163 $(RSC) /l 0x409 /fo"$(INTDIR)/Install.res" /i "Install" /d "_DEBUG" /d\ 1163 $(RSC) /l 0x409 /fo"$(INTDIR)/Install.res" /i "Install" /d "_DEBUG" /d\
1164 "_AFXDLL" $(SOURCE) 1164 "_AFXDLL" $(SOURCE)
1165 1165
1166 1166
1167!ELSEIF "$(CFG)" == "Install - Win32 Pure" 1167!ELSEIF "$(CFG)" == "Install - Win32 Pure"
1168 1168
1169 1169
1170"$(INTDIR)\Install.res" : $(SOURCE) $(DEP_RSC_INSTA) "$(INTDIR)" 1170"$(INTDIR)\Install.res" : $(SOURCE) $(DEP_RSC_INSTA) "$(INTDIR)"
1171 $(RSC) /l 0x409 /fo"$(INTDIR)/Install.res" /i "Install" /d "NDEBUG" /d\ 1171 $(RSC) /l 0x409 /fo"$(INTDIR)/Install.res" /i "Install" /d "NDEBUG" /d\
1172 "_AFXDLL" $(SOURCE) 1172 "_AFXDLL" $(SOURCE)
1173 1173
1174 1174
1175!ELSEIF "$(CFG)" == "Install - Win32 Canned" 1175!ELSEIF "$(CFG)" == "Install - Win32 Canned"
1176 1176
1177 1177
1178"$(INTDIR)\Install.res" : $(SOURCE) $(DEP_RSC_INSTA) "$(INTDIR)" 1178"$(INTDIR)\Install.res" : $(SOURCE) $(DEP_RSC_INSTA) "$(INTDIR)"
1179 $(RSC) /l 0x409 /fo"$(INTDIR)/Install.res" /i "Install" /d "NDEBUG" /d\ 1179 $(RSC) /l 0x409 /fo"$(INTDIR)/Install.res" /i "Install" /d "NDEBUG" /d\
1180 "_AFXDLL" /d "K_ANNED" $(SOURCE) 1180 "_AFXDLL" /d "K_ANNED" $(SOURCE)
1181 1181
1182 1182
1183!ELSEIF "$(CFG)" == "Install - Win32 Static" 1183!ELSEIF "$(CFG)" == "Install - Win32 Static"
1184 1184
1185 1185
1186"$(INTDIR)\Install.res" : $(SOURCE) $(DEP_RSC_INSTA) "$(INTDIR)" 1186"$(INTDIR)\Install.res" : $(SOURCE) $(DEP_RSC_INSTA) "$(INTDIR)"
1187 $(RSC) /l 0x409 /fo"$(INTDIR)/Install.res" /i "Install" /d "NDEBUG" /d\ 1187 $(RSC) /l 0x409 /fo"$(INTDIR)/Install.res" /i "Install" /d "NDEBUG" /d\
1188 "_AFXDLL" /d "STATI_K" $(SOURCE) 1188 "_AFXDLL" /d "STATI_K" $(SOURCE)
1189 1189
1190 1190
1191!ENDIF 1191!ENDIF
1192 1192
1193# End Source File 1193# End Source File
1194################################################################################ 1194################################################################################
1195# Begin Source File 1195# Begin Source File
1196 1196
1197SOURCE=.\Install\install.cpp 1197SOURCE=.\Install\install.cpp
1198DEP_CPP_INSTAL=\
1199 ".\shared-code\install.h"\
1200
1201 1198
1202!IF "$(CFG)" == "Install - Win32 Debug" 1199!IF "$(CFG)" == "Install - Win32 Debug"
1203 1200
1204 1201
1205"$(INTDIR)\install.obj" : $(SOURCE) $(DEP_CPP_INSTAL) "$(INTDIR)" 1202"$(INTDIR)\install.obj" : $(SOURCE) "$(INTDIR)"
1206 $(CPP) $(CPP_PROJ) $(SOURCE) 1203 $(CPP) $(CPP_PROJ) $(SOURCE)
1207 1204
1208 1205
1209!ELSEIF "$(CFG)" == "Install - Win32 Pure" 1206!ELSEIF "$(CFG)" == "Install - Win32 Pure"
1210 1207
1211 1208
1212"$(INTDIR)\install.obj" : $(SOURCE) $(DEP_CPP_INSTAL) "$(INTDIR)" 1209"$(INTDIR)\install.obj" : $(SOURCE) "$(INTDIR)"
1213 $(CPP) $(CPP_PROJ) $(SOURCE) 1210 $(CPP) $(CPP_PROJ) $(SOURCE)
1214 1211
1215 1212
1216!ELSEIF "$(CFG)" == "Install - Win32 Canned" 1213!ELSEIF "$(CFG)" == "Install - Win32 Canned"
1217 1214
1218 1215
1219"$(INTDIR)\install.obj" : $(SOURCE) $(DEP_CPP_INSTAL) "$(INTDIR)" 1216"$(INTDIR)\install.obj" : $(SOURCE) "$(INTDIR)"
1220 $(CPP) $(CPP_PROJ) $(SOURCE) 1217 $(CPP) $(CPP_PROJ) $(SOURCE)
1221 1218
1222 1219
1223!ELSEIF "$(CFG)" == "Install - Win32 Static" 1220!ELSEIF "$(CFG)" == "Install - Win32 Static"
1224 1221
1225 1222
1226"$(INTDIR)\install.obj" : $(SOURCE) $(DEP_CPP_INSTAL) "$(INTDIR)" 1223"$(INTDIR)\install.obj" : $(SOURCE) "$(INTDIR)"
1227 $(CPP) $(CPP_PROJ) $(SOURCE) 1224 $(CPP) $(CPP_PROJ) $(SOURCE)
1228 1225
1229 1226
1230!ENDIF 1227!ENDIF
1231 1228
1232# End Source File 1229# End Source File
1233################################################################################ 1230################################################################################
1234# Begin Project Dependency 1231# Begin Project Dependency
1235 1232
1236# Project_Dep_Name "KLog" 1233# Project_Dep_Name "KLog"
1237 1234
1238!IF "$(CFG)" == "Install - Win32 Debug" 1235!IF "$(CFG)" == "Install - Win32 Debug"
1239 1236
1240"KLog - Win32 Debug" : 1237"KLog - Win32 Debug" :
1241 $(MAKE) /$(MAKEFLAGS) /F ".\klog.mak" CFG="KLog - Win32 Debug" 1238 $(MAKE) /$(MAKEFLAGS) /F ".\klog.mak" CFG="KLog - Win32 Debug"
1242 1239
1243!ELSEIF "$(CFG)" == "Install - Win32 Pure" 1240!ELSEIF "$(CFG)" == "Install - Win32 Pure"
1244 1241
1245!ELSEIF "$(CFG)" == "Install - Win32 Canned" 1242!ELSEIF "$(CFG)" == "Install - Win32 Canned"
1246 1243
1247!ELSEIF "$(CFG)" == "Install - Win32 Static" 1244!ELSEIF "$(CFG)" == "Install - Win32 Static"
1248 1245
1249!ENDIF 1246!ENDIF
1250 1247
1251# End Project Dependency 1248# End Project Dependency
1252# End Target 1249# End Target
1253# End Project 1250# End Project
1254################################################################################ 1251################################################################################
diff --git a/klog.rc b/klog.rc
index 92755ed..6685059 100644
--- a/klog.rc
+++ b/klog.rc
@@ -1,1150 +1,1150 @@
1//Microsoft Developer Studio generated resource script. 1//Microsoft Developer Studio generated resource script.
2// 2//
3#include "resource.h" 3#include "resource.h"
4 4
5#define APSTUDIO_READONLY_SYMBOLS 5#define APSTUDIO_READONLY_SYMBOLS
6///////////////////////////////////////////////////////////////////////////// 6/////////////////////////////////////////////////////////////////////////////
7// 7//
8// Generated from the TEXTINCLUDE 2 resource. 8// Generated from the TEXTINCLUDE 2 resource.
9// 9//
10#include "afxres.h" 10#include "afxres.h"
11 11
12///////////////////////////////////////////////////////////////////////////// 12/////////////////////////////////////////////////////////////////////////////
13#undef APSTUDIO_READONLY_SYMBOLS 13#undef APSTUDIO_READONLY_SYMBOLS
14 14
15///////////////////////////////////////////////////////////////////////////// 15/////////////////////////////////////////////////////////////////////////////
16// English (U.S.) resources 16// English (U.S.) resources
17 17
18#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) 18#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
19#ifdef _WIN32 19#ifdef _WIN32
20LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US 20LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
21#pragma code_page(1252) 21#pragma code_page(1252)
22#endif //_WIN32 22#endif //_WIN32
23 23
24#ifdef APSTUDIO_INVOKED 24#ifdef APSTUDIO_INVOKED
25///////////////////////////////////////////////////////////////////////////// 25/////////////////////////////////////////////////////////////////////////////
26// 26//
27// TEXTINCLUDE 27// TEXTINCLUDE
28// 28//
29 29
301 TEXTINCLUDE DISCARDABLE 301 TEXTINCLUDE DISCARDABLE
31BEGIN 31BEGIN
32 "resource.h\0" 32 "resource.h\0"
33END 33END
34 34
352 TEXTINCLUDE DISCARDABLE 352 TEXTINCLUDE DISCARDABLE
36BEGIN 36BEGIN
37 "#include ""afxres.h""\r\n" 37 "#include ""afxres.h""\r\n"
38 "\0" 38 "\0"
39END 39END
40 40
413 TEXTINCLUDE DISCARDABLE 413 TEXTINCLUDE DISCARDABLE
42BEGIN 42BEGIN
43 "#define _AFX_NO_SPLITTER_RESOURCES\r\n" 43 "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
44 "#define _AFX_NO_OLE_RESOURCES\r\n" 44 "#define _AFX_NO_OLE_RESOURCES\r\n"
45 "#define _AFX_NO_TRACKER_RESOURCES\r\n" 45 "#define _AFX_NO_TRACKER_RESOURCES\r\n"
46 "#define _AFX_NO_PROPERTY_RESOURCES\r\n" 46 "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
47 "\r\n" 47 "\r\n"
48 "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" 48 "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
49 "#ifdef _WIN32\r\n" 49 "#ifdef _WIN32\r\n"
50 "LANGUAGE 9, 1\r\n" 50 "LANGUAGE 9, 1\r\n"
51 "#pragma code_page(1252)\r\n" 51 "#pragma code_page(1252)\r\n"
52 "#endif\r\n" 52 "#endif\r\n"
53 "#include ""res\\KLog.rc2"" // non-Microsoft Visual C++ edited resources\r\n" 53 "#include ""res\\klog.rc2"" // non-Microsoft Visual C++ edited resources\r\n"
54 "#include ""afxres.rc"" // Standard components\r\n" 54 "#include ""afxres.rc"" // Standard components\r\n"
55 "#endif\0" 55 "#endif\0"
56END 56END
57 57
58#endif // APSTUDIO_INVOKED 58#endif // APSTUDIO_INVOKED
59 59
60 60
61///////////////////////////////////////////////////////////////////////////// 61/////////////////////////////////////////////////////////////////////////////
62// 62//
63// Icon 63// Icon
64// 64//
65 65
66// Icon with lowest ID value placed first to ensure application icon 66// Icon with lowest ID value placed first to ensure application icon
67// remains consistent on all systems. 67// remains consistent on all systems.
68IDR_MAINFRAME ICON DISCARDABLE "res\\klog.ico" 68IDR_MAINFRAME ICON DISCARDABLE "res\\klog.ico"
69IDI_BROWSE ICON DISCARDABLE "shared-data/browse-icon.ico" 69IDI_BROWSE ICON DISCARDABLE "shared-data/browse-icon.ico"
70IDI_PREPLAY ICON DISCARDABLE "shared-data/play-icon.ico" 70IDI_PREPLAY ICON DISCARDABLE "shared-data/play-icon.ico"
71IDI_KLOG ICON DISCARDABLE "res\\klog-icon.ico" 71IDI_KLOG ICON DISCARDABLE "res\\klog-icon.ico"
72IDI_KLOG_TRIGGERED ICON DISCARDABLE "res\\klog-triggered-icon.ico" 72IDI_KLOG_TRIGGERED ICON DISCARDABLE "res\\klog-triggered-icon.ico"
73IDI_LOGPATTERN ICON DISCARDABLE "res\\log-pattern.ico" 73IDI_LOGPATTERN ICON DISCARDABLE "res\\log-pattern.ico"
74 74
75///////////////////////////////////////////////////////////////////////////// 75/////////////////////////////////////////////////////////////////////////////
76// 76//
77// Dialog 77// Dialog
78// 78//
79 79
80IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 217, 70 80IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 217, 70
81STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU 81STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
82CAPTION "About KLog" 82CAPTION "About KLog"
83FONT 8, "MS Sans Serif" 83FONT 8, "MS Sans Serif"
84BEGIN 84BEGIN
85 ICON IDR_MAINFRAME,IDC_STATIC,7,17,18,20 85 ICON IDR_MAINFRAME,IDC_STATIC,7,17,18,20
86 LTEXT "KLog, Version 1.1",IDC_STATIC,40,16,119,8, 86 LTEXT "KLog, Version 1.1.1-trunk",IDC_STATIC,40,16,119,8,SS_NOPREFIX
87 SS_NOPREFIX 87 LTEXT "Copyright © 1998-2005 Klever Group",IDC_STATIC,40,31,
88 LTEXT "Copyright © 1998-2004 Klever Group",IDC_STATIC,40,31,119,8 88 119,8
89 DEFPUSHBUTTON "OK",IDOK,178,13,32,14,WS_GROUP 89 DEFPUSHBUTTON "OK",IDOK,178,13,32,14,WS_GROUP
90 PUSHBUTTON "http://www.klever.net/",IDC_KLEVERNET,125,49,85,14 90 PUSHBUTTON "http://www.klever.net/",IDC_KLEVERNET,125,49,85,14
91END 91END
92 92
93IDD_KLOG_DIALOG DIALOGEX 0, 0, 291, 286 93IDD_KLOG_DIALOG DIALOGEX 0, 0, 293, 286
94STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU 94STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
95EXSTYLE WS_EX_CLIENTEDGE | WS_EX_CONTEXTHELP | WS_EX_APPWINDOW 95EXSTYLE WS_EX_CLIENTEDGE | WS_EX_CONTEXTHELP | WS_EX_APPWINDOW
96CAPTION "KLog" 96CAPTION "KLog"
97FONT 8, "MS Sans Serif", 0, 0, 0x1 97FONT 8, "MS Sans Serif"
98BEGIN 98BEGIN
99 CTEXT "Short de&scription:",IDC_STATIC,11,48,78,8,SS_NOTIFY 99 CTEXT "Short de&scription:",IDC_STATIC,11,48,78,8,SS_NOTIFY
100 EDITTEXT IDC_DESC,91,46,187,13,ES_AUTOHSCROLL,WS_EX_STATICEDGE 100 EDITTEXT IDC_DESC,91,46,187,13,ES_AUTOHSCROLL,WS_EX_STATICEDGE
101 CONTROL "Log to &File",IDC_TYPE_FILE,"Button",BS_AUTORADIOBUTTON | 101 CONTROL "Log to &File",IDC_TYPE_FILE,"Button",BS_AUTORADIOBUTTON |
102 BS_PUSHLIKE | WS_GROUP,11,60,87,19,WS_EX_STATICEDGE 102 BS_PUSHLIKE | WS_GROUP,11,60,87,19,WS_EX_STATICEDGE
103 CONTROL "Log to &Host",IDC_TYPE_HOST,"Button",BS_AUTORADIOBUTTON | 103 CONTROL "Log to &Host",IDC_TYPE_HOST,"Button",BS_AUTORADIOBUTTON |
104 BS_PUSHLIKE,101,60,87,19,WS_EX_STATICEDGE 104 BS_PUSHLIKE,101,60,87,19,WS_EX_STATICEDGE
105 CONTROL "&Don't Log",IDC_TYPE_NONE,"Button",BS_AUTORADIOBUTTON | 105 CONTROL "&Don't Log",IDC_TYPE_NONE,"Button",BS_AUTORADIOBUTTON |
106 BS_PUSHLIKE,191,60,87,19,WS_EX_STATICEDGE 106 BS_PUSHLIKE,191,60,87,19,WS_EX_STATICEDGE
107 CTEXT "File &name:",IDC_HOSTORFILE,12,84,40,8 107 CTEXT "File &name:",IDC_HOSTORFILE,12,84,40,8
108 EDITTEXT IDC_HOSTFILE,56,82,201,12,ES_AUTOHSCROLL 108 EDITTEXT IDC_HOSTFILE,56,82,201,12,ES_AUTOHSCROLL
109 PUSHBUTTON "...",IDC_BROWSE,262,82,17,13,0,WS_EX_STATICEDGE 109 PUSHBUTTON "...",IDC_BROWSE,262,82,17,13,0,WS_EX_STATICEDGE
110 CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,12,99,13,1 110 CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,12,99,13,1
111 LTEXT "Log data:",IDC_STATIC,27,95,31,8 111 LTEXT "Log data:",IDC_STATIC,27,95,31,8
112 CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,60,99,218,1 112 CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,60,99,218,1
113 LTEXT "Fa&cility:",IDC_STATIC,19,108,27,8 113 LTEXT "Fa&cility:",IDC_STATIC,19,108,27,8
114 COMBOBOX IDC_FACILITY,48,106,85,104,CBS_DROPDOWNLIST | 114 COMBOBOX IDC_FACILITY,48,106,85,104,CBS_DROPDOWNLIST |
115 CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP 115 CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP
116 PUSHBUTTON "[::]",IDC_LOGPATTERN,136,106,23,12,BS_ICON | BS_CENTER | 116 PUSHBUTTON "[::]",IDC_LOGPATTERN,136,106,23,12,BS_ICON | BS_CENTER |
117 BS_VCENTER | BS_NOTIFY,WS_EX_STATICEDGE 117 BS_VCENTER | BS_NOTIFY,WS_EX_STATICEDGE
118 GROUPBOX " &Priorities: ",IDC_STATIC,162,100,92,53,BS_CENTER | 118 GROUPBOX " &Priorities: ",IDC_STATIC,162,100,92,53,BS_CENTER |
119 BS_NOTIFY,WS_EX_TRANSPARENT 119 BS_NOTIFY,WS_EX_TRANSPARENT
120 CONTROL "emerg",IDC_EMERG,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | 120 CONTROL "emerg",IDC_EMERG,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT |
121 BS_RIGHT | BS_NOTIFY | WS_TABSTOP,169,110,36,10 121 BS_RIGHT | BS_NOTIFY | WS_TABSTOP,169,110,36,10
122 CONTROL "alert",IDC_ALERT,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | 122 CONTROL "alert",IDC_ALERT,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT |
123 BS_RIGHT | BS_NOTIFY | WS_TABSTOP,169,120,36,10 123 BS_RIGHT | BS_NOTIFY | WS_TABSTOP,169,120,36,10
124 CONTROL "crit",IDC_CRIT,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | 124 CONTROL "crit",IDC_CRIT,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT |
125 BS_RIGHT | BS_NOTIFY | WS_TABSTOP,169,130,36,10 125 BS_RIGHT | BS_NOTIFY | WS_TABSTOP,169,130,36,10
126 CONTROL "err",IDC_ERR,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | 126 CONTROL "err",IDC_ERR,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT |
127 BS_RIGHT | BS_NOTIFY | WS_TABSTOP,169,140,36,10 127 BS_RIGHT | BS_NOTIFY | WS_TABSTOP,169,140,36,10
128 CONTROL "warn",IDC_WARNING,"Button",BS_AUTOCHECKBOX | BS_LEFT | 128 CONTROL "warn",IDC_WARNING,"Button",BS_AUTOCHECKBOX | BS_LEFT |
129 BS_NOTIFY | WS_TABSTOP,209,110,36,10 129 BS_NOTIFY | WS_TABSTOP,209,110,36,10
130 CONTROL "notice",IDC_NOTICE,"Button",BS_AUTOCHECKBOX | BS_LEFT | 130 CONTROL "notice",IDC_NOTICE,"Button",BS_AUTOCHECKBOX | BS_LEFT |
131 BS_NOTIFY | WS_TABSTOP,209,120,36,10 131 BS_NOTIFY | WS_TABSTOP,209,120,36,10
132 CONTROL "info",IDC_INFO,"Button",BS_AUTOCHECKBOX | BS_LEFT | 132 CONTROL "info",IDC_INFO,"Button",BS_AUTOCHECKBOX | BS_LEFT |
133 BS_NOTIFY | WS_TABSTOP,209,130,36,10 133 BS_NOTIFY | WS_TABSTOP,209,130,36,10
134 CONTROL "debug",IDC_DEBUG,"Button",BS_AUTOCHECKBOX | BS_LEFT | 134 CONTROL "debug",IDC_DEBUG,"Button",BS_AUTOCHECKBOX | BS_LEFT |
135 BS_NOTIFY | WS_TABSTOP,209,140,36,10 135 BS_NOTIFY | WS_TABSTOP,209,140,36,10
136 PUSHBUTTON "all",IDC_ALL,256,105,23,12,0,WS_EX_STATICEDGE 136 PUSHBUTTON "all",IDC_ALL,256,105,23,12,0,WS_EX_STATICEDGE
137 PUSHBUTTON "none",IDC_NONE,256,119,23,12,0,WS_EX_STATICEDGE 137 PUSHBUTTON "none",IDC_NONE,256,119,23,12,0,WS_EX_STATICEDGE
138 PUSHBUTTON "invert",IDC_INVERT,256,132,23,14,BS_NOTIFY, 138 PUSHBUTTON "invert",IDC_INVERT,256,132,23,14,BS_NOTIFY,
139 WS_EX_STATICEDGE 139 WS_EX_STATICEDGE
140 LTEXT "IP:",IDC_STATIC,20,126,10,8,SS_NOTIFY 140 LTEXT "IP:",IDC_STATIC,20,126,10,8,SS_NOTIFY
141 EDITTEXT IDC_HL_IP,43,124,65,13,ES_AUTOHSCROLL 141 EDITTEXT IDC_HL_IP,43,124,65,13,ES_AUTOHSCROLL
142 LTEXT "mask:",IDC_STATIC,20,140,20,8,SS_NOTIFY 142 LTEXT "mask:",IDC_STATIC,20,140,20,8,SS_NOTIFY
143 EDITTEXT IDC_HL_MASK,43,139,65,13,ES_AUTOHSCROLL 143 EDITTEXT IDC_HL_MASK,43,139,65,13,ES_AUTOHSCROLL
144 PUSHBUTTON "add",IDC_HL_ADD,111,124,30,12,BS_NOTIFY, 144 PUSHBUTTON "add",IDC_HL_ADD,111,124,30,12,BS_NOTIFY,
145 WS_EX_STATICEDGE 145 WS_EX_STATICEDGE
146 PUSHBUTTON "remove",IDC_HL_REMOVE,111,140,30,12,0,WS_EX_STATICEDGE 146 PUSHBUTTON "remove",IDC_HL_REMOVE,111,140,30,12,0,WS_EX_STATICEDGE
147 LISTBOX IDC_HOSTS,12,154,140,33,LBS_USETABSTOPS | 147 LISTBOX IDC_HOSTS,12,154,140,33,LBS_USETABSTOPS |
148 LBS_NOINTEGRALHEIGHT | NOT WS_BORDER | WS_VSCROLL | 148 LBS_NOINTEGRALHEIGHT | NOT WS_BORDER | WS_VSCROLL |
149 WS_HSCROLL | WS_TABSTOP,WS_EX_CLIENTEDGE 149 WS_HSCROLL | WS_TABSTOP,WS_EX_CLIENTEDGE
150 GROUPBOX "When &triggered play:",IDC_STATIC,161,154,117,33,0, 150 GROUPBOX "When &triggered play:",IDC_STATIC,161,154,117,33,0,
151 WS_EX_TRANSPARENT 151 WS_EX_TRANSPARENT
152 COMBOBOX IDC_SOUND,170,167,92,66,CBS_DROPDOWN | CBS_AUTOHSCROLL | 152 COMBOBOX IDC_SOUND,170,167,92,66,CBS_DROPDOWN | CBS_AUTOHSCROLL |
153 WS_VSCROLL | WS_TABSTOP 153 WS_VSCROLL | WS_TABSTOP
154 PUSHBUTTON "..",IDC_BROWSESOUND,264,160,12,12,BS_ICON | BS_CENTER | 154 PUSHBUTTON "..",IDC_BROWSESOUND,264,160,12,12,BS_ICON | BS_CENTER |
155 BS_VCENTER | BS_NOTIFY,WS_EX_STATICEDGE 155 BS_VCENTER | BS_NOTIFY,WS_EX_STATICEDGE
156 PUSHBUTTON "..",IDC_PLAYSOUND,264,173,12,12,BS_ICON | BS_CENTER | 156 PUSHBUTTON "..",IDC_PLAYSOUND,264,173,12,12,BS_ICON | BS_CENTER |
157 BS_VCENTER | BS_NOTIFY,WS_EX_STATICEDGE 157 BS_VCENTER | BS_NOTIFY,WS_EX_STATICEDGE
158 LISTBOX IDC_LOG,7,192,277,87,LBS_USETABSTOPS | LBS_NOSEL | 158 LISTBOX IDC_LOG,7,192,279,87,LBS_USETABSTOPS | LBS_NOSEL |
159 WS_VSCROLL | WS_HSCROLL | WS_TABSTOP,WS_EX_DLGMODALFRAME | 159 WS_VSCROLL | WS_HSCROLL | WS_TABSTOP,WS_EX_DLGMODALFRAME |
160 WS_EX_CLIENTEDGE | WS_EX_STATICEDGE 160 WS_EX_CLIENTEDGE | WS_EX_STATICEDGE
161 PUSHBUTTON "&Add",IDC_ADD,7,7,39,18,BS_NOTIFY,WS_EX_CLIENTEDGE 161 PUSHBUTTON "&Add",IDC_ADD,7,7,39,18,BS_NOTIFY,WS_EX_CLIENTEDGE
162 PUSHBUTTON "&Remove",IDC_REMOVE,48,7,39,18,0,WS_EX_CLIENTEDGE 162 PUSHBUTTON "&Remove",IDC_REMOVE,48,7,39,18,0,WS_EX_CLIENTEDGE
163 PUSHBUTTON "E&xit",IDC_EXIT,245,7,39,18,0,WS_EX_CLIENTEDGE 163 PUSHBUTTON "E&xit",IDC_EXIT,247,7,39,18,0,WS_EX_CLIENTEDGE
164 CONTROL "Tab1",IDC_TABS,"SysTabControl32",TCS_TOOLTIPS,7,31,277, 164 CONTROL "Tab1",IDC_TABS,"SysTabControl32",TCS_TOOLTIPS,7,31,279,
165 161,WS_EX_CLIENTEDGE 165 161,WS_EX_CLIENTEDGE
166 CTEXT "10",IDC_LOGLENGTH,166,11,33,12,SS_NOPREFIX | SS_NOTIFY, 166 CTEXT "10",IDC_LOGLENGTH,166,11,33,12,SS_NOPREFIX | SS_NOTIFY,
167 WS_EX_DLGMODALFRAME 167 WS_EX_DLGMODALFRAME
168 CONTROL "Spin4",IDC_LOGLENSPIN,"msctls_updown32",UDS_WRAP | 168 CONTROL "Spin4",IDC_LOGLENSPIN,"msctls_updown32",UDS_WRAP |
169 UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | 169 UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY |
170 UDS_ARROWKEYS | UDS_NOTHOUSANDS,189,11,10,12 170 UDS_ARROWKEYS | UDS_NOTHOUSANDS,189,11,10,12
171 CTEXT "Log window length:",IDC_STATIC_LOGLENGTH,89,11,77,12, 171 CTEXT "Log window length:",IDC_STATIC_LOGLENGTH,89,11,77,12,
172 SS_NOPREFIX | SS_NOTIFY,WS_EX_DLGMODALFRAME 172 SS_NOPREFIX | SS_NOTIFY,WS_EX_DLGMODALFRAME
173 DEFPUSHBUTTON "",IDOK,0,279,6,7,NOT WS_VISIBLE 173 DEFPUSHBUTTON "",IDOK,0,279,6,7,NOT WS_VISIBLE
174 PUSHBUTTON "",IDCANCEL,285,279,6,7,NOT WS_VISIBLE | WS_DISABLED 174 PUSHBUTTON "",IDCANCEL,286,279,6,7,NOT WS_VISIBLE | WS_DISABLED
175 PUSHBUTTON "Files",IDC_FILES,204,7,39,18,BS_CENTER | BS_VCENTER | 175 PUSHBUTTON "Files",IDC_FILES,204,7,39,18,BS_CENTER | BS_VCENTER |
176 BS_NOTIFY | NOT WS_TABSTOP,WS_EX_CLIENTEDGE 176 BS_NOTIFY | NOT WS_TABSTOP,WS_EX_CLIENTEDGE
177END 177END
178 178
179IDD_LOG_UNIX DIALOG DISCARDABLE 0, 0, 394, 143 179IDD_LOG_UNIX DIALOG DISCARDABLE 0, 0, 394, 143
180STYLE DS_3DLOOK | WS_CHILD | WS_DISABLED | WS_CAPTION 180STYLE DS_3DLOOK | WS_CHILD | WS_DISABLED | WS_CAPTION
181CAPTION "Unix" 181CAPTION "Unix"
182FONT 8, "MS Sans Serif" 182FONT 8, "MS Sans Serif"
183BEGIN 183BEGIN
184 PUSHBUTTON "emerg",IDC_EMERG_ON,7,20,25,13,BS_CENTER | BS_VCENTER | 184 PUSHBUTTON "emerg",IDC_EMERG_ON,7,20,25,13,BS_CENTER | BS_VCENTER |
185 BS_NOTIFY 185 BS_NOTIFY
186 PUSHBUTTON "alert",IDC_ALERT_ON,7,33,25,13,BS_CENTER | BS_VCENTER | 186 PUSHBUTTON "alert",IDC_ALERT_ON,7,33,25,13,BS_CENTER | BS_VCENTER |
187 BS_NOTIFY 187 BS_NOTIFY
188 PUSHBUTTON "crit",IDC_CRIT_ON,7,46,25,13,BS_CENTER | BS_VCENTER | 188 PUSHBUTTON "crit",IDC_CRIT_ON,7,46,25,13,BS_CENTER | BS_VCENTER |
189 BS_NOTIFY 189 BS_NOTIFY
190 PUSHBUTTON "err",IDC_ERR_ON,7,59,25,13,BS_CENTER | BS_VCENTER | 190 PUSHBUTTON "err",IDC_ERR_ON,7,59,25,13,BS_CENTER | BS_VCENTER |
191 BS_NOTIFY 191 BS_NOTIFY
192 PUSHBUTTON "warn",IDC_WARN_ON,7,72,25,13,BS_CENTER | BS_VCENTER | 192 PUSHBUTTON "warn",IDC_WARN_ON,7,72,25,13,BS_CENTER | BS_VCENTER |
193 BS_NOTIFY 193 BS_NOTIFY
194 PUSHBUTTON "notice",IDC_NOTICE_ON,7,85,25,13,BS_CENTER | BS_VCENTER | 194 PUSHBUTTON "notice",IDC_NOTICE_ON,7,85,25,13,BS_CENTER | BS_VCENTER |
195 BS_NOTIFY 195 BS_NOTIFY
196 PUSHBUTTON "info",IDC_INFO_ON,7,98,25,13,BS_CENTER | BS_VCENTER | 196 PUSHBUTTON "info",IDC_INFO_ON,7,98,25,13,BS_CENTER | BS_VCENTER |
197 BS_NOTIFY 197 BS_NOTIFY
198 PUSHBUTTON "debug",IDC_DEBUG_ON,7,111,25,13,BS_CENTER | BS_VCENTER | 198 PUSHBUTTON "debug",IDC_DEBUG_ON,7,111,25,13,BS_CENTER | BS_VCENTER |
199 BS_NOTIFY 199 BS_NOTIFY
200 PUSHBUTTON "kernel",IDC_KERNEL_ON,32,7,30,13,BS_CENTER | BS_VCENTER | 200 PUSHBUTTON "kernel",IDC_KERNEL_ON,32,7,30,13,BS_CENTER | BS_VCENTER |
201 BS_NOTIFY 201 BS_NOTIFY
202 PUSHBUTTON "user",IDC_USER_ON,62,7,30,13,BS_CENTER | BS_VCENTER | 202 PUSHBUTTON "user",IDC_USER_ON,62,7,30,13,BS_CENTER | BS_VCENTER |
203 BS_NOTIFY 203 BS_NOTIFY
204 PUSHBUTTON "mail",IDC_MAIL_ON,92,7,30,13,BS_CENTER | BS_VCENTER | 204 PUSHBUTTON "mail",IDC_MAIL_ON,92,7,30,13,BS_CENTER | BS_VCENTER |
205 BS_NOTIFY 205 BS_NOTIFY
206 PUSHBUTTON "daemon",IDC_DAEMON_ON,122,7,30,13,BS_CENTER | 206 PUSHBUTTON "daemon",IDC_DAEMON_ON,122,7,30,13,BS_CENTER |
207 BS_VCENTER | BS_NOTIFY 207 BS_VCENTER | BS_NOTIFY
208 PUSHBUTTON "auth",IDC_AUTH_ON,152,7,30,13,BS_CENTER | BS_VCENTER | 208 PUSHBUTTON "auth",IDC_AUTH_ON,152,7,30,13,BS_CENTER | BS_VCENTER |
209 BS_NOTIFY 209 BS_NOTIFY
210 PUSHBUTTON "syslog",IDC_SYSLOG_ON,182,7,30,13,BS_CENTER | 210 PUSHBUTTON "syslog",IDC_SYSLOG_ON,182,7,30,13,BS_CENTER |
211 BS_VCENTER | BS_NOTIFY 211 BS_VCENTER | BS_NOTIFY
212 PUSHBUTTON "lpr",IDC_LPR_ON,212,7,30,13,BS_CENTER | BS_VCENTER | 212 PUSHBUTTON "lpr",IDC_LPR_ON,212,7,30,13,BS_CENTER | BS_VCENTER |
213 BS_NOTIFY 213 BS_NOTIFY
214 PUSHBUTTON "news",IDC_NEWS_ON,242,7,30,13,BS_CENTER | BS_VCENTER | 214 PUSHBUTTON "news",IDC_NEWS_ON,242,7,30,13,BS_CENTER | BS_VCENTER |
215 BS_NOTIFY 215 BS_NOTIFY
216 PUSHBUTTON "uucp",IDC_UUCP_ON,272,7,30,13,BS_CENTER | BS_VCENTER | 216 PUSHBUTTON "uucp",IDC_UUCP_ON,272,7,30,13,BS_CENTER | BS_VCENTER |
217 BS_NOTIFY 217 BS_NOTIFY
218 PUSHBUTTON "cron",IDC_CRON_ON,302,7,30,13,BS_CENTER | BS_VCENTER | 218 PUSHBUTTON "cron",IDC_CRON_ON,302,7,30,13,BS_CENTER | BS_VCENTER |
219 BS_NOTIFY 219 BS_NOTIFY
220 CONTROL "",IDC_KERNEL_EMERG,"Button",BS_AUTOCHECKBOX | 220 CONTROL "",IDC_KERNEL_EMERG,"Button",BS_AUTOCHECKBOX |
221 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,39,21,16,10 221 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,39,21,16,10
222 CONTROL "",IDC_KERNEL_ALERT,"Button",BS_AUTOCHECKBOX | 222 CONTROL "",IDC_KERNEL_ALERT,"Button",BS_AUTOCHECKBOX |
223 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,39,34,16,10 223 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,39,34,16,10
224 CONTROL "",IDC_KERNEL_CRIT,"Button",BS_AUTOCHECKBOX | 224 CONTROL "",IDC_KERNEL_CRIT,"Button",BS_AUTOCHECKBOX |
225 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,39,47,16,10 225 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,39,47,16,10
226 CONTROL "",IDC_KERNEL_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 226 CONTROL "",IDC_KERNEL_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
227 BS_NOTIFY | WS_TABSTOP,39,60,16,10 227 BS_NOTIFY | WS_TABSTOP,39,60,16,10
228 CONTROL "",IDC_KERNEL_WARN,"Button",BS_AUTOCHECKBOX | 228 CONTROL "",IDC_KERNEL_WARN,"Button",BS_AUTOCHECKBOX |
229 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,39,73,16,10 229 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,39,73,16,10
230 CONTROL "",IDC_KERNEL_NOTICE,"Button",BS_AUTOCHECKBOX | 230 CONTROL "",IDC_KERNEL_NOTICE,"Button",BS_AUTOCHECKBOX |
231 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,39,86,16,10 231 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,39,86,16,10
232 CONTROL "",IDC_KERNEL_INFO,"Button",BS_AUTOCHECKBOX | 232 CONTROL "",IDC_KERNEL_INFO,"Button",BS_AUTOCHECKBOX |
233 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,39,99,16,10 233 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,39,99,16,10
234 CONTROL "",IDC_KERNEL_DEBUG,"Button",BS_AUTOCHECKBOX | 234 CONTROL "",IDC_KERNEL_DEBUG,"Button",BS_AUTOCHECKBOX |
235 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,39,112,16,10 235 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,39,112,16,10
236 CONTROL "",IDC_USER_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 236 CONTROL "",IDC_USER_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
237 BS_NOTIFY | WS_TABSTOP,69,21,16,10 237 BS_NOTIFY | WS_TABSTOP,69,21,16,10
238 CONTROL "",IDC_USER_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 238 CONTROL "",IDC_USER_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
239 BS_NOTIFY | WS_TABSTOP,69,34,16,10 239 BS_NOTIFY | WS_TABSTOP,69,34,16,10
240 CONTROL "",IDC_USER_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 240 CONTROL "",IDC_USER_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
241 BS_NOTIFY | WS_TABSTOP,69,47,16,10 241 BS_NOTIFY | WS_TABSTOP,69,47,16,10
242 CONTROL "",IDC_USER_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 242 CONTROL "",IDC_USER_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
243 BS_NOTIFY | WS_TABSTOP,69,60,16,10 243 BS_NOTIFY | WS_TABSTOP,69,60,16,10
244 CONTROL "",IDC_USER_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 244 CONTROL "",IDC_USER_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
245 BS_NOTIFY | WS_TABSTOP,69,73,16,10 245 BS_NOTIFY | WS_TABSTOP,69,73,16,10
246 CONTROL "",IDC_USER_NOTICE,"Button",BS_AUTOCHECKBOX | 246 CONTROL "",IDC_USER_NOTICE,"Button",BS_AUTOCHECKBOX |
247 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,69,86,16,10 247 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,69,86,16,10
248 CONTROL "",IDC_USER_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 248 CONTROL "",IDC_USER_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
249 BS_NOTIFY | WS_TABSTOP,69,99,16,10 249 BS_NOTIFY | WS_TABSTOP,69,99,16,10
250 CONTROL "",IDC_USER_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 250 CONTROL "",IDC_USER_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
251 BS_NOTIFY | WS_TABSTOP,69,112,16,10 251 BS_NOTIFY | WS_TABSTOP,69,112,16,10
252 CONTROL "",IDC_MAIL_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 252 CONTROL "",IDC_MAIL_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
253 BS_NOTIFY | WS_TABSTOP,99,21,16,10 253 BS_NOTIFY | WS_TABSTOP,99,21,16,10
254 CONTROL "",IDC_MAIL_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 254 CONTROL "",IDC_MAIL_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
255 BS_NOTIFY | WS_TABSTOP,99,34,16,10 255 BS_NOTIFY | WS_TABSTOP,99,34,16,10
256 CONTROL "",IDC_MAIL_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 256 CONTROL "",IDC_MAIL_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
257 BS_NOTIFY | WS_TABSTOP,99,47,16,10 257 BS_NOTIFY | WS_TABSTOP,99,47,16,10
258 CONTROL "",IDC_MAIL_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 258 CONTROL "",IDC_MAIL_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
259 BS_NOTIFY | WS_TABSTOP,99,60,16,10 259 BS_NOTIFY | WS_TABSTOP,99,60,16,10
260 CONTROL "",IDC_MAIL_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 260 CONTROL "",IDC_MAIL_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
261 BS_NOTIFY | WS_TABSTOP,99,73,16,10 261 BS_NOTIFY | WS_TABSTOP,99,73,16,10
262 CONTROL "",IDC_MAIL_NOTICE,"Button",BS_AUTOCHECKBOX | 262 CONTROL "",IDC_MAIL_NOTICE,"Button",BS_AUTOCHECKBOX |
263 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,99,86,16,10 263 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,99,86,16,10
264 CONTROL "",IDC_MAIL_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 264 CONTROL "",IDC_MAIL_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
265 BS_NOTIFY | WS_TABSTOP,99,99,16,10 265 BS_NOTIFY | WS_TABSTOP,99,99,16,10
266 CONTROL "",IDC_MAIL_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 266 CONTROL "",IDC_MAIL_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
267 BS_NOTIFY | WS_TABSTOP,99,112,16,10 267 BS_NOTIFY | WS_TABSTOP,99,112,16,10
268 CONTROL "",IDC_DAEMON_EMERG,"Button",BS_AUTOCHECKBOX | 268 CONTROL "",IDC_DAEMON_EMERG,"Button",BS_AUTOCHECKBOX |
269 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,129,21,16,10 269 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,129,21,16,10
270 CONTROL "",IDC_DAEMON_ALERT,"Button",BS_AUTOCHECKBOX | 270 CONTROL "",IDC_DAEMON_ALERT,"Button",BS_AUTOCHECKBOX |
271 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,129,34,16,10 271 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,129,34,16,10
272 CONTROL "",IDC_DAEMON_CRIT,"Button",BS_AUTOCHECKBOX | 272 CONTROL "",IDC_DAEMON_CRIT,"Button",BS_AUTOCHECKBOX |
273 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,129,47,16,10 273 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,129,47,16,10
274 CONTROL "",IDC_DAEMON_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 274 CONTROL "",IDC_DAEMON_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
275 BS_NOTIFY | WS_TABSTOP,129,60,16,10 275 BS_NOTIFY | WS_TABSTOP,129,60,16,10
276 CONTROL "",IDC_DAEMON_WARN,"Button",BS_AUTOCHECKBOX | 276 CONTROL "",IDC_DAEMON_WARN,"Button",BS_AUTOCHECKBOX |
277 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,129,73,16,10 277 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,129,73,16,10
278 CONTROL "",IDC_DAEMON_NOTICE,"Button",BS_AUTOCHECKBOX | 278 CONTROL "",IDC_DAEMON_NOTICE,"Button",BS_AUTOCHECKBOX |
279 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,129,86,16,10 279 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,129,86,16,10
280 CONTROL "",IDC_DAEMON_INFO,"Button",BS_AUTOCHECKBOX | 280 CONTROL "",IDC_DAEMON_INFO,"Button",BS_AUTOCHECKBOX |
281 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,129,99,16,10 281 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,129,99,16,10
282 CONTROL "",IDC_DAEMON_DEBUG,"Button",BS_AUTOCHECKBOX | 282 CONTROL "",IDC_DAEMON_DEBUG,"Button",BS_AUTOCHECKBOX |
283 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,129,112,16,10 283 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,129,112,16,10
284 CONTROL "",IDC_AUTH_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 284 CONTROL "",IDC_AUTH_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
285 BS_NOTIFY | WS_TABSTOP,159,21,16,10 285 BS_NOTIFY | WS_TABSTOP,159,21,16,10
286 CONTROL "",IDC_AUTH_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 286 CONTROL "",IDC_AUTH_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
287 BS_NOTIFY | WS_TABSTOP,159,34,16,10 287 BS_NOTIFY | WS_TABSTOP,159,34,16,10
288 CONTROL "",IDC_AUTH_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 288 CONTROL "",IDC_AUTH_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
289 BS_NOTIFY | WS_TABSTOP,159,47,16,10 289 BS_NOTIFY | WS_TABSTOP,159,47,16,10
290 CONTROL "",IDC_AUTH_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 290 CONTROL "",IDC_AUTH_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
291 BS_NOTIFY | WS_TABSTOP,159,60,16,10 291 BS_NOTIFY | WS_TABSTOP,159,60,16,10
292 CONTROL "",IDC_AUTH_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 292 CONTROL "",IDC_AUTH_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
293 BS_NOTIFY | WS_TABSTOP,159,73,16,10 293 BS_NOTIFY | WS_TABSTOP,159,73,16,10
294 CONTROL "",IDC_AUTH_NOTICE,"Button",BS_AUTOCHECKBOX | 294 CONTROL "",IDC_AUTH_NOTICE,"Button",BS_AUTOCHECKBOX |
295 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,159,86,16,10 295 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,159,86,16,10
296 CONTROL "",IDC_AUTH_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 296 CONTROL "",IDC_AUTH_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
297 BS_NOTIFY | WS_TABSTOP,159,99,16,10 297 BS_NOTIFY | WS_TABSTOP,159,99,16,10
298 CONTROL "",IDC_AUTH_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 298 CONTROL "",IDC_AUTH_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
299 BS_NOTIFY | WS_TABSTOP,159,112,16,10 299 BS_NOTIFY | WS_TABSTOP,159,112,16,10
300 CONTROL "",IDC_SYSLOG_EMERG,"Button",BS_AUTOCHECKBOX | 300 CONTROL "",IDC_SYSLOG_EMERG,"Button",BS_AUTOCHECKBOX |
301 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,189,21,16,10 301 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,189,21,16,10
302 CONTROL "",IDC_SYSLOG_ALERT,"Button",BS_AUTOCHECKBOX | 302 CONTROL "",IDC_SYSLOG_ALERT,"Button",BS_AUTOCHECKBOX |
303 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,189,34,16,10 303 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,189,34,16,10
304 CONTROL "",IDC_SYSLOG_CRIT,"Button",BS_AUTOCHECKBOX | 304 CONTROL "",IDC_SYSLOG_CRIT,"Button",BS_AUTOCHECKBOX |
305 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,189,47,16,10 305 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,189,47,16,10
306 CONTROL "",IDC_SYSLOG_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 306 CONTROL "",IDC_SYSLOG_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
307 BS_NOTIFY | WS_TABSTOP,189,60,16,10 307 BS_NOTIFY | WS_TABSTOP,189,60,16,10
308 CONTROL "",IDC_SYSLOG_WARN,"Button",BS_AUTOCHECKBOX | 308 CONTROL "",IDC_SYSLOG_WARN,"Button",BS_AUTOCHECKBOX |
309 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,189,73,16,10 309 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,189,73,16,10
310 CONTROL "",IDC_SYSLOG_NOTICE,"Button",BS_AUTOCHECKBOX | 310 CONTROL "",IDC_SYSLOG_NOTICE,"Button",BS_AUTOCHECKBOX |
311 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,189,86,16,10 311 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,189,86,16,10
312 CONTROL "",IDC_SYSLOG_INFO,"Button",BS_AUTOCHECKBOX | 312 CONTROL "",IDC_SYSLOG_INFO,"Button",BS_AUTOCHECKBOX |
313 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,189,99,16,10 313 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,189,99,16,10
314 CONTROL "",IDC_SYSLOG_DEBUG,"Button",BS_AUTOCHECKBOX | 314 CONTROL "",IDC_SYSLOG_DEBUG,"Button",BS_AUTOCHECKBOX |
315 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,189,112,16,10 315 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,189,112,16,10
316 CONTROL "",IDC_LPR_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 316 CONTROL "",IDC_LPR_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
317 BS_NOTIFY | WS_TABSTOP,219,21,16,10 317 BS_NOTIFY | WS_TABSTOP,219,21,16,10
318 CONTROL "",IDC_LPR_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 318 CONTROL "",IDC_LPR_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
319 BS_NOTIFY | WS_TABSTOP,219,34,16,10 319 BS_NOTIFY | WS_TABSTOP,219,34,16,10
320 CONTROL "",IDC_LPR_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 320 CONTROL "",IDC_LPR_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
321 BS_NOTIFY | WS_TABSTOP,219,47,16,10 321 BS_NOTIFY | WS_TABSTOP,219,47,16,10
322 CONTROL "",IDC_LPR_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 322 CONTROL "",IDC_LPR_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
323 BS_NOTIFY | WS_TABSTOP,219,60,16,10 323 BS_NOTIFY | WS_TABSTOP,219,60,16,10
324 CONTROL "",IDC_LPR_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 324 CONTROL "",IDC_LPR_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
325 BS_NOTIFY | WS_TABSTOP,219,73,16,10 325 BS_NOTIFY | WS_TABSTOP,219,73,16,10
326 CONTROL "",IDC_LPR_NOTICE,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 326 CONTROL "",IDC_LPR_NOTICE,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
327 BS_NOTIFY | WS_TABSTOP,219,86,16,10 327 BS_NOTIFY | WS_TABSTOP,219,86,16,10
328 CONTROL "",IDC_LPR_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 328 CONTROL "",IDC_LPR_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
329 BS_NOTIFY | WS_TABSTOP,219,99,16,10 329 BS_NOTIFY | WS_TABSTOP,219,99,16,10
330 CONTROL "",IDC_LPR_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 330 CONTROL "",IDC_LPR_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
331 BS_NOTIFY | WS_TABSTOP,219,112,16,10 331 BS_NOTIFY | WS_TABSTOP,219,112,16,10
332 CONTROL "",IDC_NEWS_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 332 CONTROL "",IDC_NEWS_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
333 BS_NOTIFY | WS_TABSTOP,249,21,16,10 333 BS_NOTIFY | WS_TABSTOP,249,21,16,10
334 CONTROL "",IDC_NEWS_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 334 CONTROL "",IDC_NEWS_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
335 BS_NOTIFY | WS_TABSTOP,249,34,16,10 335 BS_NOTIFY | WS_TABSTOP,249,34,16,10
336 CONTROL "",IDC_NEWS_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 336 CONTROL "",IDC_NEWS_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
337 BS_NOTIFY | WS_TABSTOP,249,47,16,10 337 BS_NOTIFY | WS_TABSTOP,249,47,16,10
338 CONTROL "",IDC_NEWS_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 338 CONTROL "",IDC_NEWS_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
339 BS_NOTIFY | WS_TABSTOP,249,60,16,10 339 BS_NOTIFY | WS_TABSTOP,249,60,16,10
340 CONTROL "",IDC_NEWS_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 340 CONTROL "",IDC_NEWS_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
341 BS_NOTIFY | WS_TABSTOP,249,73,16,10 341 BS_NOTIFY | WS_TABSTOP,249,73,16,10
342 CONTROL "",IDC_NEWS_NOTICE,"Button",BS_AUTOCHECKBOX | 342 CONTROL "",IDC_NEWS_NOTICE,"Button",BS_AUTOCHECKBOX |
343 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,249,86,16,10 343 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,249,86,16,10
344 CONTROL "",IDC_NEWS_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 344 CONTROL "",IDC_NEWS_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
345 BS_NOTIFY | WS_TABSTOP,249,99,16,10 345 BS_NOTIFY | WS_TABSTOP,249,99,16,10
346 CONTROL "",IDC_NEWS_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 346 CONTROL "",IDC_NEWS_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
347 BS_NOTIFY | WS_TABSTOP,249,112,16,10 347 BS_NOTIFY | WS_TABSTOP,249,112,16,10
348 CONTROL "",IDC_UUCP_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 348 CONTROL "",IDC_UUCP_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
349 BS_NOTIFY | WS_TABSTOP,279,21,16,10 349 BS_NOTIFY | WS_TABSTOP,279,21,16,10
350 CONTROL "",IDC_UUCP_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 350 CONTROL "",IDC_UUCP_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
351 BS_NOTIFY | WS_TABSTOP,279,34,16,10 351 BS_NOTIFY | WS_TABSTOP,279,34,16,10
352 CONTROL "",IDC_UUCP_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 352 CONTROL "",IDC_UUCP_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
353 BS_NOTIFY | WS_TABSTOP,279,47,16,10 353 BS_NOTIFY | WS_TABSTOP,279,47,16,10
354 CONTROL "",IDC_UUCP_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 354 CONTROL "",IDC_UUCP_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
355 BS_NOTIFY | WS_TABSTOP,279,60,16,10 355 BS_NOTIFY | WS_TABSTOP,279,60,16,10
356 CONTROL "",IDC_UUCP_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 356 CONTROL "",IDC_UUCP_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
357 BS_NOTIFY | WS_TABSTOP,279,73,16,10 357 BS_NOTIFY | WS_TABSTOP,279,73,16,10
358 CONTROL "",IDC_UUCP_NOTICE,"Button",BS_AUTOCHECKBOX | 358 CONTROL "",IDC_UUCP_NOTICE,"Button",BS_AUTOCHECKBOX |
359 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,279,86,16,10 359 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,279,86,16,10
360 CONTROL "",IDC_UUCP_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 360 CONTROL "",IDC_UUCP_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
361 BS_NOTIFY | WS_TABSTOP,279,99,16,10 361 BS_NOTIFY | WS_TABSTOP,279,99,16,10
362 CONTROL "",IDC_UUCP_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 362 CONTROL "",IDC_UUCP_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
363 BS_NOTIFY | WS_TABSTOP,279,112,16,10 363 BS_NOTIFY | WS_TABSTOP,279,112,16,10
364 CONTROL "",IDC_CRON_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 364 CONTROL "",IDC_CRON_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
365 BS_NOTIFY | WS_TABSTOP,309,21,16,10 365 BS_NOTIFY | WS_TABSTOP,309,21,16,10
366 CONTROL "",IDC_CRON_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 366 CONTROL "",IDC_CRON_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
367 BS_NOTIFY | WS_TABSTOP,309,34,16,10 367 BS_NOTIFY | WS_TABSTOP,309,34,16,10
368 CONTROL "",IDC_CRON_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 368 CONTROL "",IDC_CRON_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
369 BS_NOTIFY | WS_TABSTOP,309,47,16,10 369 BS_NOTIFY | WS_TABSTOP,309,47,16,10
370 CONTROL "",IDC_CRON_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 370 CONTROL "",IDC_CRON_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
371 BS_NOTIFY | WS_TABSTOP,309,60,16,10 371 BS_NOTIFY | WS_TABSTOP,309,60,16,10
372 CONTROL "",IDC_CRON_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 372 CONTROL "",IDC_CRON_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
373 BS_NOTIFY | WS_TABSTOP,309,73,16,10 373 BS_NOTIFY | WS_TABSTOP,309,73,16,10
374 CONTROL "",IDC_CRON_NOTICE,"Button",BS_AUTOCHECKBOX | 374 CONTROL "",IDC_CRON_NOTICE,"Button",BS_AUTOCHECKBOX |
375 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,309,86,16,10 375 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,309,86,16,10
376 CONTROL "",IDC_CRON_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 376 CONTROL "",IDC_CRON_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
377 BS_NOTIFY | WS_TABSTOP,309,99,16,10 377 BS_NOTIFY | WS_TABSTOP,309,99,16,10
378 CONTROL "",IDC_CRON_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 378 CONTROL "",IDC_CRON_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
379 BS_NOTIFY | WS_TABSTOP,309,112,16,10 379 BS_NOTIFY | WS_TABSTOP,309,112,16,10
380 PUSHBUTTON "emerg",IDC_EMERG_XOR,362,20,25,13,BS_CENTER | 380 PUSHBUTTON "emerg",IDC_EMERG_XOR,362,20,25,13,BS_CENTER |
381 BS_VCENTER | BS_NOTIFY 381 BS_VCENTER | BS_NOTIFY
382 PUSHBUTTON "alert",IDC_ALERT_XOR,362,33,25,13,BS_CENTER | 382 PUSHBUTTON "alert",IDC_ALERT_XOR,362,33,25,13,BS_CENTER |
383 BS_VCENTER | BS_NOTIFY 383 BS_VCENTER | BS_NOTIFY
384 PUSHBUTTON "crit",IDC_CRIT_XOR,362,46,25,13,BS_CENTER | BS_VCENTER | 384 PUSHBUTTON "crit",IDC_CRIT_XOR,362,46,25,13,BS_CENTER | BS_VCENTER |
385 BS_NOTIFY 385 BS_NOTIFY
386 PUSHBUTTON "err",IDC_ERR_XOR,362,59,25,13,BS_CENTER | BS_VCENTER | 386 PUSHBUTTON "err",IDC_ERR_XOR,362,59,25,13,BS_CENTER | BS_VCENTER |
387 BS_NOTIFY 387 BS_NOTIFY
388 PUSHBUTTON "warn",IDC_WARN_XOR,362,72,25,13,BS_CENTER | BS_VCENTER | 388 PUSHBUTTON "warn",IDC_WARN_XOR,362,72,25,13,BS_CENTER | BS_VCENTER |
389 BS_NOTIFY 389 BS_NOTIFY
390 PUSHBUTTON "notice",IDC_NOTICE_XOR,362,85,25,13,BS_CENTER | 390 PUSHBUTTON "notice",IDC_NOTICE_XOR,362,85,25,13,BS_CENTER |
391 BS_VCENTER | BS_NOTIFY 391 BS_VCENTER | BS_NOTIFY
392 PUSHBUTTON "info",IDC_INFO_XOR,362,98,25,13,BS_CENTER | BS_VCENTER | 392 PUSHBUTTON "info",IDC_INFO_XOR,362,98,25,13,BS_CENTER | BS_VCENTER |
393 BS_NOTIFY 393 BS_NOTIFY
394 PUSHBUTTON "debug",IDC_DEBUG_XOR,362,111,25,13,BS_CENTER | 394 PUSHBUTTON "debug",IDC_DEBUG_XOR,362,111,25,13,BS_CENTER |
395 BS_VCENTER | BS_NOTIFY 395 BS_VCENTER | BS_NOTIFY
396 PUSHBUTTON "kernel",IDC_KERNEL_XOR,32,124,30,13,BS_CENTER | 396 PUSHBUTTON "kernel",IDC_KERNEL_XOR,32,124,30,13,BS_CENTER |
397 BS_VCENTER | BS_NOTIFY 397 BS_VCENTER | BS_NOTIFY
398 PUSHBUTTON "user",IDC_USER_XOR,62,124,30,13,BS_CENTER | BS_VCENTER | 398 PUSHBUTTON "user",IDC_USER_XOR,62,124,30,13,BS_CENTER | BS_VCENTER |
399 BS_NOTIFY 399 BS_NOTIFY
400 PUSHBUTTON "mail",IDC_MAIL_XOR,92,124,30,13,BS_CENTER | BS_VCENTER | 400 PUSHBUTTON "mail",IDC_MAIL_XOR,92,124,30,13,BS_CENTER | BS_VCENTER |
401 BS_NOTIFY 401 BS_NOTIFY
402 PUSHBUTTON "daemon",IDC_DAEMON_XOR,122,124,30,13,BS_CENTER | 402 PUSHBUTTON "daemon",IDC_DAEMON_XOR,122,124,30,13,BS_CENTER |
403 BS_VCENTER | BS_NOTIFY 403 BS_VCENTER | BS_NOTIFY
404 PUSHBUTTON "auth",IDC_AUTH_XOR,152,124,30,13,BS_CENTER | BS_VCENTER | 404 PUSHBUTTON "auth",IDC_AUTH_XOR,152,124,30,13,BS_CENTER | BS_VCENTER |
405 BS_NOTIFY 405 BS_NOTIFY
406 PUSHBUTTON "syslog",IDC_SYSLOG_XOR,182,124,30,13,BS_CENTER | 406 PUSHBUTTON "syslog",IDC_SYSLOG_XOR,182,124,30,13,BS_CENTER |
407 BS_VCENTER | BS_NOTIFY 407 BS_VCENTER | BS_NOTIFY
408 PUSHBUTTON "lpr",IDC_LPR_XOR,212,124,30,13,BS_CENTER | BS_VCENTER | 408 PUSHBUTTON "lpr",IDC_LPR_XOR,212,124,30,13,BS_CENTER | BS_VCENTER |
409 BS_NOTIFY 409 BS_NOTIFY
410 PUSHBUTTON "news",IDC_NEWS_XOR,242,124,30,13,BS_CENTER | BS_VCENTER | 410 PUSHBUTTON "news",IDC_NEWS_XOR,242,124,30,13,BS_CENTER | BS_VCENTER |
411 BS_NOTIFY 411 BS_NOTIFY
412 PUSHBUTTON "uucp",IDC_UUCP_XOR,272,124,30,13,BS_CENTER | BS_VCENTER | 412 PUSHBUTTON "uucp",IDC_UUCP_XOR,272,124,30,13,BS_CENTER | BS_VCENTER |
413 BS_NOTIFY 413 BS_NOTIFY
414 PUSHBUTTON "cron",IDC_CRON_XOR,302,124,30,13,BS_CENTER | BS_VCENTER | 414 PUSHBUTTON "cron",IDC_CRON_XOR,302,124,30,13,BS_CENTER | BS_VCENTER |
415 BS_NOTIFY 415 BS_NOTIFY
416 LTEXT "Toggle",IDC_STATIC,363,126,23,8 416 LTEXT "Toggle",IDC_STATIC,363,126,23,8
417 LTEXT "ON",IDC_STATIC,14,9,12,8 417 LTEXT "ON",IDC_STATIC,14,9,12,8
418 PUSHBUTTON "authpriv",IDC_AUTHPRIV_ON,332,7,30,13,BS_CENTER | 418 PUSHBUTTON "authpriv",IDC_AUTHPRIV_ON,332,7,30,13,BS_CENTER |
419 BS_VCENTER | BS_NOTIFY 419 BS_VCENTER | BS_NOTIFY
420 CONTROL "",IDC_AUTHPRIV_EMERG,"Button",BS_AUTOCHECKBOX | 420 CONTROL "",IDC_AUTHPRIV_EMERG,"Button",BS_AUTOCHECKBOX |
421 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,339,21,16,10 421 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,339,21,16,10
422 CONTROL "",IDC_AUTHPRIV_ALERT,"Button",BS_AUTOCHECKBOX | 422 CONTROL "",IDC_AUTHPRIV_ALERT,"Button",BS_AUTOCHECKBOX |
423 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,339,34,16,10 423 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,339,34,16,10
424 CONTROL "",IDC_AUTHPRIV_CRIT,"Button",BS_AUTOCHECKBOX | 424 CONTROL "",IDC_AUTHPRIV_CRIT,"Button",BS_AUTOCHECKBOX |
425 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,339,47,16,10 425 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,339,47,16,10
426 CONTROL "",IDC_AUTHPRIV_ERR,"Button",BS_AUTOCHECKBOX | 426 CONTROL "",IDC_AUTHPRIV_ERR,"Button",BS_AUTOCHECKBOX |
427 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,339,61,16,10 427 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,339,61,16,10
428 CONTROL "",IDC_AUTHPRIV_WARN,"Button",BS_AUTOCHECKBOX | 428 CONTROL "",IDC_AUTHPRIV_WARN,"Button",BS_AUTOCHECKBOX |
429 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,339,74,16,10 429 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,339,74,16,10
430 CONTROL "",IDC_AUTHPRIV_NOTICE,"Button",BS_AUTOCHECKBOX | 430 CONTROL "",IDC_AUTHPRIV_NOTICE,"Button",BS_AUTOCHECKBOX |
431 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,339,87,16,10 431 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,339,87,16,10
432 CONTROL "",IDC_AUTHPRIV_INFO,"Button",BS_AUTOCHECKBOX | 432 CONTROL "",IDC_AUTHPRIV_INFO,"Button",BS_AUTOCHECKBOX |
433 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,339,99,16,10 433 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,339,99,16,10
434 CONTROL "",IDC_AUTHPRIV_DEBUG,"Button",BS_AUTOCHECKBOX | 434 CONTROL "",IDC_AUTHPRIV_DEBUG,"Button",BS_AUTOCHECKBOX |
435 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,339,112,16,10 435 BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,339,112,16,10
436 PUSHBUTTON "authpriv",IDC_AUTHPRIV_XOR,332,124,30,13,BS_CENTER | 436 PUSHBUTTON "authpriv",IDC_AUTHPRIV_XOR,332,124,30,13,BS_CENTER |
437 BS_VCENTER | BS_NOTIFY 437 BS_VCENTER | BS_NOTIFY
438END 438END
439 439
440IDD_LOG_RESERVED DIALOG DISCARDABLE 0, 0, 394, 143 440IDD_LOG_RESERVED DIALOG DISCARDABLE 0, 0, 394, 143
441STYLE DS_3DLOOK | WS_CHILD | WS_DISABLED | WS_CAPTION 441STYLE DS_3DLOOK | WS_CHILD | WS_DISABLED | WS_CAPTION
442CAPTION "Reserved" 442CAPTION "Reserved"
443FONT 8, "MS Sans Serif" 443FONT 8, "MS Sans Serif"
444BEGIN 444BEGIN
445 PUSHBUTTON "emerg",IDC_EMERG_ON,96,20,25,13,BS_CENTER | BS_VCENTER | 445 PUSHBUTTON "emerg",IDC_EMERG_ON,96,20,25,13,BS_CENTER | BS_VCENTER |
446 BS_NOTIFY 446 BS_NOTIFY
447 PUSHBUTTON "alert",IDC_ALERT_ON,96,33,25,13,BS_CENTER | BS_VCENTER | 447 PUSHBUTTON "alert",IDC_ALERT_ON,96,33,25,13,BS_CENTER | BS_VCENTER |
448 BS_NOTIFY 448 BS_NOTIFY
449 PUSHBUTTON "crit",IDC_CRIT_ON,96,46,25,13,BS_CENTER | BS_VCENTER | 449 PUSHBUTTON "crit",IDC_CRIT_ON,96,46,25,13,BS_CENTER | BS_VCENTER |
450 BS_NOTIFY 450 BS_NOTIFY
451 PUSHBUTTON "err",IDC_ERR_ON,96,59,25,13,BS_CENTER | BS_VCENTER | 451 PUSHBUTTON "err",IDC_ERR_ON,96,59,25,13,BS_CENTER | BS_VCENTER |
452 BS_NOTIFY 452 BS_NOTIFY
453 PUSHBUTTON "warn",IDC_WARN_ON,96,72,25,13,BS_CENTER | BS_VCENTER | 453 PUSHBUTTON "warn",IDC_WARN_ON,96,72,25,13,BS_CENTER | BS_VCENTER |
454 BS_NOTIFY 454 BS_NOTIFY
455 PUSHBUTTON "notice",IDC_NOTICE_ON,96,85,25,13,BS_CENTER | 455 PUSHBUTTON "notice",IDC_NOTICE_ON,96,85,25,13,BS_CENTER |
456 BS_VCENTER | BS_NOTIFY 456 BS_VCENTER | BS_NOTIFY
457 PUSHBUTTON "info",IDC_INFO_ON,96,98,25,13,BS_CENTER | BS_VCENTER | 457 PUSHBUTTON "info",IDC_INFO_ON,96,98,25,13,BS_CENTER | BS_VCENTER |
458 BS_NOTIFY 458 BS_NOTIFY
459 PUSHBUTTON "debug",IDC_DEBUG_ON,96,111,25,13,BS_CENTER | BS_VCENTER | 459 PUSHBUTTON "debug",IDC_DEBUG_ON,96,111,25,13,BS_CENTER | BS_VCENTER |
460 BS_NOTIFY 460 BS_NOTIFY
461 PUSHBUTTON "0",IDC_R0_ON,121,7,30,13,BS_CENTER | BS_VCENTER | 461 PUSHBUTTON "0",IDC_R0_ON,121,7,30,13,BS_CENTER | BS_VCENTER |
462 BS_NOTIFY 462 BS_NOTIFY
463 PUSHBUTTON "1",IDC_R1_ON,151,7,30,13,BS_CENTER | BS_VCENTER | 463 PUSHBUTTON "1",IDC_R1_ON,151,7,30,13,BS_CENTER | BS_VCENTER |
464 BS_NOTIFY 464 BS_NOTIFY
465 PUSHBUTTON "2",IDC_R2_ON,181,7,30,13,BS_CENTER | BS_VCENTER | 465 PUSHBUTTON "2",IDC_R2_ON,181,7,30,13,BS_CENTER | BS_VCENTER |
466 BS_NOTIFY 466 BS_NOTIFY
467 PUSHBUTTON "3",IDC_R3_ON,211,7,30,13,BS_CENTER | BS_VCENTER | 467 PUSHBUTTON "3",IDC_R3_ON,211,7,30,13,BS_CENTER | BS_VCENTER |
468 BS_NOTIFY 468 BS_NOTIFY
469 PUSHBUTTON "4",IDC_R4_ON,241,7,30,13,BS_CENTER | BS_VCENTER | 469 PUSHBUTTON "4",IDC_R4_ON,241,7,30,13,BS_CENTER | BS_VCENTER |
470 BS_NOTIFY 470 BS_NOTIFY
471 CONTROL "",IDC_R0_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 471 CONTROL "",IDC_R0_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
472 BS_NOTIFY | WS_TABSTOP,128,21,16,10 472 BS_NOTIFY | WS_TABSTOP,128,21,16,10
473 CONTROL "",IDC_R0_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 473 CONTROL "",IDC_R0_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
474 BS_NOTIFY | WS_TABSTOP,128,34,16,10 474 BS_NOTIFY | WS_TABSTOP,128,34,16,10
475 CONTROL "",IDC_R0_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 475 CONTROL "",IDC_R0_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
476 BS_NOTIFY | WS_TABSTOP,128,47,16,10 476 BS_NOTIFY | WS_TABSTOP,128,47,16,10
477 CONTROL "",IDC_R0_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 477 CONTROL "",IDC_R0_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
478 BS_NOTIFY | WS_TABSTOP,128,60,16,10 478 BS_NOTIFY | WS_TABSTOP,128,60,16,10
479 CONTROL "",IDC_R0_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 479 CONTROL "",IDC_R0_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
480 BS_NOTIFY | WS_TABSTOP,128,73,16,10 480 BS_NOTIFY | WS_TABSTOP,128,73,16,10
481 CONTROL "",IDC_R0_NOTICE,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 481 CONTROL "",IDC_R0_NOTICE,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
482 BS_NOTIFY | WS_TABSTOP,128,86,16,10 482 BS_NOTIFY | WS_TABSTOP,128,86,16,10
483 CONTROL "",IDC_R0_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 483 CONTROL "",IDC_R0_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
484 BS_NOTIFY | WS_TABSTOP,128,99,16,10 484 BS_NOTIFY | WS_TABSTOP,128,99,16,10
485 CONTROL "",IDC_R0_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 485 CONTROL "",IDC_R0_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
486 BS_NOTIFY | WS_TABSTOP,128,112,16,10 486 BS_NOTIFY | WS_TABSTOP,128,112,16,10
487 CONTROL "",IDC_R1_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 487 CONTROL "",IDC_R1_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
488 BS_NOTIFY | WS_TABSTOP,158,21,16,10 488 BS_NOTIFY | WS_TABSTOP,158,21,16,10
489 CONTROL "",IDC_R1_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 489 CONTROL "",IDC_R1_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
490 BS_NOTIFY | WS_TABSTOP,158,34,16,10 490 BS_NOTIFY | WS_TABSTOP,158,34,16,10
491 CONTROL "",IDC_R1_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 491 CONTROL "",IDC_R1_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
492 BS_NOTIFY | WS_TABSTOP,158,47,16,10 492 BS_NOTIFY | WS_TABSTOP,158,47,16,10
493 CONTROL "",IDC_R1_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 493 CONTROL "",IDC_R1_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
494 BS_NOTIFY | WS_TABSTOP,158,60,16,10 494 BS_NOTIFY | WS_TABSTOP,158,60,16,10
495 CONTROL "",IDC_R1_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 495 CONTROL "",IDC_R1_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
496 BS_NOTIFY | WS_TABSTOP,158,73,16,10 496 BS_NOTIFY | WS_TABSTOP,158,73,16,10
497 CONTROL "",IDC_R1_NOTICE,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 497 CONTROL "",IDC_R1_NOTICE,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
498 BS_NOTIFY | WS_TABSTOP,158,86,16,10 498 BS_NOTIFY | WS_TABSTOP,158,86,16,10
499 CONTROL "",IDC_R1_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 499 CONTROL "",IDC_R1_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
500 BS_NOTIFY | WS_TABSTOP,158,99,16,10 500 BS_NOTIFY | WS_TABSTOP,158,99,16,10
501 CONTROL "",IDC_R1_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 501 CONTROL "",IDC_R1_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
502 BS_NOTIFY | WS_TABSTOP,158,112,16,10 502 BS_NOTIFY | WS_TABSTOP,158,112,16,10
503 CONTROL "",IDC_R2_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 503 CONTROL "",IDC_R2_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
504 BS_NOTIFY | WS_TABSTOP,188,21,16,10 504 BS_NOTIFY | WS_TABSTOP,188,21,16,10
505 CONTROL "",IDC_R2_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 505 CONTROL "",IDC_R2_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
506 BS_NOTIFY | WS_TABSTOP,188,34,16,10 506 BS_NOTIFY | WS_TABSTOP,188,34,16,10
507 CONTROL "",IDC_R2_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 507 CONTROL "",IDC_R2_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
508 BS_NOTIFY | WS_TABSTOP,188,47,16,10 508 BS_NOTIFY | WS_TABSTOP,188,47,16,10
509 CONTROL "",IDC_R2_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 509 CONTROL "",IDC_R2_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
510 BS_NOTIFY | WS_TABSTOP,188,60,16,10 510 BS_NOTIFY | WS_TABSTOP,188,60,16,10
511 CONTROL "",IDC_R2_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 511 CONTROL "",IDC_R2_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
512 BS_NOTIFY | WS_TABSTOP,188,73,16,10 512 BS_NOTIFY | WS_TABSTOP,188,73,16,10
513 CONTROL "",IDC_R2_NOTICE,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 513 CONTROL "",IDC_R2_NOTICE,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
514 BS_NOTIFY | WS_TABSTOP,188,86,16,10 514 BS_NOTIFY | WS_TABSTOP,188,86,16,10
515 CONTROL "",IDC_R2_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 515 CONTROL "",IDC_R2_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
516 BS_NOTIFY | WS_TABSTOP,188,99,16,10 516 BS_NOTIFY | WS_TABSTOP,188,99,16,10
517 CONTROL "",IDC_R2_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 517 CONTROL "",IDC_R2_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
518 BS_NOTIFY | WS_TABSTOP,188,112,16,10 518 BS_NOTIFY | WS_TABSTOP,188,112,16,10
519 CONTROL "",IDC_R3_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 519 CONTROL "",IDC_R3_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
520 BS_NOTIFY | WS_TABSTOP,218,21,16,10 520 BS_NOTIFY | WS_TABSTOP,218,21,16,10
521 CONTROL "",IDC_R3_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 521 CONTROL "",IDC_R3_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
522 BS_NOTIFY | WS_TABSTOP,218,34,16,10 522 BS_NOTIFY | WS_TABSTOP,218,34,16,10
523 CONTROL "",IDC_R3_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 523 CONTROL "",IDC_R3_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
524 BS_NOTIFY | WS_TABSTOP,218,47,16,10 524 BS_NOTIFY | WS_TABSTOP,218,47,16,10
525 CONTROL "",IDC_R3_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 525 CONTROL "",IDC_R3_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
526 BS_NOTIFY | WS_TABSTOP,218,60,16,10 526 BS_NOTIFY | WS_TABSTOP,218,60,16,10
527 CONTROL "",IDC_R3_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 527 CONTROL "",IDC_R3_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
528 BS_NOTIFY | WS_TABSTOP,218,73,16,10 528 BS_NOTIFY | WS_TABSTOP,218,73,16,10
529 CONTROL "",IDC_R3_NOTICE,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 529 CONTROL "",IDC_R3_NOTICE,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
530 BS_NOTIFY | WS_TABSTOP,218,86,16,10 530 BS_NOTIFY | WS_TABSTOP,218,86,16,10
531 CONTROL "",IDC_R3_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 531 CONTROL "",IDC_R3_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
532 BS_NOTIFY | WS_TABSTOP,218,99,16,10 532 BS_NOTIFY | WS_TABSTOP,218,99,16,10
533 CONTROL "",IDC_R3_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 533 CONTROL "",IDC_R3_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
534 BS_NOTIFY | WS_TABSTOP,218,112,16,10 534 BS_NOTIFY | WS_TABSTOP,218,112,16,10
535 CONTROL "",IDC_R4_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 535 CONTROL "",IDC_R4_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
536 BS_NOTIFY | WS_TABSTOP,248,21,16,10 536 BS_NOTIFY | WS_TABSTOP,248,21,16,10
537 CONTROL "",IDC_R4_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 537 CONTROL "",IDC_R4_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
538 BS_NOTIFY | WS_TABSTOP,248,34,16,10 538 BS_NOTIFY | WS_TABSTOP,248,34,16,10
539 CONTROL "",IDC_R4_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 539 CONTROL "",IDC_R4_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
540 BS_NOTIFY | WS_TABSTOP,248,47,16,10 540 BS_NOTIFY | WS_TABSTOP,248,47,16,10
541 CONTROL "",IDC_R4_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 541 CONTROL "",IDC_R4_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
542 BS_NOTIFY | WS_TABSTOP,248,60,16,10 542 BS_NOTIFY | WS_TABSTOP,248,60,16,10
543 CONTROL "",IDC_R4_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 543 CONTROL "",IDC_R4_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
544 BS_NOTIFY | WS_TABSTOP,248,73,16,10 544 BS_NOTIFY | WS_TABSTOP,248,73,16,10
545 CONTROL "",IDC_R4_NOTICE,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 545 CONTROL "",IDC_R4_NOTICE,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
546 BS_NOTIFY | WS_TABSTOP,248,86,16,10 546 BS_NOTIFY | WS_TABSTOP,248,86,16,10
547 CONTROL "",IDC_R4_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 547 CONTROL "",IDC_R4_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
548 BS_NOTIFY | WS_TABSTOP,248,99,16,10 548 BS_NOTIFY | WS_TABSTOP,248,99,16,10
549 CONTROL "",IDC_R4_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 549 CONTROL "",IDC_R4_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
550 BS_NOTIFY | WS_TABSTOP,248,112,16,10 550 BS_NOTIFY | WS_TABSTOP,248,112,16,10
551 PUSHBUTTON "emerg",IDC_EMERG_XOR,271,20,25,13,BS_CENTER | 551 PUSHBUTTON "emerg",IDC_EMERG_XOR,271,20,25,13,BS_CENTER |
552 BS_VCENTER | BS_NOTIFY 552 BS_VCENTER | BS_NOTIFY
553 PUSHBUTTON "alert",IDC_ALERT_XOR,271,33,25,13,BS_CENTER | 553 PUSHBUTTON "alert",IDC_ALERT_XOR,271,33,25,13,BS_CENTER |
554 BS_VCENTER | BS_NOTIFY 554 BS_VCENTER | BS_NOTIFY
555 PUSHBUTTON "crit",IDC_CRIT_XOR,271,46,25,13,BS_CENTER | BS_VCENTER | 555 PUSHBUTTON "crit",IDC_CRIT_XOR,271,46,25,13,BS_CENTER | BS_VCENTER |
556 BS_NOTIFY 556 BS_NOTIFY
557 PUSHBUTTON "err",IDC_ERR_XOR,271,59,25,13,BS_CENTER | BS_VCENTER | 557 PUSHBUTTON "err",IDC_ERR_XOR,271,59,25,13,BS_CENTER | BS_VCENTER |
558 BS_NOTIFY 558 BS_NOTIFY
559 PUSHBUTTON "warn",IDC_WARN_XOR,271,72,25,13,BS_CENTER | BS_VCENTER | 559 PUSHBUTTON "warn",IDC_WARN_XOR,271,72,25,13,BS_CENTER | BS_VCENTER |
560 BS_NOTIFY 560 BS_NOTIFY
561 PUSHBUTTON "notice",IDC_NOTICE_XOR,271,85,25,13,BS_CENTER | 561 PUSHBUTTON "notice",IDC_NOTICE_XOR,271,85,25,13,BS_CENTER |
562 BS_VCENTER | BS_NOTIFY 562 BS_VCENTER | BS_NOTIFY
563 PUSHBUTTON "info",IDC_INFO_XOR,271,98,25,13,BS_CENTER | BS_VCENTER | 563 PUSHBUTTON "info",IDC_INFO_XOR,271,98,25,13,BS_CENTER | BS_VCENTER |
564 BS_NOTIFY 564 BS_NOTIFY
565 PUSHBUTTON "debug",IDC_DEBUG_XOR,271,111,25,13,BS_CENTER | 565 PUSHBUTTON "debug",IDC_DEBUG_XOR,271,111,25,13,BS_CENTER |
566 BS_VCENTER | BS_NOTIFY 566 BS_VCENTER | BS_NOTIFY
567 PUSHBUTTON "0",IDC_R0_XOR,121,124,30,13,BS_CENTER | BS_VCENTER | 567 PUSHBUTTON "0",IDC_R0_XOR,121,124,30,13,BS_CENTER | BS_VCENTER |
568 BS_NOTIFY 568 BS_NOTIFY
569 PUSHBUTTON "1",IDC_R1_XOR,151,124,30,13,BS_CENTER | BS_VCENTER | 569 PUSHBUTTON "1",IDC_R1_XOR,151,124,30,13,BS_CENTER | BS_VCENTER |
570 BS_NOTIFY 570 BS_NOTIFY
571 PUSHBUTTON "2",IDC_R2_XOR,181,124,30,13,BS_CENTER | BS_VCENTER | 571 PUSHBUTTON "2",IDC_R2_XOR,181,124,30,13,BS_CENTER | BS_VCENTER |
572 BS_NOTIFY 572 BS_NOTIFY
573 PUSHBUTTON "3",IDC_R3_XOR,211,124,30,13,BS_CENTER | BS_VCENTER | 573 PUSHBUTTON "3",IDC_R3_XOR,211,124,30,13,BS_CENTER | BS_VCENTER |
574 BS_NOTIFY 574 BS_NOTIFY
575 PUSHBUTTON "4",IDC_R4_XOR,241,124,30,13,BS_CENTER | BS_VCENTER | 575 PUSHBUTTON "4",IDC_R4_XOR,241,124,30,13,BS_CENTER | BS_VCENTER |
576 BS_NOTIFY 576 BS_NOTIFY
577 LTEXT "Toggle",IDC_STATIC,272,126,23,8 577 LTEXT "Toggle",IDC_STATIC,272,126,23,8
578 LTEXT "ON",IDC_STATIC,103,9,12,8 578 LTEXT "ON",IDC_STATIC,103,9,12,8
579END 579END
580 580
581IDD_LOG_LOCAL DIALOG DISCARDABLE 0, 0, 394, 143 581IDD_LOG_LOCAL DIALOG DISCARDABLE 0, 0, 394, 143
582STYLE DS_3DLOOK | WS_CHILD | WS_DISABLED | WS_CAPTION 582STYLE DS_3DLOOK | WS_CHILD | WS_DISABLED | WS_CAPTION
583CAPTION "Local" 583CAPTION "Local"
584FONT 8, "MS Sans Serif" 584FONT 8, "MS Sans Serif"
585BEGIN 585BEGIN
586 PUSHBUTTON "emerg",IDC_EMERG_ON,51,20,25,13,BS_CENTER | BS_VCENTER | 586 PUSHBUTTON "emerg",IDC_EMERG_ON,51,20,25,13,BS_CENTER | BS_VCENTER |
587 BS_NOTIFY 587 BS_NOTIFY
588 PUSHBUTTON "alert",IDC_ALERT_ON,51,33,25,13,BS_CENTER | BS_VCENTER | 588 PUSHBUTTON "alert",IDC_ALERT_ON,51,33,25,13,BS_CENTER | BS_VCENTER |
589 BS_NOTIFY 589 BS_NOTIFY
590 PUSHBUTTON "crit",IDC_CRIT_ON,51,46,25,13,BS_CENTER | BS_VCENTER | 590 PUSHBUTTON "crit",IDC_CRIT_ON,51,46,25,13,BS_CENTER | BS_VCENTER |
591 BS_NOTIFY 591 BS_NOTIFY
592 PUSHBUTTON "err",IDC_ERR_ON,51,59,25,13,BS_CENTER | BS_VCENTER | 592 PUSHBUTTON "err",IDC_ERR_ON,51,59,25,13,BS_CENTER | BS_VCENTER |
593 BS_NOTIFY 593 BS_NOTIFY
594 PUSHBUTTON "warn",IDC_WARN_ON,51,72,25,13,BS_CENTER | BS_VCENTER | 594 PUSHBUTTON "warn",IDC_WARN_ON,51,72,25,13,BS_CENTER | BS_VCENTER |
595 BS_NOTIFY 595 BS_NOTIFY
596 PUSHBUTTON "notice",IDC_NOTICE_ON,51,85,25,13,BS_CENTER | 596 PUSHBUTTON "notice",IDC_NOTICE_ON,51,85,25,13,BS_CENTER |
597 BS_VCENTER | BS_NOTIFY 597 BS_VCENTER | BS_NOTIFY
598 PUSHBUTTON "info",IDC_INFO_ON,51,98,25,13,BS_CENTER | BS_VCENTER | 598 PUSHBUTTON "info",IDC_INFO_ON,51,98,25,13,BS_CENTER | BS_VCENTER |
599 BS_NOTIFY 599 BS_NOTIFY
600 PUSHBUTTON "debug",IDC_DEBUG_ON,51,111,25,13,BS_CENTER | BS_VCENTER | 600 PUSHBUTTON "debug",IDC_DEBUG_ON,51,111,25,13,BS_CENTER | BS_VCENTER |
601 BS_NOTIFY 601 BS_NOTIFY
602 PUSHBUTTON "0",IDC_L0_ON,76,7,30,13,BS_CENTER | BS_VCENTER | 602 PUSHBUTTON "0",IDC_L0_ON,76,7,30,13,BS_CENTER | BS_VCENTER |
603 BS_NOTIFY 603 BS_NOTIFY
604 PUSHBUTTON "1",IDC_L1_ON,106,7,30,13,BS_CENTER | BS_VCENTER | 604 PUSHBUTTON "1",IDC_L1_ON,106,7,30,13,BS_CENTER | BS_VCENTER |
605 BS_NOTIFY 605 BS_NOTIFY
606 PUSHBUTTON "2",IDC_L2_ON,136,7,30,13,BS_CENTER | BS_VCENTER | 606 PUSHBUTTON "2",IDC_L2_ON,136,7,30,13,BS_CENTER | BS_VCENTER |
607 BS_NOTIFY 607 BS_NOTIFY
608 PUSHBUTTON "3",IDC_L3_ON,166,7,30,13,BS_CENTER | BS_VCENTER | 608 PUSHBUTTON "3",IDC_L3_ON,166,7,30,13,BS_CENTER | BS_VCENTER |
609 BS_NOTIFY 609 BS_NOTIFY
610 PUSHBUTTON "4",IDC_L4_ON,196,7,30,13,BS_CENTER | BS_VCENTER | 610 PUSHBUTTON "4",IDC_L4_ON,196,7,30,13,BS_CENTER | BS_VCENTER |
611 BS_NOTIFY 611 BS_NOTIFY
612 PUSHBUTTON "5",IDC_L5_ON,226,7,30,13,BS_CENTER | BS_VCENTER | 612 PUSHBUTTON "5",IDC_L5_ON,226,7,30,13,BS_CENTER | BS_VCENTER |
613 BS_NOTIFY 613 BS_NOTIFY
614 PUSHBUTTON "6",IDC_L6_ON,256,7,30,13,BS_CENTER | BS_VCENTER | 614 PUSHBUTTON "6",IDC_L6_ON,256,7,30,13,BS_CENTER | BS_VCENTER |
615 BS_NOTIFY 615 BS_NOTIFY
616 PUSHBUTTON "7",IDC_L7_ON,286,7,30,13,BS_CENTER | BS_VCENTER | 616 PUSHBUTTON "7",IDC_L7_ON,286,7,30,13,BS_CENTER | BS_VCENTER |
617 BS_NOTIFY 617 BS_NOTIFY
618 CONTROL "",IDC_L0_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 618 CONTROL "",IDC_L0_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
619 BS_NOTIFY | WS_TABSTOP,83,21,16,10 619 BS_NOTIFY | WS_TABSTOP,83,21,16,10
620 CONTROL "",IDC_L0_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 620 CONTROL "",IDC_L0_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
621 BS_NOTIFY | WS_TABSTOP,83,34,16,10 621 BS_NOTIFY | WS_TABSTOP,83,34,16,10
622 CONTROL "",IDC_L0_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 622 CONTROL "",IDC_L0_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
623 BS_NOTIFY | WS_TABSTOP,83,47,16,10 623 BS_NOTIFY | WS_TABSTOP,83,47,16,10
624 CONTROL "",IDC_L0_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 624 CONTROL "",IDC_L0_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
625 BS_NOTIFY | WS_TABSTOP,83,60,16,10 625 BS_NOTIFY | WS_TABSTOP,83,60,16,10
626 CONTROL "",IDC_L0_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 626 CONTROL "",IDC_L0_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
627 BS_NOTIFY | WS_TABSTOP,83,73,16,10 627 BS_NOTIFY | WS_TABSTOP,83,73,16,10
628 CONTROL "",IDC_L0_NOTICE,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 628 CONTROL "",IDC_L0_NOTICE,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
629 BS_NOTIFY | WS_TABSTOP,83,86,16,10 629 BS_NOTIFY | WS_TABSTOP,83,86,16,10
630 CONTROL "",IDC_L0_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 630 CONTROL "",IDC_L0_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
631 BS_NOTIFY | WS_TABSTOP,83,99,16,10 631 BS_NOTIFY | WS_TABSTOP,83,99,16,10
632 CONTROL "",IDC_L0_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 632 CONTROL "",IDC_L0_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
633 BS_NOTIFY | WS_TABSTOP,83,112,16,10 633 BS_NOTIFY | WS_TABSTOP,83,112,16,10
634 CONTROL "",IDC_L1_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 634 CONTROL "",IDC_L1_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
635 BS_NOTIFY | WS_TABSTOP,113,21,16,10 635 BS_NOTIFY | WS_TABSTOP,113,21,16,10
636 CONTROL "",IDC_L1_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 636 CONTROL "",IDC_L1_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
637 BS_NOTIFY | WS_TABSTOP,113,34,16,10 637 BS_NOTIFY | WS_TABSTOP,113,34,16,10
638 CONTROL "",IDC_L1_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 638 CONTROL "",IDC_L1_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
639 BS_NOTIFY | WS_TABSTOP,113,47,16,10 639 BS_NOTIFY | WS_TABSTOP,113,47,16,10
640 CONTROL "",IDC_L1_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 640 CONTROL "",IDC_L1_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
641 BS_NOTIFY | WS_TABSTOP,113,60,16,10 641 BS_NOTIFY | WS_TABSTOP,113,60,16,10
642 CONTROL "",IDC_L1_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 642 CONTROL "",IDC_L1_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
643 BS_NOTIFY | WS_TABSTOP,113,73,16,10 643 BS_NOTIFY | WS_TABSTOP,113,73,16,10
644 CONTROL "",IDC_L1_NOTICE,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 644 CONTROL "",IDC_L1_NOTICE,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
645 BS_NOTIFY | WS_TABSTOP,113,86,16,10 645 BS_NOTIFY | WS_TABSTOP,113,86,16,10
646 CONTROL "",IDC_L1_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 646 CONTROL "",IDC_L1_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
647 BS_NOTIFY | WS_TABSTOP,113,99,16,10 647 BS_NOTIFY | WS_TABSTOP,113,99,16,10
648 CONTROL "",IDC_L1_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 648 CONTROL "",IDC_L1_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
649 BS_NOTIFY | WS_TABSTOP,113,112,16,10 649 BS_NOTIFY | WS_TABSTOP,113,112,16,10
650 CONTROL "",IDC_L2_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 650 CONTROL "",IDC_L2_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
651 BS_NOTIFY | WS_TABSTOP,143,21,16,10 651 BS_NOTIFY | WS_TABSTOP,143,21,16,10
652 CONTROL "",IDC_L2_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 652 CONTROL "",IDC_L2_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
653 BS_NOTIFY | WS_TABSTOP,143,34,16,10 653 BS_NOTIFY | WS_TABSTOP,143,34,16,10
654 CONTROL "",IDC_L2_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 654 CONTROL "",IDC_L2_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
655 BS_NOTIFY | WS_TABSTOP,143,47,16,10 655 BS_NOTIFY | WS_TABSTOP,143,47,16,10
656 CONTROL "",IDC_L2_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 656 CONTROL "",IDC_L2_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
657 BS_NOTIFY | WS_TABSTOP,143,60,16,10 657 BS_NOTIFY | WS_TABSTOP,143,60,16,10
658 CONTROL "",IDC_L2_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 658 CONTROL "",IDC_L2_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
659 BS_NOTIFY | WS_TABSTOP,143,73,16,10 659 BS_NOTIFY | WS_TABSTOP,143,73,16,10
660 CONTROL "",IDC_L2_NOTICE,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 660 CONTROL "",IDC_L2_NOTICE,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
661 BS_NOTIFY | WS_TABSTOP,143,86,16,10 661 BS_NOTIFY | WS_TABSTOP,143,86,16,10
662 CONTROL "",IDC_L2_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 662 CONTROL "",IDC_L2_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
663 BS_NOTIFY | WS_TABSTOP,143,99,16,10 663 BS_NOTIFY | WS_TABSTOP,143,99,16,10
664 CONTROL "",IDC_L2_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 664 CONTROL "",IDC_L2_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
665 BS_NOTIFY | WS_TABSTOP,143,112,16,10 665 BS_NOTIFY | WS_TABSTOP,143,112,16,10
666 CONTROL "",IDC_L3_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 666 CONTROL "",IDC_L3_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
667 BS_NOTIFY | WS_TABSTOP,173,21,16,10 667 BS_NOTIFY | WS_TABSTOP,173,21,16,10
668 CONTROL "",IDC_L3_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 668 CONTROL "",IDC_L3_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
669 BS_NOTIFY | WS_TABSTOP,173,34,16,10 669 BS_NOTIFY | WS_TABSTOP,173,34,16,10
670 CONTROL "",IDC_L3_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 670 CONTROL "",IDC_L3_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
671 BS_NOTIFY | WS_TABSTOP,173,47,16,10 671 BS_NOTIFY | WS_TABSTOP,173,47,16,10
672 CONTROL "",IDC_L3_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 672 CONTROL "",IDC_L3_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
673 BS_NOTIFY | WS_TABSTOP,173,60,16,10 673 BS_NOTIFY | WS_TABSTOP,173,60,16,10
674 CONTROL "",IDC_L3_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 674 CONTROL "",IDC_L3_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
675 BS_NOTIFY | WS_TABSTOP,173,73,16,10 675 BS_NOTIFY | WS_TABSTOP,173,73,16,10
676 CONTROL "",IDC_L3_NOTICE,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 676 CONTROL "",IDC_L3_NOTICE,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
677 BS_NOTIFY | WS_TABSTOP,173,86,16,10 677 BS_NOTIFY | WS_TABSTOP,173,86,16,10
678 CONTROL "",IDC_L3_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 678 CONTROL "",IDC_L3_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
679 BS_NOTIFY | WS_TABSTOP,173,99,16,10 679 BS_NOTIFY | WS_TABSTOP,173,99,16,10
680 CONTROL "",IDC_L3_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 680 CONTROL "",IDC_L3_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
681 BS_NOTIFY | WS_TABSTOP,173,112,16,10 681 BS_NOTIFY | WS_TABSTOP,173,112,16,10
682 CONTROL "",IDC_L4_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 682 CONTROL "",IDC_L4_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
683 BS_NOTIFY | WS_TABSTOP,203,21,16,10 683 BS_NOTIFY | WS_TABSTOP,203,21,16,10
684 CONTROL "",IDC_L4_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 684 CONTROL "",IDC_L4_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
685 BS_NOTIFY | WS_TABSTOP,203,34,16,10 685 BS_NOTIFY | WS_TABSTOP,203,34,16,10
686 CONTROL "",IDC_L4_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 686 CONTROL "",IDC_L4_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
687 BS_NOTIFY | WS_TABSTOP,203,47,16,10 687 BS_NOTIFY | WS_TABSTOP,203,47,16,10
688 CONTROL "",IDC_L4_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 688 CONTROL "",IDC_L4_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
689 BS_NOTIFY | WS_TABSTOP,203,60,16,10 689 BS_NOTIFY | WS_TABSTOP,203,60,16,10
690 CONTROL "",IDC_L4_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 690 CONTROL "",IDC_L4_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
691 BS_NOTIFY | WS_TABSTOP,203,73,16,10 691 BS_NOTIFY | WS_TABSTOP,203,73,16,10
692 CONTROL "",IDC_L4_NOTICE,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 692 CONTROL "",IDC_L4_NOTICE,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
693 BS_NOTIFY | WS_TABSTOP,203,86,16,10 693 BS_NOTIFY | WS_TABSTOP,203,86,16,10
694 CONTROL "",IDC_L4_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 694 CONTROL "",IDC_L4_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
695 BS_NOTIFY | WS_TABSTOP,203,99,16,10 695 BS_NOTIFY | WS_TABSTOP,203,99,16,10
696 CONTROL "",IDC_L4_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 696 CONTROL "",IDC_L4_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
697 BS_NOTIFY | WS_TABSTOP,203,112,16,10 697 BS_NOTIFY | WS_TABSTOP,203,112,16,10
698 CONTROL "",IDC_L5_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 698 CONTROL "",IDC_L5_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
699 BS_NOTIFY | WS_TABSTOP,233,21,16,10 699 BS_NOTIFY | WS_TABSTOP,233,21,16,10
700 CONTROL "",IDC_L5_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 700 CONTROL "",IDC_L5_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
701 BS_NOTIFY | WS_TABSTOP,233,34,16,10 701 BS_NOTIFY | WS_TABSTOP,233,34,16,10
702 CONTROL "",IDC_L5_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 702 CONTROL "",IDC_L5_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
703 BS_NOTIFY | WS_TABSTOP,233,47,16,10 703 BS_NOTIFY | WS_TABSTOP,233,47,16,10
704 CONTROL "",IDC_L5_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 704 CONTROL "",IDC_L5_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
705 BS_NOTIFY | WS_TABSTOP,233,60,16,10 705 BS_NOTIFY | WS_TABSTOP,233,60,16,10
706 CONTROL "",IDC_L5_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 706 CONTROL "",IDC_L5_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
707 BS_NOTIFY | WS_TABSTOP,233,73,16,10 707 BS_NOTIFY | WS_TABSTOP,233,73,16,10
708 CONTROL "",IDC_L5_NOTICE,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 708 CONTROL "",IDC_L5_NOTICE,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
709 BS_NOTIFY | WS_TABSTOP,233,86,16,10 709 BS_NOTIFY | WS_TABSTOP,233,86,16,10
710 CONTROL "",IDC_L5_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 710 CONTROL "",IDC_L5_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
711 BS_NOTIFY | WS_TABSTOP,233,99,16,10 711 BS_NOTIFY | WS_TABSTOP,233,99,16,10
712 CONTROL "",IDC_L5_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 712 CONTROL "",IDC_L5_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
713 BS_NOTIFY | WS_TABSTOP,233,112,16,10 713 BS_NOTIFY | WS_TABSTOP,233,112,16,10
714 CONTROL "",IDC_L6_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 714 CONTROL "",IDC_L6_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
715 BS_NOTIFY | WS_TABSTOP,263,21,16,10 715 BS_NOTIFY | WS_TABSTOP,263,21,16,10
716 CONTROL "",IDC_L6_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 716 CONTROL "",IDC_L6_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
717 BS_NOTIFY | WS_TABSTOP,263,34,16,10 717 BS_NOTIFY | WS_TABSTOP,263,34,16,10
718 CONTROL "",IDC_L6_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 718 CONTROL "",IDC_L6_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
719 BS_NOTIFY | WS_TABSTOP,263,47,16,10 719 BS_NOTIFY | WS_TABSTOP,263,47,16,10
720 CONTROL "",IDC_L6_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 720 CONTROL "",IDC_L6_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
721 BS_NOTIFY | WS_TABSTOP,263,60,16,10 721 BS_NOTIFY | WS_TABSTOP,263,60,16,10
722 CONTROL "",IDC_L6_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 722 CONTROL "",IDC_L6_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
723 BS_NOTIFY | WS_TABSTOP,263,73,16,10 723 BS_NOTIFY | WS_TABSTOP,263,73,16,10
724 CONTROL "",IDC_L6_NOTICE,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 724 CONTROL "",IDC_L6_NOTICE,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
725 BS_NOTIFY | WS_TABSTOP,263,86,16,10 725 BS_NOTIFY | WS_TABSTOP,263,86,16,10
726 CONTROL "",IDC_L6_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 726 CONTROL "",IDC_L6_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
727 BS_NOTIFY | WS_TABSTOP,263,99,16,10 727 BS_NOTIFY | WS_TABSTOP,263,99,16,10
728 CONTROL "",IDC_L6_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 728 CONTROL "",IDC_L6_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
729 BS_NOTIFY | WS_TABSTOP,263,112,16,10 729 BS_NOTIFY | WS_TABSTOP,263,112,16,10
730 CONTROL "",IDC_L7_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 730 CONTROL "",IDC_L7_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
731 BS_NOTIFY | WS_TABSTOP,293,21,16,10 731 BS_NOTIFY | WS_TABSTOP,293,21,16,10
732 CONTROL "",IDC_L7_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 732 CONTROL "",IDC_L7_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
733 BS_NOTIFY | WS_TABSTOP,293,34,16,10 733 BS_NOTIFY | WS_TABSTOP,293,34,16,10
734 CONTROL "",IDC_L7_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 734 CONTROL "",IDC_L7_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
735 BS_NOTIFY | WS_TABSTOP,293,47,16,10 735 BS_NOTIFY | WS_TABSTOP,293,47,16,10
736 CONTROL "",IDC_L7_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 736 CONTROL "",IDC_L7_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
737 BS_NOTIFY | WS_TABSTOP,293,60,16,10 737 BS_NOTIFY | WS_TABSTOP,293,60,16,10
738 CONTROL "",IDC_L7_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 738 CONTROL "",IDC_L7_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
739 BS_NOTIFY | WS_TABSTOP,293,73,16,10 739 BS_NOTIFY | WS_TABSTOP,293,73,16,10
740 CONTROL "",IDC_L7_NOTICE,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 740 CONTROL "",IDC_L7_NOTICE,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
741 BS_NOTIFY | WS_TABSTOP,293,86,16,10 741 BS_NOTIFY | WS_TABSTOP,293,86,16,10
742 CONTROL "",IDC_L7_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 742 CONTROL "",IDC_L7_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
743 BS_NOTIFY | WS_TABSTOP,293,99,16,10 743 BS_NOTIFY | WS_TABSTOP,293,99,16,10
744 CONTROL "",IDC_L7_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 744 CONTROL "",IDC_L7_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
745 BS_NOTIFY | WS_TABSTOP,293,112,16,10 745 BS_NOTIFY | WS_TABSTOP,293,112,16,10
746 PUSHBUTTON "emerg",IDC_EMERG_XOR,316,20,25,13,BS_CENTER | 746 PUSHBUTTON "emerg",IDC_EMERG_XOR,316,20,25,13,BS_CENTER |
747 BS_VCENTER | BS_NOTIFY 747 BS_VCENTER | BS_NOTIFY
748 PUSHBUTTON "alert",IDC_ALERT_XOR,316,33,25,13,BS_CENTER | 748 PUSHBUTTON "alert",IDC_ALERT_XOR,316,33,25,13,BS_CENTER |
749 BS_VCENTER | BS_NOTIFY 749 BS_VCENTER | BS_NOTIFY
750 PUSHBUTTON "crit",IDC_CRIT_XOR,316,46,25,13,BS_CENTER | BS_VCENTER | 750 PUSHBUTTON "crit",IDC_CRIT_XOR,316,46,25,13,BS_CENTER | BS_VCENTER |
751 BS_NOTIFY 751 BS_NOTIFY
752 PUSHBUTTON "err",IDC_ERR_XOR,316,59,25,13,BS_CENTER | BS_VCENTER | 752 PUSHBUTTON "err",IDC_ERR_XOR,316,59,25,13,BS_CENTER | BS_VCENTER |
753 BS_NOTIFY 753 BS_NOTIFY
754 PUSHBUTTON "warn",IDC_WARN_XOR,316,72,25,13,BS_CENTER | BS_VCENTER | 754 PUSHBUTTON "warn",IDC_WARN_XOR,316,72,25,13,BS_CENTER | BS_VCENTER |
755 BS_NOTIFY 755 BS_NOTIFY
756 PUSHBUTTON "notice",IDC_NOTICE_XOR,316,85,25,13,BS_CENTER | 756 PUSHBUTTON "notice",IDC_NOTICE_XOR,316,85,25,13,BS_CENTER |
757 BS_VCENTER | BS_NOTIFY 757 BS_VCENTER | BS_NOTIFY
758 PUSHBUTTON "info",IDC_INFO_XOR,316,98,25,13,BS_CENTER | BS_VCENTER | 758 PUSHBUTTON "info",IDC_INFO_XOR,316,98,25,13,BS_CENTER | BS_VCENTER |
759 BS_NOTIFY 759 BS_NOTIFY
760 PUSHBUTTON "debug",IDC_DEBUG_XOR,316,111,25,13,BS_CENTER | 760 PUSHBUTTON "debug",IDC_DEBUG_XOR,316,111,25,13,BS_CENTER |
761 BS_VCENTER | BS_NOTIFY 761 BS_VCENTER | BS_NOTIFY
762 PUSHBUTTON "0",IDC_L0_XOR,76,124,30,13,BS_CENTER | BS_VCENTER | 762 PUSHBUTTON "0",IDC_L0_XOR,76,124,30,13,BS_CENTER | BS_VCENTER |
763 BS_NOTIFY 763 BS_NOTIFY
764 PUSHBUTTON "1",IDC_L1_XOR,106,124,30,13,BS_CENTER | BS_VCENTER | 764 PUSHBUTTON "1",IDC_L1_XOR,106,124,30,13,BS_CENTER | BS_VCENTER |
765 BS_NOTIFY 765 BS_NOTIFY
766 PUSHBUTTON "2",IDC_L2_XOR,136,124,30,13,BS_CENTER | BS_VCENTER | 766 PUSHBUTTON "2",IDC_L2_XOR,136,124,30,13,BS_CENTER | BS_VCENTER |
767 BS_NOTIFY 767 BS_NOTIFY
768 PUSHBUTTON "3",IDC_L3_XOR,166,124,30,13,BS_CENTER | BS_VCENTER | 768 PUSHBUTTON "3",IDC_L3_XOR,166,124,30,13,BS_CENTER | BS_VCENTER |
769 BS_NOTIFY 769 BS_NOTIFY
770 PUSHBUTTON "4",IDC_L4_XOR,196,124,30,13,BS_CENTER | BS_VCENTER | 770 PUSHBUTTON "4",IDC_L4_XOR,196,124,30,13,BS_CENTER | BS_VCENTER |
771 BS_NOTIFY 771 BS_NOTIFY
772 PUSHBUTTON "5",IDC_L5_XOR,226,124,30,13,BS_CENTER | BS_VCENTER | 772 PUSHBUTTON "5",IDC_L5_XOR,226,124,30,13,BS_CENTER | BS_VCENTER |
773 BS_NOTIFY 773 BS_NOTIFY
774 PUSHBUTTON "6",IDC_L6_XOR,256,124,30,13,BS_CENTER | BS_VCENTER | 774 PUSHBUTTON "6",IDC_L6_XOR,256,124,30,13,BS_CENTER | BS_VCENTER |
775 BS_NOTIFY 775 BS_NOTIFY
776 PUSHBUTTON "7",IDC_L7_XOR,286,124,30,13,BS_CENTER | BS_VCENTER | 776 PUSHBUTTON "7",IDC_L7_XOR,286,124,30,13,BS_CENTER | BS_VCENTER |
777 BS_NOTIFY 777 BS_NOTIFY
778 LTEXT "Toggle",IDC_STATIC,317,126,23,8 778 LTEXT "Toggle",IDC_STATIC,317,126,23,8
779 LTEXT "ON",IDC_STATIC,58,9,12,8 779 LTEXT "ON",IDC_STATIC,58,9,12,8
780END 780END
781 781
782IDD_WARNBLOCKING DIALOGEX 0, 0, 195, 88 782IDD_WARNBLOCKING DIALOGEX 0, 0, 195, 88
783STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_CAPTION 783STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_CAPTION
784EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE 784EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE
785CAPTION " Blocking call warning" 785CAPTION " Blocking call warning"
786FONT 8, "MS Sans Serif", 0, 0, 0x1 786FONT 8, "MS Sans Serif", 0, 0, 0x1
787BEGIN 787BEGIN
788 DEFPUSHBUTTON "OK",IDOK,39,67,50,14 788 DEFPUSHBUTTON "OK",IDOK,39,67,50,14
789 PUSHBUTTON "Cancel",IDCANCEL,105,67,50,14 789 PUSHBUTTON "Cancel",IDCANCEL,105,67,50,14
790 LTEXT "WARNING: ",IDC_STATIC,7,7,38,8 790 LTEXT "WARNING: ",IDC_STATIC,7,7,38,8
791 LTEXT "All host address lookups are performed in a blocking mode, so KLog may temporarily stop responding until host address is resolved or operation failed.", 791 LTEXT "All host address lookups are performed in a blocking mode, so KLog may temporarily stop responding until host address is resolved or operation failed.",
792 IDC_STATIC,46,7,142,35 792 IDC_STATIC,46,7,142,35
793 CONTROL "Enough is said, no need to remind me again. Thanks.", 793 CONTROL "Enough is said, no need to remind me again. Thanks.",
794 IDC_WARNBLOCKING,"Button",BS_AUTOCHECKBOX | BS_RIGHT | 794 IDC_WARNBLOCKING,"Button",BS_AUTOCHECKBOX | BS_RIGHT |
795 BS_VCENTER | BS_MULTILINE | WS_TABSTOP,7,42,123,22, 795 BS_VCENTER | BS_MULTILINE | WS_TABSTOP,7,42,123,22,
796 WS_EX_STATICEDGE 796 WS_EX_STATICEDGE
797END 797END
798 798
799 799
800#ifndef _MAC 800#ifndef _MAC
801///////////////////////////////////////////////////////////////////////////// 801/////////////////////////////////////////////////////////////////////////////
802// 802//
803// Version 803// Version
804// 804//
805 805
806VS_VERSION_INFO VERSIONINFO 806VS_VERSION_INFO VERSIONINFO
807 FILEVERSION 1,1,0,0 807 FILEVERSION 1,1,1,0
808 PRODUCTVERSION 1,1,0,0 808 PRODUCTVERSION 1,1,0,0
809 FILEFLAGSMASK 0x3fL 809 FILEFLAGSMASK 0x3fL
810#ifdef _DEBUG 810#ifdef _DEBUG
811 FILEFLAGS 0x1L 811 FILEFLAGS 0x1L
812#else 812#else
813 FILEFLAGS 0x0L 813 FILEFLAGS 0x0L
814#endif 814#endif
815 FILEOS 0x4L 815 FILEOS 0x4L
816 FILETYPE 0x1L 816 FILETYPE 0x1L
817 FILESUBTYPE 0x0L 817 FILESUBTYPE 0x0L
818BEGIN 818BEGIN
819 BLOCK "StringFileInfo" 819 BLOCK "StringFileInfo"
820 BEGIN 820 BEGIN
821 BLOCK "040904b0" 821 BLOCK "040904b0"
822 BEGIN 822 BEGIN
823 VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0" 823 VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0"
824 VALUE "FileDescription", "KLog, logging daemon\0" 824 VALUE "FileDescription", "KLog, logging daemon\0"
825 VALUE "FileVersion", "1, 1, 0, 0\0" 825 VALUE "FileVersion", "1, 1, 1, 0\0"
826 VALUE "InternalName", "KLOG\0" 826 VALUE "InternalName", "KLOG\0"
827 VALUE "LegalCopyright", "Copyright © 1998-2004 Klever Group (http://www.klever.net/)\0" 827 VALUE "LegalCopyright", "Copyright © 1998-2005 Klever Group (http://www.klever.net/)\0"
828 VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0" 828 VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0"
829 VALUE "OriginalFilename", "KLOG.EXE\0" 829 VALUE "OriginalFilename", "KLOG.EXE\0"
830 VALUE "ProductName", "KLog\0" 830 VALUE "ProductName", "KLog\0"
831 VALUE "ProductVersion", "1, 0, 0, 2\0" 831 VALUE "ProductVersion", "1, 1, 1, 0\0"
832 END 832 END
833 END 833 END
834 BLOCK "VarFileInfo" 834 BLOCK "VarFileInfo"
835 BEGIN 835 BEGIN
836 VALUE "Translation", 0x409, 1200 836 VALUE "Translation", 0x409, 1200
837 END 837 END
838END 838END
839 839
840#endif // !_MAC 840#endif // !_MAC
841 841
842 842
843///////////////////////////////////////////////////////////////////////////// 843/////////////////////////////////////////////////////////////////////////////
844// 844//
845// DESIGNINFO 845// DESIGNINFO
846// 846//
847 847
848#ifdef APSTUDIO_INVOKED 848#ifdef APSTUDIO_INVOKED
849GUIDELINES DESIGNINFO DISCARDABLE 849GUIDELINES DESIGNINFO DISCARDABLE
850BEGIN 850BEGIN
851 IDD_ABOUTBOX, DIALOG 851 IDD_ABOUTBOX, DIALOG
852 BEGIN 852 BEGIN
853 LEFTMARGIN, 7 853 LEFTMARGIN, 7
854 RIGHTMARGIN, 210 854 RIGHTMARGIN, 210
855 TOPMARGIN, 7 855 TOPMARGIN, 7
856 BOTTOMMARGIN, 63 856 BOTTOMMARGIN, 63
857 END 857 END
858 858
859 IDD_KLOG_DIALOG, DIALOG 859 IDD_KLOG_DIALOG, DIALOG
860 BEGIN 860 BEGIN
861 LEFTMARGIN, 7 861 LEFTMARGIN, 7
862 RIGHTMARGIN, 284 862 RIGHTMARGIN, 286
863 VERTGUIDE, 12 863 VERTGUIDE, 12
864 VERTGUIDE, 278 864 VERTGUIDE, 278
865 TOPMARGIN, 7 865 TOPMARGIN, 7
866 BOTTOMMARGIN, 279 866 BOTTOMMARGIN, 279
867 HORZGUIDE, 31 867 HORZGUIDE, 31
868 HORZGUIDE, 192 868 HORZGUIDE, 192
869 END 869 END
870 870
871 IDD_LOG_UNIX, DIALOG 871 IDD_LOG_UNIX, DIALOG
872 BEGIN 872 BEGIN
873 LEFTMARGIN, 7 873 LEFTMARGIN, 7
874 RIGHTMARGIN, 387 874 RIGHTMARGIN, 387
875 VERTGUIDE, 32 875 VERTGUIDE, 32
876 VERTGUIDE, 362 876 VERTGUIDE, 362
877 TOPMARGIN, 7 877 TOPMARGIN, 7
878 BOTTOMMARGIN, 136 878 BOTTOMMARGIN, 136
879 HORZGUIDE, 20 879 HORZGUIDE, 20
880 HORZGUIDE, 124 880 HORZGUIDE, 124
881 END 881 END
882 882
883 IDD_LOG_RESERVED, DIALOG 883 IDD_LOG_RESERVED, DIALOG
884 BEGIN 884 BEGIN
885 LEFTMARGIN, 7 885 LEFTMARGIN, 7
886 RIGHTMARGIN, 387 886 RIGHTMARGIN, 387
887 VERTGUIDE, 96 887 VERTGUIDE, 96
888 VERTGUIDE, 121 888 VERTGUIDE, 121
889 VERTGUIDE, 271 889 VERTGUIDE, 271
890 VERTGUIDE, 296 890 VERTGUIDE, 296
891 TOPMARGIN, 7 891 TOPMARGIN, 7
892 BOTTOMMARGIN, 136 892 BOTTOMMARGIN, 136
893 HORZGUIDE, 20 893 HORZGUIDE, 20
894 HORZGUIDE, 124 894 HORZGUIDE, 124
895 END 895 END
896 896
897 IDD_LOG_LOCAL, DIALOG 897 IDD_LOG_LOCAL, DIALOG
898 BEGIN 898 BEGIN
899 LEFTMARGIN, 7 899 LEFTMARGIN, 7
900 RIGHTMARGIN, 387 900 RIGHTMARGIN, 387
901 VERTGUIDE, 51 901 VERTGUIDE, 51
902 VERTGUIDE, 76 902 VERTGUIDE, 76
903 VERTGUIDE, 316 903 VERTGUIDE, 316
904 VERTGUIDE, 341 904 VERTGUIDE, 341
905 TOPMARGIN, 7 905 TOPMARGIN, 7
906 BOTTOMMARGIN, 136 906 BOTTOMMARGIN, 136
907 HORZGUIDE, 20 907 HORZGUIDE, 20
908 HORZGUIDE, 124 908 HORZGUIDE, 124
909 END 909 END
910 910
911 IDD_WARNBLOCKING, DIALOG 911 IDD_WARNBLOCKING, DIALOG
912 BEGIN 912 BEGIN
913 LEFTMARGIN, 7 913 LEFTMARGIN, 7
914 RIGHTMARGIN, 188 914 RIGHTMARGIN, 188
915 VERTGUIDE, 130 915 VERTGUIDE, 130
916 TOPMARGIN, 7 916 TOPMARGIN, 7
917 BOTTOMMARGIN, 81 917 BOTTOMMARGIN, 81
918 END 918 END
919END 919END
920#endif // APSTUDIO_INVOKED 920#endif // APSTUDIO_INVOKED
921 921
922 922
923///////////////////////////////////////////////////////////////////////////// 923/////////////////////////////////////////////////////////////////////////////
924// 924//
925// Dialog Info 925// Dialog Info
926// 926//
927 927
928IDD_KLOG_DIALOG DLGINIT 928IDD_KLOG_DIALOG DLGINIT
929BEGIN 929BEGIN
930 IDC_FACILITY, 0x403, 7, 0 930 IDC_FACILITY, 0x403, 7, 0
9310x656b, 0x6e72, 0x6c65, "\000" 9310x656b, 0x6e72, 0x6c65, "\000"
932 IDC_FACILITY, 0x403, 5, 0 932 IDC_FACILITY, 0x403, 5, 0
9330x7375, 0x7265, "\000" 9330x7375, 0x7265, "\000"
934 IDC_FACILITY, 0x403, 5, 0 934 IDC_FACILITY, 0x403, 5, 0
9350x616d, 0x6c69, "\000" 9350x616d, 0x6c69, "\000"
936 IDC_FACILITY, 0x403, 7, 0 936 IDC_FACILITY, 0x403, 7, 0
9370x6164, 0x6d65, 0x6e6f, "\000" 9370x6164, 0x6d65, 0x6e6f, "\000"
938 IDC_FACILITY, 0x403, 5, 0 938 IDC_FACILITY, 0x403, 5, 0
9390x7561, 0x6874, "\000" 9390x7561, 0x6874, "\000"
940 IDC_FACILITY, 0x403, 7, 0 940 IDC_FACILITY, 0x403, 7, 0
9410x7973, 0x6c73, 0x676f, "\000" 9410x7973, 0x6c73, 0x676f, "\000"
942 IDC_FACILITY, 0x403, 4, 0 942 IDC_FACILITY, 0x403, 4, 0
9430x706c, 0x0072, 9430x706c, 0x0072,
944 IDC_FACILITY, 0x403, 5, 0 944 IDC_FACILITY, 0x403, 5, 0
9450x656e, 0x7377, "\000" 9450x656e, 0x7377, "\000"
946 IDC_FACILITY, 0x403, 5, 0 946 IDC_FACILITY, 0x403, 5, 0
9470x7575, 0x7063, "\000" 9470x7575, 0x7063, "\000"
948 IDC_FACILITY, 0x403, 5, 0 948 IDC_FACILITY, 0x403, 5, 0
9490x7263, 0x6e6f, "\000" 9490x7263, 0x6e6f, "\000"
950 IDC_FACILITY, 0x403, 9, 0 950 IDC_FACILITY, 0x403, 9, 0
9510x7561, 0x6874, 0x7270, 0x7669, "\000" 9510x7561, 0x6874, 0x7270, 0x7669, "\000"
952 IDC_FACILITY, 0x403, 10, 0 952 IDC_FACILITY, 0x403, 10, 0
9530x6572, 0x6573, 0x7672, 0x6465, 0x0030, 9530x6572, 0x6573, 0x7672, 0x6465, 0x0030,
954 IDC_FACILITY, 0x403, 10, 0 954 IDC_FACILITY, 0x403, 10, 0
9550x6572, 0x6573, 0x7672, 0x6465, 0x0031, 9550x6572, 0x6573, 0x7672, 0x6465, 0x0031,
956 IDC_FACILITY, 0x403, 10, 0 956 IDC_FACILITY, 0x403, 10, 0
9570x6572, 0x6573, 0x7672, 0x6465, 0x0032, 9570x6572, 0x6573, 0x7672, 0x6465, 0x0032,
958 IDC_FACILITY, 0x403, 10, 0 958 IDC_FACILITY, 0x403, 10, 0
9590x6572, 0x6573, 0x7672, 0x6465, 0x0033, 9590x6572, 0x6573, 0x7672, 0x6465, 0x0033,
960 IDC_FACILITY, 0x403, 10, 0 960 IDC_FACILITY, 0x403, 10, 0
9610x6572, 0x6573, 0x7672, 0x6465, 0x0034, 9610x6572, 0x6573, 0x7672, 0x6465, 0x0034,
962 IDC_FACILITY, 0x403, 7, 0 962 IDC_FACILITY, 0x403, 7, 0
9630x6f6c, 0x6163, 0x306c, "\000" 9630x6f6c, 0x6163, 0x306c, "\000"
964 IDC_FACILITY, 0x403, 7, 0 964 IDC_FACILITY, 0x403, 7, 0
9650x6f6c, 0x6163, 0x316c, "\000" 9650x6f6c, 0x6163, 0x316c, "\000"
966 IDC_FACILITY, 0x403, 7, 0 966 IDC_FACILITY, 0x403, 7, 0
9670x6f6c, 0x6163, 0x326c, "\000" 9670x6f6c, 0x6163, 0x326c, "\000"
968 IDC_FACILITY, 0x403, 7, 0 968 IDC_FACILITY, 0x403, 7, 0
9690x6f6c, 0x6163, 0x336c, "\000" 9690x6f6c, 0x6163, 0x336c, "\000"
970 IDC_FACILITY, 0x403, 7, 0 970 IDC_FACILITY, 0x403, 7, 0
9710x6f6c, 0x6163, 0x346c, "\000" 9710x6f6c, 0x6163, 0x346c, "\000"
972 IDC_FACILITY, 0x403, 7, 0 972 IDC_FACILITY, 0x403, 7, 0
9730x6f6c, 0x6163, 0x356c, "\000" 9730x6f6c, 0x6163, 0x356c, "\000"
974 IDC_FACILITY, 0x403, 7, 0 974 IDC_FACILITY, 0x403, 7, 0
9750x6f6c, 0x6163, 0x366c, "\000" 9750x6f6c, 0x6163, 0x366c, "\000"
976 IDC_FACILITY, 0x403, 7, 0 976 IDC_FACILITY, 0x403, 7, 0
9770x6f6c, 0x6163, 0x376c, "\000" 9770x6f6c, 0x6163, 0x376c, "\000"
978 IDC_SOUND, 0x403, 7, 0 978 IDC_SOUND, 0x403, 7, 0
9790x6d28, 0x6f65, 0x2977, "\000" 9790x6d28, 0x6f65, 0x2977, "\000"
980 IDC_SOUND, 0x403, 8, 0 980 IDC_SOUND, 0x403, 8, 0
9810x6728, 0x616c, 0x7373, 0x0029, 9810x6728, 0x616c, 0x7373, 0x0029,
982 IDC_SOUND, 0x403, 7, 0 982 IDC_SOUND, 0x403, 7, 0
9830x6628, 0x6165, 0x2972, "\000" 9830x6628, 0x6165, 0x2972, "\000"
984 IDC_SOUND, 0x403, 7, 0 984 IDC_SOUND, 0x403, 7, 0
9850x6b28, 0x6369, 0x296b, "\000" 9850x6b28, 0x6369, 0x296b, "\000"
986 0 986 0
987END 987END
988 988
989 989
990///////////////////////////////////////////////////////////////////////////// 990/////////////////////////////////////////////////////////////////////////////
991// 991//
992// WAVE 992// WAVE
993// 993//
994 994
995IDW_SOUND_MEOW WAVE DISCARDABLE "res\\meow.wav" 995IDW_SOUND_MEOW WAVE DISCARDABLE "res\\meow.wav"
996IDW_SOUND_GLASS WAVE DISCARDABLE "res\\glass.wav" 996IDW_SOUND_GLASS WAVE DISCARDABLE "res\\glass.wav"
997IDW_SOUND_FEAR WAVE DISCARDABLE "res\\fear.wav" 997IDW_SOUND_FEAR WAVE DISCARDABLE "res\\fear.wav"
998IDW_SOUND_KICK WAVE DISCARDABLE "res\\kick.wav" 998IDW_SOUND_KICK WAVE DISCARDABLE "res\\kick.wav"
999 999
1000///////////////////////////////////////////////////////////////////////////// 1000/////////////////////////////////////////////////////////////////////////////
1001// 1001//
1002// Bitmap 1002// Bitmap
1003// 1003//
1004 1004
1005IDB_BACKGROUND BITMAP DISCARDABLE "shared-data/klever-background.bmp" 1005IDB_BACKGROUND BITMAP DISCARDABLE "shared-data/klever-background.bmp"
1006 1006
1007///////////////////////////////////////////////////////////////////////////// 1007/////////////////////////////////////////////////////////////////////////////
1008// 1008//
1009// Menu 1009// Menu
1010// 1010//
1011 1011
1012IDD_KLOG_DIALOG MENU DISCARDABLE 1012IDD_KLOG_DIALOG MENU DISCARDABLE
1013BEGIN 1013BEGIN
1014 POPUP "Files" 1014 POPUP "Files"
1015 BEGIN 1015 BEGIN
1016 MENUITEM "&Export", ID_FILES_EXPORT 1016 MENUITEM "&Export", ID_FILES_EXPORT
1017 MENUITEM "&Import", ID_FILES_IMPORT 1017 MENUITEM "&Import", ID_FILES_IMPORT
1018 MENUITEM SEPARATOR 1018 MENUITEM SEPARATOR
1019 MENUITEM "&Reset", ID_FILES_RESET 1019 MENUITEM "&Reset", ID_FILES_RESET
1020 END 1020 END
1021 POPUP "Tray" 1021 POPUP "Tray"
1022 BEGIN 1022 BEGIN
1023 MENUITEM "&Export settings", ID_FILES_EXPORT 1023 MENUITEM "&Export settings", ID_FILES_EXPORT
1024 MENUITEM "&Import settings", ID_FILES_IMPORT 1024 MENUITEM "&Import settings", ID_FILES_IMPORT
1025 MENUITEM "&Reset configuration", ID_FILES_RESET 1025 MENUITEM "&Reset configuration", ID_FILES_RESET
1026 MENUITEM SEPARATOR 1026 MENUITEM SEPARATOR
1027 MENUITEM "&Show KLog Window", ID_TRAY_SHOWKLOGWINDOW 1027 MENUITEM "&Show KLog Window", ID_TRAY_SHOWKLOGWINDOW
1028 MENUITEM SEPARATOR 1028 MENUITEM SEPARATOR
1029 MENUITEM "&Help", ID_TRAY_HELP 1029 MENUITEM "&Help", ID_TRAY_HELP
1030 MENUITEM "&About KLog", ID_TRAY_ABOUTKLOG 1030 MENUITEM "&About KLog", ID_TRAY_ABOUTKLOG
1031 MENUITEM "E&xit", ID_TRAY_EXIT 1031 MENUITEM "E&xit", ID_TRAY_EXIT
1032 END 1032 END
1033END 1033END
1034 1034
1035 1035
1036///////////////////////////////////////////////////////////////////////////// 1036/////////////////////////////////////////////////////////////////////////////
1037// 1037//
1038// String Table 1038// String Table
1039// 1039//
1040 1040
1041STRINGTABLE DISCARDABLE 1041STRINGTABLE DISCARDABLE
1042BEGIN 1042BEGIN
1043 IDS_ABOUTBOX "&About KLog..." 1043 IDS_ABOUTBOX "&About KLog..."
1044 IDS_LOGTO_HOST "Host &name:" 1044 IDS_LOGTO_HOST "Host &name:"
1045 IDP_SOCKETS_INIT_FAILED "Windows sockets initialization failed." 1045 IDP_SOCKETS_INIT_FAILED "Windows sockets initialization failed."
1046 IDS_LOGTO_FILE "File &name:" 1046 IDS_LOGTO_FILE "File &name:"
1047 IDS_SOUND_MEOW "(meow)" 1047 IDS_SOUND_MEOW "(meow)"
1048 IDS_SOUND_GLASS "(glass)" 1048 IDS_SOUND_GLASS "(glass)"
1049 IDS_SOUND_FEAR "(fear)" 1049 IDS_SOUND_FEAR "(fear)"
1050 IDS_SOUND_KICK "(kick)" 1050 IDS_SOUND_KICK "(kick)"
1051 IDS_WAVFILTER "Wave files (*.wav)|*.wav|All files (*.*)|*.*|" 1051 IDS_WAVFILTER "Wave files (*.wav)|*.wav|All files (*.*)|*.*|"
1052 IDS_SOUND_SELECT "Select sound" 1052 IDS_SOUND_SELECT "Select sound"
1053 IDS_LOGFILTER "Log files (*.log)|*.log|All files (*.*)|*.*|" 1053 IDS_LOGFILTER "Log files (*.log)|*.log|All files (*.*)|*.*|"
1054END 1054END
1055 1055
1056STRINGTABLE DISCARDABLE 1056STRINGTABLE DISCARDABLE
1057BEGIN 1057BEGIN
1058 ID_FILES_EXPORT "Save current configuration." 1058 ID_FILES_EXPORT "Save current configuration."
1059 ID_FILES_IMPORT "Load configuration from file" 1059 ID_FILES_IMPORT "Load configuration from file"
1060 ID_FILES_RESET "Reset to initial configuration" 1060 ID_FILES_RESET "Reset to initial configuration"
1061 ID_TRAY_SHOWKLOGWINDOW "Show/Hide KLog wondow" 1061 ID_TRAY_SHOWKLOGWINDOW "Show/Hide KLog wondow"
1062 ID_TRAY_HELP "Help" 1062 ID_TRAY_HELP "Help"
1063 ID_TRAY_ABOUTKLOG "About KLog" 1063 ID_TRAY_ABOUTKLOG "About KLog"
1064 ID_TRAY_EXIT "Terminate KLog" 1064 ID_TRAY_EXIT "Terminate KLog"
1065END 1065END
1066 1066
1067STRINGTABLE DISCARDABLE 1067STRINGTABLE DISCARDABLE
1068BEGIN 1068BEGIN
1069 IDS_LOG_SELECT "Log To" 1069 IDS_LOG_SELECT "Log To"
1070 IDS_LOG_EXT ".log" 1070 IDS_LOG_EXT ".log"
1071 IDS_KLOGFILTER "KLog files (*.klg)|*.klg|All files (*.*)|*.*|" 1071 IDS_KLOGFILTER "KLog files (*.klg)|*.klg|All files (*.*)|*.*|"
1072 IDS_KLOG_EXPORT "Export to" 1072 IDS_KLOG_EXPORT "Export to"
1073 IDS_KLOG_IMPORT "Import from" 1073 IDS_KLOG_IMPORT "Import from"
1074 IDS_KLOG_EXT ".klg" 1074 IDS_KLOG_EXT ".klg"
1075 IDS_REGISTRYKEY "Klever Group" 1075 IDS_REGISTRYKEY "Klever Group"
1076 IDS_KLEVERNET_URL "http://www.klever.net/" 1076 IDS_KLEVERNET_URL "http://www.klever.net/"
1077 IDS_TIP_LOG "%s [%s] %s.%s" 1077 IDS_TIP_LOG "%s [%s] %s.%s"
1078 IDS_LOGTIMEFORMAT "%H:%M:%S %B %d" 1078 IDS_LOGTIMEFORMAT "%H:%M:%S %B %d"
1079 IDS_LOGPATTERN_TITLE "Logging pattern" 1079 IDS_LOGPATTERN_TITLE "Logging pattern"
1080 IDS_LOGFILETIMEFORMAT "%c " 1080 IDS_LOGFILETIMEFORMAT "%c "
1081 IDS_TIP_FACILITY_ON "Turn on logging for given facility" 1081 IDS_TIP_FACILITY_ON "Turn on logging for given facility"
1082 IDS_TIP_FACILITY_XOR "Invert logging for given facility" 1082 IDS_TIP_FACILITY_XOR "Invert logging for given facility"
1083 IDS_TIP_PRIORITY_ON "Turn on all logging for given priority" 1083 IDS_TIP_PRIORITY_ON "Turn on all logging for given priority"
1084 IDS_TIP_PRIORITY_XOR "Invert logging for given priority" 1084 IDS_TIP_PRIORITY_XOR "Invert logging for given priority"
1085END 1085END
1086 1086
1087STRINGTABLE DISCARDABLE 1087STRINGTABLE DISCARDABLE
1088BEGIN 1088BEGIN
1089 IDC_ADD "Add new logging destination" 1089 IDC_ADD "Add new logging destination"
1090 IDC_REMOVE "Remove logging destination" 1090 IDC_REMOVE "Remove logging destination"
1091 IDC_EXIT "Terminate KLog" 1091 IDC_EXIT "Terminate KLog"
1092 IDC_TYPE_FILE "Log to file on disk" 1092 IDC_TYPE_FILE "Log to file on disk"
1093 IDC_TYPE_HOST "Log to remote host" 1093 IDC_TYPE_HOST "Log to remote host"
1094 IDC_TYPE_NONE "Don't log anywhere but log window" 1094 IDC_TYPE_NONE "Don't log anywhere but log window"
1095END 1095END
1096 1096
1097STRINGTABLE DISCARDABLE 1097STRINGTABLE DISCARDABLE
1098BEGIN 1098BEGIN
1099 IDC_LOGLENGTH "Number of lines to keep in log window" 1099 IDC_LOGLENGTH "Number of lines to keep in log window"
1100 IDC_FILES "Import/Export KLog settings" 1100 IDC_FILES "Import/Export KLog settings"
1101END 1101END
1102 1102
1103STRINGTABLE DISCARDABLE 1103STRINGTABLE DISCARDABLE
1104BEGIN 1104BEGIN
1105 IDC_LOG "Recent activity" 1105 IDC_LOG "Recent activity"
1106 IDC_HOSTS "Hosts access list for given destination" 1106 IDC_HOSTS "Hosts access list for given destination"
1107END 1107END
1108 1108
1109STRINGTABLE DISCARDABLE 1109STRINGTABLE DISCARDABLE
1110BEGIN 1110BEGIN
1111 IDC_LOGPATTERN "Edit logging pattern" 1111 IDC_LOGPATTERN "Edit logging pattern"
1112END 1112END
1113 1113
1114STRINGTABLE DISCARDABLE 1114STRINGTABLE DISCARDABLE
1115BEGIN 1115BEGIN
1116 IDS_LOGFILEPRIFACEFORMAT "(%s.%s) " 1116 IDS_LOGFILEPRIFACEFORMAT "(%s.%s) "
1117 IDS_LOGFILESOURCEFORMAT "[%s] " 1117 IDS_LOGFILESOURCEFORMAT "[%s] "
1118 IDS_LOGHOSTSOURCEFORMAT "[%s] " 1118 IDS_LOGHOSTSOURCEFORMAT "[%s] "
1119 IDS_MSG_LOOKUPFAILED "Host address lookup for '%s' failed." 1119 IDS_MSG_LOOKUPFAILED "Host address lookup for '%s' failed."
1120 IDS_MSG_FAILEDTOEXPORT "Unable to create file." 1120 IDS_MSG_FAILEDTOEXPORT "Unable to create file."
1121 IDS_MSG_FAILEDTOIMPORT "Unable to read file." 1121 IDS_MSG_FAILEDTOIMPORT "Unable to read file."
1122 IDS_MSG_FAILEDTOSTORE "Database is too big to store as system default." 1122 IDS_MSG_FAILEDTOSTORE "Database is too big to store as system default."
1123END 1123END
1124 1124
1125#endif // English (U.S.) resources 1125#endif // English (U.S.) resources
1126///////////////////////////////////////////////////////////////////////////// 1126/////////////////////////////////////////////////////////////////////////////
1127 1127
1128 1128
1129 1129
1130#ifndef APSTUDIO_INVOKED 1130#ifndef APSTUDIO_INVOKED
1131///////////////////////////////////////////////////////////////////////////// 1131/////////////////////////////////////////////////////////////////////////////
1132// 1132//
1133// Generated from the TEXTINCLUDE 3 resource. 1133// Generated from the TEXTINCLUDE 3 resource.
1134// 1134//
1135#define _AFX_NO_SPLITTER_RESOURCES 1135#define _AFX_NO_SPLITTER_RESOURCES
1136#define _AFX_NO_OLE_RESOURCES 1136#define _AFX_NO_OLE_RESOURCES
1137#define _AFX_NO_TRACKER_RESOURCES 1137#define _AFX_NO_TRACKER_RESOURCES
1138#define _AFX_NO_PROPERTY_RESOURCES 1138#define _AFX_NO_PROPERTY_RESOURCES
1139 1139
1140#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) 1140#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
1141#ifdef _WIN32 1141#ifdef _WIN32
1142LANGUAGE 9, 1 1142LANGUAGE 9, 1
1143#pragma code_page(1252) 1143#pragma code_page(1252)
1144#endif 1144#endif
1145#include "res\klog.rc2" // non-Microsoft Visual C++ edited resources 1145#include "res\klog.rc2" // non-Microsoft Visual C++ edited resources
1146#include "afxres.rc" // Standard components 1146#include "afxres.rc" // Standard components
1147#endif 1147#endif
1148///////////////////////////////////////////////////////////////////////////// 1148/////////////////////////////////////////////////////////////////////////////
1149#endif // not APSTUDIO_INVOKED 1149#endif // not APSTUDIO_INVOKED
1150 1150
diff --git a/resource.h b/resource.h
index 33cf881..3c04188 100644
--- a/resource.h
+++ b/resource.h
@@ -1,370 +1,370 @@
1//{{NO_DEPENDENCIES}} 1//{{NO_DEPENDENCIES}}
2// Microsoft Developer Studio generated include file. 2// Microsoft Developer Studio generated include file.
3// Used by KLog.rc 3// Used by klog.rc
4// 4//
5#define IDM_ABOUTBOX 0x0010 5#define IDM_ABOUTBOX 0x0010
6#define IDD_ABOUTBOX 100 6#define IDD_ABOUTBOX 100
7#define IDS_ABOUTBOX 101 7#define IDS_ABOUTBOX 101
8#define IDC_TRAYICON 101 8#define IDC_TRAYICON 101
9#define IDD_KLOG_DIALOG 102 9#define IDD_KLOG_DIALOG 102
10#define IDS_LOGTO_HOST 102 10#define IDS_LOGTO_HOST 102
11#define IDP_SOCKETS_INIT_FAILED 103 11#define IDP_SOCKETS_INIT_FAILED 103
12#define IDS_LOGTO_FILE 104 12#define IDS_LOGTO_FILE 104
13#define IDS_SOUND_MEOW 105 13#define IDS_SOUND_MEOW 105
14#define IDS_SOUND_GLASS 106 14#define IDS_SOUND_GLASS 106
15#define IDS_SOUND_FEAR 107 15#define IDS_SOUND_FEAR 107
16#define IDS_SOUND_KICK 108 16#define IDS_SOUND_KICK 108
17#define IDS_WAVFILTER 109 17#define IDS_WAVFILTER 109
18#define IDS_SOUND_SELECT 110 18#define IDS_SOUND_SELECT 110
19#define IDS_LOGFILTER 111 19#define IDS_LOGFILTER 111
20#define IDS_LOG_SELECT 112 20#define IDS_LOG_SELECT 112
21#define IDS_LOG_EXT 113 21#define IDS_LOG_EXT 113
22#define IDS_KLOGFILTER 114 22#define IDS_KLOGFILTER 114
23#define IDS_KLOG_EXPORT 115 23#define IDS_KLOG_EXPORT 115
24#define IDS_KLOG_IMPORT 116 24#define IDS_KLOG_IMPORT 116
25#define IDS_KLOG_EXT 117 25#define IDS_KLOG_EXT 117
26#define IDS_REGISTRYKEY 118 26#define IDS_REGISTRYKEY 118
27#define IDS_KLEVERNET_URL 119 27#define IDS_KLEVERNET_URL 119
28#define IDS_TIP_LOG 120 28#define IDS_TIP_LOG 120
29#define IDS_LOGTIMEFORMAT 121 29#define IDS_LOGTIMEFORMAT 121
30#define IDS_LOGPATTERN_TITLE 122 30#define IDS_LOGPATTERN_TITLE 122
31#define IDS_LOGFILETIMEFORMAT 123 31#define IDS_LOGFILETIMEFORMAT 123
32#define IDS_TIP_FACILITY_ON 124 32#define IDS_TIP_FACILITY_ON 124
33#define IDS_TIP_FACILITY_XOR 125 33#define IDS_TIP_FACILITY_XOR 125
34#define IDS_TIP_PRIORITY_ON 126 34#define IDS_TIP_PRIORITY_ON 126
35#define IDS_TIP_PRIORITY_XOR 127 35#define IDS_TIP_PRIORITY_XOR 127
36#define IDR_MAINFRAME 128 36#define IDR_MAINFRAME 128
37#define IDS_LOGFILEPRIFACEFORMAT 128 37#define IDS_LOGFILEPRIFACEFORMAT 128
38#define IDS_LOGFILESOURCEFORMAT 129 38#define IDS_LOGFILESOURCEFORMAT 129
39#define IDI_KLOG 130 39#define IDI_KLOG 130
40#define IDS_LOGHOSTSOURCEFORMAT 130 40#define IDS_LOGHOSTSOURCEFORMAT 130
41#define IDI_KLOG_TRIGGERED 131 41#define IDI_KLOG_TRIGGERED 131
42#define IDS_MSG_LOOKUPFAILED 131 42#define IDS_MSG_LOOKUPFAILED 131
43#define IDS_MSG_FAILEDTOEXPORT 132 43#define IDS_MSG_FAILEDTOEXPORT 132
44#define IDS_MSG_FAILEDTOIMPORT 133 44#define IDS_MSG_FAILEDTOIMPORT 133
45#define IDS_MSG_FAILEDTOSTORE 134 45#define IDS_MSG_FAILEDTOSTORE 134
46#define IDW_SOUND_MEOW 137 46#define IDW_SOUND_MEOW 137
47#define IDW_SOUND_GLASS 138 47#define IDW_SOUND_GLASS 138
48#define IDW_SOUND_FEAR 139 48#define IDW_SOUND_FEAR 139
49#define IDI_PREPLAY 140 49#define IDI_PREPLAY 140
50#define IDW_SOUND_KICK 140 50#define IDW_SOUND_KICK 140
51#define IDI_BROWSE 141 51#define IDI_BROWSE 141
52#define IDB_BACKGROUND 141 52#define IDB_BACKGROUND 141
53#define IDD_LOG_UNIX 143 53#define IDD_LOG_UNIX 143
54#define IDD_LOG_RESERVED 144 54#define IDD_LOG_RESERVED 144
55#define IDI_LOGPATTERN 144 55#define IDI_LOGPATTERN 144
56#define IDD_LOG_LOCAL 145 56#define IDD_LOG_LOCAL 145
57#define IDD_WARNBLOCKING 146 57#define IDD_WARNBLOCKING 146
58#define IDC_TABS 1001 58#define IDC_TABS 1001
59#define IDC_ADD 1002 59#define IDC_ADD 1002
60#define IDC_REMOVE 1003 60#define IDC_REMOVE 1003
61#define IDC_EXIT 1004 61#define IDC_EXIT 1004
62#define IDC_TYPE_FILE 1005 62#define IDC_TYPE_FILE 1005
63#define IDC_TYPE_HOST 1006 63#define IDC_TYPE_HOST 1006
64#define IDC_TYPE_NONE 1007 64#define IDC_TYPE_NONE 1007
65#define IDC_HOSTORFILE 1008 65#define IDC_HOSTORFILE 1008
66#define IDC_HOSTFILE 1009 66#define IDC_HOSTFILE 1009
67#define IDC_BROWSE 1010 67#define IDC_BROWSE 1010
68#define IDC_DESC 1011 68#define IDC_DESC 1011
69#define IDC_FACILITY 1017 69#define IDC_FACILITY 1017
70#define IDC_EMERG 1018 70#define IDC_EMERG 1018
71#define IDC_ALERT 1019 71#define IDC_ALERT 1019
72#define IDC_CRIT 1020 72#define IDC_CRIT 1020
73#define IDC_ERR 1021 73#define IDC_ERR 1021
74#define IDC_WARNING 1022 74#define IDC_WARNING 1022
75#define IDC_WARN_ON 1022 75#define IDC_WARN_ON 1022
76#define IDC_NOTICE 1023 76#define IDC_NOTICE 1023
77#define IDC_WARN_XOR 1023 77#define IDC_WARN_XOR 1023
78#define IDC_INFO 1024 78#define IDC_INFO 1024
79#define IDC_DEBUG 1025 79#define IDC_DEBUG 1025
80#define IDC_BROWSESOUND 1027 80#define IDC_BROWSESOUND 1027
81#define IDC_SOUND 1028 81#define IDC_SOUND 1028
82#define IDC_LOG 1029 82#define IDC_LOG 1029
83#define IDC_PLAYSOUND 1030 83#define IDC_PLAYSOUND 1030
84#define IDC_ALL 1031 84#define IDC_ALL 1031
85#define IDC_NONE 1032 85#define IDC_NONE 1032
86#define IDC_HOSTS 1034 86#define IDC_HOSTS 1034
87#define IDC_HL_IP 1035 87#define IDC_HL_IP 1035
88#define IDC_HL_MASK 1036 88#define IDC_HL_MASK 1036
89#define IDC_HL_ADD 1037 89#define IDC_HL_ADD 1037
90#define IDC_HL_REMOVE 1038 90#define IDC_HL_REMOVE 1038
91#define IDC_INVERT 1040 91#define IDC_INVERT 1040
92#define IDC_LOGLENSPIN 1047 92#define IDC_LOGLENSPIN 1047
93#define IDC_LOGLENGTH 1048 93#define IDC_LOGLENGTH 1048
94#define IDC_FILES 1052 94#define IDC_FILES 1052
95#define IDC_KLEVERNET 1053 95#define IDC_KLEVERNET 1053
96#define IDC_STATIC_LOGLENGTH 1054 96#define IDC_STATIC_LOGLENGTH 1054
97#define IDC_EMERG_ON 1058 97#define IDC_EMERG_ON 1058
98#define IDC_ALERT_ON 1059 98#define IDC_ALERT_ON 1059
99#define IDC_CRIT_ON 1060 99#define IDC_CRIT_ON 1060
100#define IDC_ERR_ON 1061 100#define IDC_ERR_ON 1061
101#define IDC_NOTICE_ON 1062 101#define IDC_NOTICE_ON 1062
102#define IDC_INFO_ON 1063 102#define IDC_INFO_ON 1063
103#define IDC_DEBUG_ON 1064 103#define IDC_DEBUG_ON 1064
104#define IDC_KERNEL_ON 1065 104#define IDC_KERNEL_ON 1065
105#define IDC_USER_ON 1066 105#define IDC_USER_ON 1066
106#define IDC_MAIL_ON 1067 106#define IDC_MAIL_ON 1067
107#define IDC_DAEMON_ON 1068 107#define IDC_DAEMON_ON 1068
108#define IDC_AUTH_ON 1069 108#define IDC_AUTH_ON 1069
109#define IDC_SYSLOG_ON 1070 109#define IDC_SYSLOG_ON 1070
110#define IDC_LPR_ON 1071 110#define IDC_LPR_ON 1071
111#define IDC_NEWS_ON 1072 111#define IDC_NEWS_ON 1072
112#define IDC_UUCP_ON 1073 112#define IDC_UUCP_ON 1073
113#define IDC_CRON_ON 1074 113#define IDC_CRON_ON 1074
114#define IDC_KERNEL_EMERG 1075 114#define IDC_KERNEL_EMERG 1075
115#define IDC_NOTICE_XOR 1076 115#define IDC_NOTICE_XOR 1076
116#define IDC_INFO_XOR 1077 116#define IDC_INFO_XOR 1077
117#define IDC_DEBUG_XOR 1078 117#define IDC_DEBUG_XOR 1078
118#define IDC_KERNEL_XOR 1079 118#define IDC_KERNEL_XOR 1079
119#define IDC_KERNEL_ALERT 1080 119#define IDC_KERNEL_ALERT 1080
120#define IDC_KERNEL_CRIT 1081 120#define IDC_KERNEL_CRIT 1081
121#define IDC_KERNEL_ERR 1082 121#define IDC_KERNEL_ERR 1082
122#define IDC_KERNEL_WARN 1083 122#define IDC_KERNEL_WARN 1083
123#define IDC_KERNEL_NOTICE 1084 123#define IDC_KERNEL_NOTICE 1084
124#define IDC_KERNEL_INFO 1085 124#define IDC_KERNEL_INFO 1085
125#define IDC_KERNEL_DEBUG 1086 125#define IDC_KERNEL_DEBUG 1086
126#define IDC_USER_EMERG 1087 126#define IDC_USER_EMERG 1087
127#define IDC_USER_ALERT 1088 127#define IDC_USER_ALERT 1088
128#define IDC_USER_CRIT 1089 128#define IDC_USER_CRIT 1089
129#define IDC_USER_ERR 1090 129#define IDC_USER_ERR 1090
130#define IDC_USER_WARN 1091 130#define IDC_USER_WARN 1091
131#define IDC_USER_NOTICE 1092 131#define IDC_USER_NOTICE 1092
132#define IDC_USER_INFO 1093 132#define IDC_USER_INFO 1093
133#define IDC_USER_DEBUG 1094 133#define IDC_USER_DEBUG 1094
134#define IDC_MAIL_EMERG 1095 134#define IDC_MAIL_EMERG 1095
135#define IDC_MAIL_ALERT 1096 135#define IDC_MAIL_ALERT 1096
136#define IDC_MAIL_CRIT 1097 136#define IDC_MAIL_CRIT 1097
137#define IDC_MAIL_ERR 1098 137#define IDC_MAIL_ERR 1098
138#define IDC_MAIL_WARN 1099 138#define IDC_MAIL_WARN 1099
139#define IDC_MAIL_NOTICE 1100 139#define IDC_MAIL_NOTICE 1100
140#define IDC_MAIL_INFO 1101 140#define IDC_MAIL_INFO 1101
141#define IDC_MAIL_DEBUG 1102 141#define IDC_MAIL_DEBUG 1102
142#define IDC_DAEMON_EMERG 1103 142#define IDC_DAEMON_EMERG 1103
143#define IDC_DAEMON_ALERT 1104 143#define IDC_DAEMON_ALERT 1104
144#define IDC_DAEMON_CRIT 1105 144#define IDC_DAEMON_CRIT 1105
145#define IDC_DAEMON_ERR 1106 145#define IDC_DAEMON_ERR 1106
146#define IDC_DAEMON_WARN 1107 146#define IDC_DAEMON_WARN 1107
147#define IDC_DAEMON_NOTICE 1108 147#define IDC_DAEMON_NOTICE 1108
148#define IDC_DAEMON_INFO 1109 148#define IDC_DAEMON_INFO 1109
149#define IDC_DAEMON_DEBUG 1110 149#define IDC_DAEMON_DEBUG 1110
150#define IDC_AUTH_EMERG 1111 150#define IDC_AUTH_EMERG 1111
151#define IDC_AUTH_ALERT 1112 151#define IDC_AUTH_ALERT 1112
152#define IDC_AUTH_CRIT 1113 152#define IDC_AUTH_CRIT 1113
153#define IDC_AUTH_ERR 1114 153#define IDC_AUTH_ERR 1114
154#define IDC_AUTH_WARN 1115 154#define IDC_AUTH_WARN 1115
155#define IDC_AUTH_NOTICE 1116 155#define IDC_AUTH_NOTICE 1116
156#define IDC_AUTH_INFO 1117 156#define IDC_AUTH_INFO 1117
157#define IDC_AUTH_DEBUG 1118 157#define IDC_AUTH_DEBUG 1118
158#define IDC_SYSLOG_EMERG 1119 158#define IDC_SYSLOG_EMERG 1119
159#define IDC_SYSLOG_ALERT 1120 159#define IDC_SYSLOG_ALERT 1120
160#define IDC_SYSLOG_CRIT 1121 160#define IDC_SYSLOG_CRIT 1121
161#define IDC_SYSLOG_ERR 1122 161#define IDC_SYSLOG_ERR 1122
162#define IDC_SYSLOG_WARN 1123 162#define IDC_SYSLOG_WARN 1123
163#define IDC_SYSLOG_NOTICE 1124 163#define IDC_SYSLOG_NOTICE 1124
164#define IDC_SYSLOG_INFO 1125 164#define IDC_SYSLOG_INFO 1125
165#define IDC_SYSLOG_DEBUG 1126 165#define IDC_SYSLOG_DEBUG 1126
166#define IDC_LPR_EMERG 1127 166#define IDC_LPR_EMERG 1127
167#define IDC_LPR_ALERT 1128 167#define IDC_LPR_ALERT 1128
168#define IDC_LPR_CRIT 1129 168#define IDC_LPR_CRIT 1129
169#define IDC_LPR_ERR 1130 169#define IDC_LPR_ERR 1130
170#define IDC_LPR_WARN 1131 170#define IDC_LPR_WARN 1131
171#define IDC_LPR_NOTICE 1132 171#define IDC_LPR_NOTICE 1132
172#define IDC_LPR_INFO 1133 172#define IDC_LPR_INFO 1133
173#define IDC_LPR_DEBUG 1134 173#define IDC_LPR_DEBUG 1134
174#define IDC_NEWS_EMERG 1135 174#define IDC_NEWS_EMERG 1135
175#define IDC_NEWS_ALERT 1136 175#define IDC_NEWS_ALERT 1136
176#define IDC_NEWS_CRIT 1137 176#define IDC_NEWS_CRIT 1137
177#define IDC_NEWS_ERR 1138 177#define IDC_NEWS_ERR 1138
178#define IDC_NEWS_WARN 1139 178#define IDC_NEWS_WARN 1139
179#define IDC_NEWS_NOTICE 1140 179#define IDC_NEWS_NOTICE 1140
180#define IDC_NEWS_INFO 1141 180#define IDC_NEWS_INFO 1141
181#define IDC_NEWS_DEBUG 1142 181#define IDC_NEWS_DEBUG 1142
182#define IDC_UUCP_EMERG 1143 182#define IDC_UUCP_EMERG 1143
183#define IDC_UUCP_ALERT 1144 183#define IDC_UUCP_ALERT 1144
184#define IDC_UUCP_CRIT 1145 184#define IDC_UUCP_CRIT 1145
185#define IDC_UUCP_ERR 1146 185#define IDC_UUCP_ERR 1146
186#define IDC_UUCP_WARN 1147 186#define IDC_UUCP_WARN 1147
187#define IDC_UUCP_NOTICE 1148 187#define IDC_UUCP_NOTICE 1148
188#define IDC_UUCP_INFO 1149 188#define IDC_UUCP_INFO 1149
189#define IDC_UUCP_DEBUG 1150 189#define IDC_UUCP_DEBUG 1150
190#define IDC_CRON_EMERG 1151 190#define IDC_CRON_EMERG 1151
191#define IDC_CRON_ALERT 1152 191#define IDC_CRON_ALERT 1152
192#define IDC_CRON_CRIT 1153 192#define IDC_CRON_CRIT 1153
193#define IDC_CRON_ERR 1154 193#define IDC_CRON_ERR 1154
194#define IDC_CRON_WARN 1155 194#define IDC_CRON_WARN 1155
195#define IDC_CRON_NOTICE 1156 195#define IDC_CRON_NOTICE 1156
196#define IDC_CRON_INFO 1157 196#define IDC_CRON_INFO 1157
197#define IDC_CRON_DEBUG 1158 197#define IDC_CRON_DEBUG 1158
198#define IDC_EMERG_XOR 1159 198#define IDC_EMERG_XOR 1159
199#define IDC_ALERT_XOR 1160 199#define IDC_ALERT_XOR 1160
200#define IDC_CRIT_XOR 1161 200#define IDC_CRIT_XOR 1161
201#define IDC_ERR_XOR 1162 201#define IDC_ERR_XOR 1162
202#define IDC_USER_XOR 1163 202#define IDC_USER_XOR 1163
203#define IDC_MAIL_XOR 1164 203#define IDC_MAIL_XOR 1164
204#define IDC_DAEMON_XOR 1165 204#define IDC_DAEMON_XOR 1165
205#define IDC_AUTH_XOR 1166 205#define IDC_AUTH_XOR 1166
206#define IDC_SYSLOG_XOR 1167 206#define IDC_SYSLOG_XOR 1167
207#define IDC_LPR_XOR 1168 207#define IDC_LPR_XOR 1168
208#define IDC_NEWS_XOR 1169 208#define IDC_NEWS_XOR 1169
209#define IDC_UUCP_XOR 1170 209#define IDC_UUCP_XOR 1170
210#define IDC_CRON_XOR 1171 210#define IDC_CRON_XOR 1171
211#define IDC_R0_ON 1172 211#define IDC_R0_ON 1172
212#define IDC_AUTHPRIV_ON 1172 212#define IDC_AUTHPRIV_ON 1172
213#define IDC_R1_ON 1173 213#define IDC_R1_ON 1173
214#define IDC_AUTHPRIV_EMERG 1173 214#define IDC_AUTHPRIV_EMERG 1173
215#define IDC_R2_ON 1174 215#define IDC_R2_ON 1174
216#define IDC_AUTHPRIV_ALERT 1174 216#define IDC_AUTHPRIV_ALERT 1174
217#define IDC_R3_ON 1175 217#define IDC_R3_ON 1175
218#define IDC_AUTHPRIV_CRIT 1175 218#define IDC_AUTHPRIV_CRIT 1175
219#define IDC_R4_ON 1176 219#define IDC_R4_ON 1176
220#define IDC_AUTHPRIV_ERR 1176 220#define IDC_AUTHPRIV_ERR 1176
221#define IDC_R0_XOR 1177 221#define IDC_R0_XOR 1177
222#define IDC_AUTHPRIV_WARN 1177 222#define IDC_AUTHPRIV_WARN 1177
223#define IDC_R1_XOR 1178 223#define IDC_R1_XOR 1178
224#define IDC_AUTHPRIV_NOTICE 1178 224#define IDC_AUTHPRIV_NOTICE 1178
225#define IDC_R2_XOR 1179 225#define IDC_R2_XOR 1179
226#define IDC_AUTHPRIV_INFO 1179 226#define IDC_AUTHPRIV_INFO 1179
227#define IDC_R3_XOR 1180 227#define IDC_R3_XOR 1180
228#define IDC_AUTHPRIV_DEBUG 1180 228#define IDC_AUTHPRIV_DEBUG 1180
229#define IDC_R4_XOR 1181 229#define IDC_R4_XOR 1181
230#define IDC_R0_EMERG 1182 230#define IDC_R0_EMERG 1182
231#define IDC_AUTHPRIV_XOR 1182 231#define IDC_AUTHPRIV_XOR 1182
232#define IDC_R0_ALERT 1183 232#define IDC_R0_ALERT 1183
233#define IDC_R0_CRIT 1184 233#define IDC_R0_CRIT 1184
234#define IDC_R0_ERR 1185 234#define IDC_R0_ERR 1185
235#define IDC_R0_WARN 1186 235#define IDC_R0_WARN 1186
236#define IDC_R0_NOTICE 1187 236#define IDC_R0_NOTICE 1187
237#define IDC_R0_INFO 1188 237#define IDC_R0_INFO 1188
238#define IDC_R0_DEBUG 1189 238#define IDC_R0_DEBUG 1189
239#define IDC_R1_EMERG 1190 239#define IDC_R1_EMERG 1190
240#define IDC_R1_ALERT 1191 240#define IDC_R1_ALERT 1191
241#define IDC_R1_CRIT 1192 241#define IDC_R1_CRIT 1192
242#define IDC_R1_ERR 1193 242#define IDC_R1_ERR 1193
243#define IDC_R1_WARN 1194 243#define IDC_R1_WARN 1194
244#define IDC_R1_NOTICE 1195 244#define IDC_R1_NOTICE 1195
245#define IDC_R1_INFO 1196 245#define IDC_R1_INFO 1196
246#define IDC_R1_DEBUG 1197 246#define IDC_R1_DEBUG 1197
247#define IDC_R2_EMERG 1198 247#define IDC_R2_EMERG 1198
248#define IDC_R2_ALERT 1199 248#define IDC_R2_ALERT 1199
249#define IDC_R2_CRIT 1200 249#define IDC_R2_CRIT 1200
250#define IDC_R2_ERR 1201 250#define IDC_R2_ERR 1201
251#define IDC_R2_WARN 1202 251#define IDC_R2_WARN 1202
252#define IDC_R2_NOTICE 1203 252#define IDC_R2_NOTICE 1203
253#define IDC_R2_INFO 1204 253#define IDC_R2_INFO 1204
254#define IDC_R2_DEBUG 1205 254#define IDC_R2_DEBUG 1205
255#define IDC_R3_EMERG 1206 255#define IDC_R3_EMERG 1206
256#define IDC_R3_ALERT 1207 256#define IDC_R3_ALERT 1207
257#define IDC_R3_CRIT 1208 257#define IDC_R3_CRIT 1208
258#define IDC_R3_ERR 1209 258#define IDC_R3_ERR 1209
259#define IDC_R3_WARN 1210 259#define IDC_R3_WARN 1210
260#define IDC_R3_NOTICE 1211 260#define IDC_R3_NOTICE 1211
261#define IDC_R3_INFO 1212 261#define IDC_R3_INFO 1212
262#define IDC_R3_DEBUG 1213 262#define IDC_R3_DEBUG 1213
263#define IDC_R4_EMERG 1214 263#define IDC_R4_EMERG 1214
264#define IDC_R4_ALERT 1215 264#define IDC_R4_ALERT 1215
265#define IDC_R4_CRIT 1216 265#define IDC_R4_CRIT 1216
266#define IDC_R4_ERR 1217 266#define IDC_R4_ERR 1217
267#define IDC_R4_WARN 1218 267#define IDC_R4_WARN 1218
268#define IDC_R4_NOTICE 1219 268#define IDC_R4_NOTICE 1219
269#define IDC_R4_INFO 1220 269#define IDC_R4_INFO 1220
270#define IDC_R4_DEBUG 1221 270#define IDC_R4_DEBUG 1221
271#define IDC_L0_ON 1222 271#define IDC_L0_ON 1222
272#define IDC_L1_ON 1223 272#define IDC_L1_ON 1223
273#define IDC_L2_ON 1224 273#define IDC_L2_ON 1224
274#define IDC_L3_ON 1225 274#define IDC_L3_ON 1225
275#define IDC_L4_ON 1226 275#define IDC_L4_ON 1226
276#define IDC_L5_ON 1227 276#define IDC_L5_ON 1227
277#define IDC_L6_ON 1228 277#define IDC_L6_ON 1228
278#define IDC_L7_ON 1229 278#define IDC_L7_ON 1229
279#define IDC_L0_XOR 1230 279#define IDC_L0_XOR 1230
280#define IDC_L1_XOR 1231 280#define IDC_L1_XOR 1231
281#define IDC_L2_XOR 1232 281#define IDC_L2_XOR 1232
282#define IDC_L3_XOR 1233 282#define IDC_L3_XOR 1233
283#define IDC_L4_XOR 1234 283#define IDC_L4_XOR 1234
284#define IDC_L5_XOR 1235 284#define IDC_L5_XOR 1235
285#define IDC_L6_XOR 1236 285#define IDC_L6_XOR 1236
286#define IDC_L7_XOR 1237 286#define IDC_L7_XOR 1237
287#define IDC_L0_EMERG 1238 287#define IDC_L0_EMERG 1238
288#define IDC_L0_ALERT 1239 288#define IDC_L0_ALERT 1239
289#define IDC_L0_CRIT 1240 289#define IDC_L0_CRIT 1240
290#define IDC_L0_ERR 1241 290#define IDC_L0_ERR 1241
291#define IDC_L0_WARN 1242 291#define IDC_L0_WARN 1242
292#define IDC_L0_NOTICE 1243 292#define IDC_L0_NOTICE 1243
293#define IDC_L0_INFO 1244 293#define IDC_L0_INFO 1244
294#define IDC_L0_DEBUG 1245 294#define IDC_L0_DEBUG 1245
295#define IDC_L1_EMERG 1246 295#define IDC_L1_EMERG 1246
296#define IDC_L1_ALERT 1247 296#define IDC_L1_ALERT 1247
297#define IDC_L1_CRIT 1248 297#define IDC_L1_CRIT 1248
298#define IDC_L1_ERR 1249 298#define IDC_L1_ERR 1249
299#define IDC_L1_WARN 1250 299#define IDC_L1_WARN 1250
300#define IDC_L1_NOTICE 1251 300#define IDC_L1_NOTICE 1251
301#define IDC_L1_INFO 1252 301#define IDC_L1_INFO 1252
302#define IDC_L1_DEBUG 1253 302#define IDC_L1_DEBUG 1253
303#define IDC_L2_EMERG 1254 303#define IDC_L2_EMERG 1254
304#define IDC_L2_ALERT 1255 304#define IDC_L2_ALERT 1255
305#define IDC_L2_CRIT 1256 305#define IDC_L2_CRIT 1256
306#define IDC_L2_ERR 1257 306#define IDC_L2_ERR 1257
307#define IDC_L2_WARN 1258 307#define IDC_L2_WARN 1258
308#define IDC_L2_NOTICE 1259 308#define IDC_L2_NOTICE 1259
309#define IDC_L2_INFO 1260 309#define IDC_L2_INFO 1260
310#define IDC_L2_DEBUG 1261 310#define IDC_L2_DEBUG 1261
311#define IDC_L3_EMERG 1262 311#define IDC_L3_EMERG 1262
312#define IDC_L3_ALERT 1263 312#define IDC_L3_ALERT 1263
313#define IDC_L3_CRIT 1264 313#define IDC_L3_CRIT 1264
314#define IDC_L3_ERR 1265 314#define IDC_L3_ERR 1265
315#define IDC_L3_WARN 1266 315#define IDC_L3_WARN 1266
316#define IDC_L3_NOTICE 1267 316#define IDC_L3_NOTICE 1267
317#define IDC_L3_INFO 1268 317#define IDC_L3_INFO 1268
318#define IDC_L3_DEBUG 1269 318#define IDC_L3_DEBUG 1269
319#define IDC_L4_EMERG 1270 319#define IDC_L4_EMERG 1270
320#define IDC_L4_ALERT 1271 320#define IDC_L4_ALERT 1271
321#define IDC_L4_CRIT 1272 321#define IDC_L4_CRIT 1272
322#define IDC_L4_ERR 1273 322#define IDC_L4_ERR 1273
323#define IDC_L4_WARN 1274 323#define IDC_L4_WARN 1274
324#define IDC_L4_NOTICE 1275 324#define IDC_L4_NOTICE 1275
325#define IDC_L4_INFO 1276 325#define IDC_L4_INFO 1276
326#define IDC_L4_DEBUG 1277 326#define IDC_L4_DEBUG 1277
327#define IDC_L5_EMERG 1278 327#define IDC_L5_EMERG 1278
328#define IDC_L5_ALERT 1279 328#define IDC_L5_ALERT 1279
329#define IDC_L5_CRIT 1280 329#define IDC_L5_CRIT 1280
330#define IDC_L5_ERR 1281 330#define IDC_L5_ERR 1281
331#define IDC_L5_WARN 1282 331#define IDC_L5_WARN 1282
332#define IDC_L5_NOTICE 1283 332#define IDC_L5_NOTICE 1283
333#define IDC_L5_INFO 1284 333#define IDC_L5_INFO 1284
334#define IDC_L5_DEBUG 1285 334#define IDC_L5_DEBUG 1285
335#define IDC_L6_EMERG 1286 335#define IDC_L6_EMERG 1286
336#define IDC_L6_ALERT 1287 336#define IDC_L6_ALERT 1287
337#define IDC_L6_CRIT 1288 337#define IDC_L6_CRIT 1288
338#define IDC_L6_ERR 1289 338#define IDC_L6_ERR 1289
339#define IDC_L6_WARN 1290 339#define IDC_L6_WARN 1290
340#define IDC_L6_NOTICE 1291 340#define IDC_L6_NOTICE 1291
341#define IDC_L6_INFO 1292 341#define IDC_L6_INFO 1292
342#define IDC_L6_DEBUG 1293 342#define IDC_L6_DEBUG 1293
343#define IDC_L7_EMERG 1294 343#define IDC_L7_EMERG 1294
344#define IDC_L7_ALERT 1295 344#define IDC_L7_ALERT 1295
345#define IDC_L7_CRIT 1296 345#define IDC_L7_CRIT 1296
346#define IDC_L7_ERR 1297 346#define IDC_L7_ERR 1297
347#define IDC_L7_WARN 1298 347#define IDC_L7_WARN 1298
348#define IDC_L7_NOTICE 1299 348#define IDC_L7_NOTICE 1299
349#define IDC_L7_INFO 1300 349#define IDC_L7_INFO 1300
350#define IDC_L7_DEBUG 1301 350#define IDC_L7_DEBUG 1301
351#define IDC_LOGPATTERN 1302 351#define IDC_LOGPATTERN 1302
352#define IDC_WARNBLOCKING 1303 352#define IDC_WARNBLOCKING 1303
353#define ID_FILES_EXPORT 32771 353#define ID_FILES_EXPORT 32771
354#define ID_FILES_IMPORT 32772 354#define ID_FILES_IMPORT 32772
355#define ID_FILES_RESET 32773 355#define ID_FILES_RESET 32773
356#define ID_TRAY_SHOWKLOGWINDOW 32774 356#define ID_TRAY_SHOWKLOGWINDOW 32774
357#define ID_TRAY_HELP 32776 357#define ID_TRAY_HELP 32776
358#define ID_TRAY_ABOUTKLOG 32777 358#define ID_TRAY_ABOUTKLOG 32777
359#define ID_TRAY_EXIT 32778 359#define ID_TRAY_EXIT 32778
360 360
361// Next default values for new objects 361// Next default values for new objects
362// 362//
363#ifdef APSTUDIO_INVOKED 363#ifdef APSTUDIO_INVOKED
364#ifndef APSTUDIO_READONLY_SYMBOLS 364#ifndef APSTUDIO_READONLY_SYMBOLS
365#define _APS_NEXT_RESOURCE_VALUE 147 365#define _APS_NEXT_RESOURCE_VALUE 147
366#define _APS_NEXT_COMMAND_VALUE 32779 366#define _APS_NEXT_COMMAND_VALUE 32779
367#define _APS_NEXT_CONTROL_VALUE 1304 367#define _APS_NEXT_CONTROL_VALUE 1304
368#define _APS_NEXT_SYMED_VALUE 102 368#define _APS_NEXT_SYMED_VALUE 102
369#endif 369#endif
370#endif 370#endif