-rw-r--r-- | AUTHORS | 3 | ||||
-rw-r--r-- | COPYING | 2 | ||||
-rw-r--r-- | README.RELEASE (renamed from README) | 0 | ||||
-rw-r--r-- | help/klog.rtf | 5 | ||||
-rw-r--r-- | help/klog.xml | 5 | ||||
-rw-r--r-- | install/install.cpp | 16 | ||||
-rw-r--r-- | install/install.rc | 10 | ||||
-rw-r--r-- | klog.rc | 14 |
8 files changed, 30 insertions, 25 deletions
@@ -0,0 +1,3 @@ | |||
1 | Klever dissected: | ||
2 | Michael 'hacker' Krelin <hacker@klever.net> | ||
3 | Leonid Ivanov <kamel@klever.net> | ||
@@ -1,19 +1,19 @@ | |||
1 | Copyright (c) 1998, 2002 Klever Group (http://www.klever.net/) | 1 | Copyright (c) 1998-2004 Klever Group (http://www.klever.net/) |
2 | 2 | ||
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of |
4 | this software and associated documentation files (the "Software"), to deal in | 4 | this software and associated documentation files (the "Software"), to deal in |
5 | the Software without restriction, including without limitation the rights to | 5 | the Software without restriction, including without limitation the rights to |
6 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies | 6 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies |
7 | of the Software, and to permit persons to whom the Software is furnished to do | 7 | of the Software, and to permit persons to whom the Software is furnished to do |
8 | so, subject to the following conditions: | 8 | so, subject to the following conditions: |
9 | 9 | ||
10 | The above copyright notice and this permission notice shall be included in all | 10 | The above copyright notice and this permission notice shall be included in all |
11 | copies or substantial portions of the Software. | 11 | copies or substantial portions of the Software. |
12 | 12 | ||
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
19 | SOFTWARE. | 19 | SOFTWARE. |
diff --git a/help/klog.rtf b/help/klog.rtf index 587fbcd..9531c73 100644 --- a/help/klog.rtf +++ b/help/klog.rtf | |||
@@ -1,64 +1,65 @@ | |||
1 | {\rtf1\ansi | 1 | {\rtf1\ansi |
2 | @{\footnote | 2 | @{\footnote |
3 | THIS FILE WAS AUTOMATICALLY GENERATED FROM XML DOCUMENT. | 3 | THIS FILE WAS AUTOMATICALLY GENERATED FROM XML DOCUMENT. |
4 | DO NOT MODIFY THIS FILE DIRECTLY. EDIT XML DOCUMENT INSTEAD | 4 | DO 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, 2002 {\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-2004 {\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.00 Beta 2 - August 19th, 2002 | 32 | \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 | 33 | \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 | ||
34 | \page | 35 | \page |
35 | 36 | ||
36 | \pard\plain\keepn | 37 | \pard\plain\keepn |
37 | #{\footnote Using} | 38 | #{\footnote Using} |
38 | ${\footnote Using KLog} | 39 | ${\footnote Using KLog} |
39 | { \f1\fs18\b\sb120 Using {\b KLog}} | 40 | { \f1\fs18\b\sb120 Using {\b KLog}} |
40 | \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. | 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. |
41 | \page | 42 | \page |
42 | 43 | ||
43 | \pard\plain\keepn | 44 | \pard\plain\keepn |
44 | #{\footnote MainWindow} | 45 | #{\footnote MainWindow} |
45 | ${\footnote Main Window} | 46 | ${\footnote Main Window} |
46 | { \f1\fs18\b\sb120 Main Window} | 47 | { \f1\fs18\b\sb120 Main Window} |
47 | \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. | 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. |
48 | \par\sa120\sb120\qj\pard \f1\fs18\sb120 Each tab consists of following fields:\pard | 49 | \par\sa120\sb120\qj\pard \f1\fs18\sb120 Each tab consists of following fields:\pard |
49 | \par \fi0\li0 \bullet {\b Short description} - short descriptive text appearing on the tab on top of window. | 50 | \par \fi0\li0 \bullet {\b Short description} - short descriptive text appearing on the tab on top of window. |
50 | \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. | 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. |
51 | \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) | 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) |
52 | \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. | 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. |
53 | \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}. | 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}. |
54 | \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. | 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. |
55 | \par \fi0\li0 \bullet {\b Log window} - shows recent activity.\pard | 56 | \par \fi0\li0 \bullet {\b Log window} - shows recent activity.\pard |
56 | \page | 57 | \page |
57 | 58 | ||
58 | \pard\plain\keepn | 59 | \pard\plain\keepn |
59 | #{\footnote Pattern} | 60 | #{\footnote Pattern} |
60 | ${\footnote Edit Logging Pattern} | 61 | ${\footnote Edit Logging Pattern} |
61 | { \f1\fs18\b\sb120 Edit Logging Pattern Dialog} | 62 | { \f1\fs18\b\sb120 Edit Logging Pattern Dialog} |
62 | \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. | 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. |
63 | \page | 64 | \page |
64 | } \ No newline at end of file | 65 | } \ No newline at end of file |
diff --git a/help/klog.xml b/help/klog.xml index f566200..830b297 100644 --- a/help/klog.xml +++ b/help/klog.xml | |||
@@ -1,38 +1,39 @@ | |||
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, 2002"/> | 8 | <license years="1998-2004"/> |
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.00 Beta 2" date="August 19th, 2002"> | 12 | <newsfor version="1.1" date="July 11th, 2004"> |
13 | <ni>Change of license and opening the source code</ni> | 13 | <ni>Change of license and opening the source code</ni> |
14 | <ni>Minor changes in code, mostly bugfixes</ni> | ||
14 | </newsfor> | 15 | </newsfor> |
15 | </topic> | 16 | </topic> |
16 | <topic id="Using" title="Using KLog"> | 17 | <topic id="Using" title="Using KLog"> |
17 | <heading scroll="no">Using <kin>KLog</kin></heading> | 18 | <heading scroll="no">Using <kin>KLog</kin></heading> |
18 | <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> | 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> |
19 | </topic> | 20 | </topic> |
20 | <topic id="MainWindow" title="Main Window"> | 21 | <topic id="MainWindow" title="Main Window"> |
21 | <heading scroll="no">Main Window</heading> | 22 | <heading scroll="no">Main Window</heading> |
22 | <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> | 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> |
23 | <p>Each tab consists of following fields:</p> | 24 | <p>Each tab consists of following fields:</p> |
24 | <ul> | 25 | <ul> |
25 | <li><b>Short description</b> - short descriptive text appearing on the tab on top of window.</li> | 26 | <li><b>Short description</b> - short descriptive text appearing on the tab on top of window.</li> |
26 | <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> | 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> |
27 | <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> | 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> |
28 | <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> | 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> |
29 | <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> | 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> |
30 | <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> | 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> |
31 | <li><b>Log window</b> - shows recent activity.</li> | 32 | <li><b>Log window</b> - shows recent activity.</li> |
32 | </ul> | 33 | </ul> |
33 | </topic> | 34 | </topic> |
34 | <topic id="Pattern" title="Edit Logging Pattern"> | 35 | <topic id="Pattern" title="Edit Logging Pattern"> |
35 | <heading scroll="no">Edit Logging Pattern Dialog</heading> | 36 | <heading scroll="no">Edit Logging Pattern Dialog</heading> |
36 | <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> | 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> |
37 | </topic> | 38 | </topic> |
38 | </winhelp> | 39 | </winhelp> |
diff --git a/install/install.cpp b/install/install.cpp index 212ad40..c0e0bb8 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.00 Beta 2" | 4 | #define KINAME"KLog 1.1" |
5 | #define SKINAME"KLog" | 5 | #define SKINAME"KLog" |
6 | 6 | ||
7 | BOOL Install(void) | 7 | BOOL Install(void) |
8 | { | 8 | { |
9 | STRING dPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group, Inc.", SKINAME "Path"); | 9 | STRING dPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group", SKINAME "Path"); |
10 | STRING kPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group, Inc.","KINPath"); | 10 | STRING kPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath"); |
11 | LPCSTR qPath = ((LPCSTR)dPath)?(LPCSTR)dPath:(((LPCSTR)kPath)?(LPSTR)kPath:"C:\\Program Files\\Klever\\Nothings"); | 11 | LPCSTR qPath = ((LPCSTR)dPath)?(LPCSTR)dPath:(((LPCSTR)kPath)?(LPSTR)kPath:"C:\\Program Files\\Klever\\Nothings"); |
12 | STRING path = REQUESTPATH(" " KINAME,"\nEnter destination path:",qPath); | 12 | STRING 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 |
16 | STRING sysDir(_MAX_PATH); | 16 | STRING 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); |
22 | STRING shortPath = GET_SHORT_PATH(path); | 22 | STRING 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("Accessories\\Klever Co.",SKINAME,path,SKINAME ".exe"); | 37 | ADDMENU("Klever Group",SKINAME,path,SKINAME ".exe"); |
38 | strSET_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group, Inc.",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, Inc.","KINPath",path); | 39 | strSET_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath",path); |
40 | 40 | ||
41 | FILE* inf=CREATE_INF_FILE(path,SKINAME ".INF"); | 41 | FILE* 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,"Accessories\\Klever Co."); | 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/Accessories/Klever Co. 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 45bc88b..6a3fd3e 100644 --- a/install/install.rc +++ b/install/install.rc | |||
@@ -38,145 +38,145 @@ BEGIN | |||
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 |
45 | END | 45 | END |
46 | #endif | 46 | #endif |
47 | 47 | ||
48 | IDD_PATH DIALOGEX 0, 0, 255, 73 | 48 | IDD_PATH DIALOGEX 0, 0, 255, 73 |
49 | STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | DS_CENTER | WS_POPUP | | 49 | STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | DS_CENTER | WS_POPUP | |
50 | WS_VISIBLE | WS_CAPTION | 50 | WS_VISIBLE | WS_CAPTION |
51 | EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE | 51 | EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE |
52 | FONT 8, "MS Sans Serif", 0, 0, 0x1 | 52 | FONT 8, "MS Sans Serif", 0, 0, 0x1 |
53 | BEGIN | 53 | BEGIN |
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 |
59 | END | 59 | END |
60 | 60 | ||
61 | 61 | ||
62 | ///////////////////////////////////////////////////////////////////////////// | 62 | ///////////////////////////////////////////////////////////////////////////// |
63 | // | 63 | // |
64 | // DESIGNINFO | 64 | // DESIGNINFO |
65 | // | 65 | // |
66 | 66 | ||
67 | #ifdef APSTUDIO_INVOKED | 67 | #ifdef APSTUDIO_INVOKED |
68 | GUIDELINES DESIGNINFO DISCARDABLE | 68 | GUIDELINES DESIGNINFO DISCARDABLE |
69 | BEGIN | 69 | BEGIN |
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 |
89 | END | 89 | END |
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 | ||
99 | 1 TEXTINCLUDE DISCARDABLE | 99 | 1 TEXTINCLUDE DISCARDABLE |
100 | BEGIN | 100 | BEGIN |
101 | "resource.h\0" | 101 | "resource.h\0" |
102 | END | 102 | END |
103 | 103 | ||
104 | 2 TEXTINCLUDE DISCARDABLE | 104 | 2 TEXTINCLUDE DISCARDABLE |
105 | BEGIN | 105 | BEGIN |
106 | "#include ""afxres.h""\r\n" | 106 | "#include ""afxres.h""\r\n" |
107 | "\0" | 107 | "\0" |
108 | END | 108 | END |
109 | 109 | ||
110 | 3 TEXTINCLUDE DISCARDABLE | 110 | 3 TEXTINCLUDE DISCARDABLE |
111 | BEGIN | 111 | BEGIN |
112 | "#include ""custom.rch""\0" | 112 | "#include ""custom.rch""\0" |
113 | END | 113 | END |
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. |
125 | IDI_ICON ICON DISCARDABLE "../shared-data/install-icon.ico" | 125 | IDI_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 | ||
133 | VS_VERSION_INFO VERSIONINFO | 133 | VS_VERSION_INFO VERSIONINFO |
134 | FILEVERSION 1,0,0,2 | 134 | FILEVERSION 1,1,0,0 |
135 | PRODUCTVERSION 1,0,0,2 | 135 | PRODUCTVERSION 1,1,0,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 |
145 | BEGIN | 145 | BEGIN |
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, 0, 0, 2\0" | 152 | VALUE "FileVersion", "1, 1, 0, 0\0" |
153 | VALUE "InternalName", "INSTALL\0" | 153 | VALUE "InternalName", "INSTALL\0" |
154 | VALUE "LegalCopyright", "Copyright © 1998, 2002 Klever Group (http://www.klever.net/)\0" | 154 | VALUE "LegalCopyright", "Copyright © 1998-2004 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, 0, 0, 2\0" | 158 | VALUE "ProductVersion", "1, 1, 0, 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 |
165 | END | 165 | END |
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 | ||
@@ -1,184 +1,184 @@ | |||
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 |
20 | LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US | 20 | LANGUAGE 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 | ||
30 | 1 TEXTINCLUDE DISCARDABLE | 30 | 1 TEXTINCLUDE DISCARDABLE |
31 | BEGIN | 31 | BEGIN |
32 | "resource.h\0" | 32 | "resource.h\0" |
33 | END | 33 | END |
34 | 34 | ||
35 | 2 TEXTINCLUDE DISCARDABLE | 35 | 2 TEXTINCLUDE DISCARDABLE |
36 | BEGIN | 36 | BEGIN |
37 | "#include ""afxres.h""\r\n" | 37 | "#include ""afxres.h""\r\n" |
38 | "\0" | 38 | "\0" |
39 | END | 39 | END |
40 | 40 | ||
41 | 3 TEXTINCLUDE DISCARDABLE | 41 | 3 TEXTINCLUDE DISCARDABLE |
42 | BEGIN | 42 | BEGIN |
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" |
56 | END | 56 | END |
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. |
68 | IDR_MAINFRAME ICON DISCARDABLE "res\\klog.ico" | 68 | IDR_MAINFRAME ICON DISCARDABLE "res\\klog.ico" |
69 | IDI_BROWSE ICON DISCARDABLE "shared-data/browse-icon.ico" | 69 | IDI_BROWSE ICON DISCARDABLE "shared-data/browse-icon.ico" |
70 | IDI_PREPLAY ICON DISCARDABLE "shared-data/play-icon.ico" | 70 | IDI_PREPLAY ICON DISCARDABLE "shared-data/play-icon.ico" |
71 | IDI_KLOG ICON DISCARDABLE "res\\klog-icon.ico" | 71 | IDI_KLOG ICON DISCARDABLE "res\\klog-icon.ico" |
72 | IDI_KLOG_TRIGGERED ICON DISCARDABLE "res\\klog-triggered-icon.ico" | 72 | IDI_KLOG_TRIGGERED ICON DISCARDABLE "res\\klog-triggered-icon.ico" |
73 | IDI_LOGPATTERN ICON DISCARDABLE "res\\log-pattern.ico" | 73 | IDI_LOGPATTERN ICON DISCARDABLE "res\\log-pattern.ico" |
74 | 74 | ||
75 | ///////////////////////////////////////////////////////////////////////////// | 75 | ///////////////////////////////////////////////////////////////////////////// |
76 | // | 76 | // |
77 | // Dialog | 77 | // Dialog |
78 | // | 78 | // |
79 | 79 | ||
80 | IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 217, 70 | 80 | IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 217, 70 |
81 | STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | 81 | STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU |
82 | CAPTION "About KLog" | 82 | CAPTION "About KLog" |
83 | FONT 8, "MS Sans Serif" | 83 | FONT 8, "MS Sans Serif" |
84 | BEGIN | 84 | BEGIN |
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.00 Beta 2",IDC_STATIC,40,16,119,8, | 86 | LTEXT "KLog, Version 1.1",IDC_STATIC,40,16,119,8, |
87 | SS_NOPREFIX | 87 | SS_NOPREFIX |
88 | LTEXT "Copyright © 1998,2002 Klever Group",IDC_STATIC,40,31,119,8 | 88 | LTEXT "Copyright © 1998-2004 Klever Group",IDC_STATIC,40,31,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 |
91 | END | 91 | END |
92 | 92 | ||
93 | IDD_KLOG_DIALOG DIALOGEX 0, 0, 291, 286 | 93 | IDD_KLOG_DIALOG DIALOGEX 0, 0, 291, 286 |
94 | STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | 94 | STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU |
95 | EXSTYLE WS_EX_CLIENTEDGE | WS_EX_CONTEXTHELP | WS_EX_APPWINDOW | 95 | EXSTYLE WS_EX_CLIENTEDGE | WS_EX_CONTEXTHELP | WS_EX_APPWINDOW |
96 | CAPTION "KLog" | 96 | CAPTION "KLog" |
97 | FONT 8, "MS Sans Serif", 0, 0, 0x1 | 97 | FONT 8, "MS Sans Serif", 0, 0, 0x1 |
98 | BEGIN | 98 | BEGIN |
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,277,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,245,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,277, |
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,285,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 |
177 | END | 177 | END |
178 | 178 | ||
179 | IDD_LOG_UNIX DIALOG DISCARDABLE 0, 0, 394, 143 | 179 | IDD_LOG_UNIX DIALOG DISCARDABLE 0, 0, 394, 143 |
180 | STYLE DS_3DLOOK | WS_CHILD | WS_DISABLED | WS_CAPTION | 180 | STYLE DS_3DLOOK | WS_CHILD | WS_DISABLED | WS_CAPTION |
181 | CAPTION "Unix" | 181 | CAPTION "Unix" |
182 | FONT 8, "MS Sans Serif" | 182 | FONT 8, "MS Sans Serif" |
183 | BEGIN | 183 | BEGIN |
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 | |
@@ -711,213 +711,213 @@ BEGIN | |||
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 |
780 | END | 780 | END |
781 | 781 | ||
782 | IDD_WARNBLOCKING DIALOGEX 0, 0, 195, 88 | 782 | IDD_WARNBLOCKING DIALOGEX 0, 0, 195, 88 |
783 | STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_CAPTION | 783 | STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_CAPTION |
784 | EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE | 784 | EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE |
785 | CAPTION " Blocking call warning" | 785 | CAPTION " Blocking call warning" |
786 | FONT 8, "MS Sans Serif", 0, 0, 0x1 | 786 | FONT 8, "MS Sans Serif", 0, 0, 0x1 |
787 | BEGIN | 787 | BEGIN |
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 |
797 | END | 797 | END |
798 | 798 | ||
799 | 799 | ||
800 | #ifndef _MAC | 800 | #ifndef _MAC |
801 | ///////////////////////////////////////////////////////////////////////////// | 801 | ///////////////////////////////////////////////////////////////////////////// |
802 | // | 802 | // |
803 | // Version | 803 | // Version |
804 | // | 804 | // |
805 | 805 | ||
806 | VS_VERSION_INFO VERSIONINFO | 806 | VS_VERSION_INFO VERSIONINFO |
807 | FILEVERSION 1,0,0,2 | 807 | FILEVERSION 1,1,0,0 |
808 | PRODUCTVERSION 1,0,0,2 | 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 |
818 | BEGIN | 818 | BEGIN |
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, 0, 0, 2\0" | 825 | VALUE "FileVersion", "1, 1, 0, 0\0" |
826 | VALUE "InternalName", "KLOG\0" | 826 | VALUE "InternalName", "KLOG\0" |
827 | VALUE "LegalCopyright", "Copyright © 1998, 2002 Klever Group (http://www.klever.net/)\0" | 827 | VALUE "LegalCopyright", "Copyright © 1998-2004 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, 0, 0, 2\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 |
838 | END | 838 | END |
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 |
849 | GUIDELINES DESIGNINFO DISCARDABLE | 849 | GUIDELINES DESIGNINFO DISCARDABLE |
850 | BEGIN | 850 | BEGIN |
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, 284 |
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 |
919 | END | 919 | END |
920 | #endif // APSTUDIO_INVOKED | 920 | #endif // APSTUDIO_INVOKED |
921 | 921 | ||
922 | 922 | ||
923 | ///////////////////////////////////////////////////////////////////////////// | 923 | ///////////////////////////////////////////////////////////////////////////// |
@@ -979,172 +979,172 @@ BEGIN | |||
979 | 0x6d28, 0x6f65, 0x2977, "\000" | 979 | 0x6d28, 0x6f65, 0x2977, "\000" |
980 | IDC_SOUND, 0x403, 8, 0 | 980 | IDC_SOUND, 0x403, 8, 0 |
981 | 0x6728, 0x616c, 0x7373, 0x0029, | 981 | 0x6728, 0x616c, 0x7373, 0x0029, |
982 | IDC_SOUND, 0x403, 7, 0 | 982 | IDC_SOUND, 0x403, 7, 0 |
983 | 0x6628, 0x6165, 0x2972, "\000" | 983 | 0x6628, 0x6165, 0x2972, "\000" |
984 | IDC_SOUND, 0x403, 7, 0 | 984 | IDC_SOUND, 0x403, 7, 0 |
985 | 0x6b28, 0x6369, 0x296b, "\000" | 985 | 0x6b28, 0x6369, 0x296b, "\000" |
986 | 0 | 986 | 0 |
987 | END | 987 | END |
988 | 988 | ||
989 | 989 | ||
990 | ///////////////////////////////////////////////////////////////////////////// | 990 | ///////////////////////////////////////////////////////////////////////////// |
991 | // | 991 | // |
992 | // WAVE | 992 | // WAVE |
993 | // | 993 | // |
994 | 994 | ||
995 | IDW_SOUND_MEOW WAVE DISCARDABLE "res\\meow.wav" | 995 | IDW_SOUND_MEOW WAVE DISCARDABLE "res\\meow.wav" |
996 | IDW_SOUND_GLASS WAVE DISCARDABLE "res\\glass.wav" | 996 | IDW_SOUND_GLASS WAVE DISCARDABLE "res\\glass.wav" |
997 | IDW_SOUND_FEAR WAVE DISCARDABLE "res\\fear.wav" | 997 | IDW_SOUND_FEAR WAVE DISCARDABLE "res\\fear.wav" |
998 | IDW_SOUND_KICK WAVE DISCARDABLE "res\\kick.wav" | 998 | IDW_SOUND_KICK WAVE DISCARDABLE "res\\kick.wav" |
999 | 999 | ||
1000 | ///////////////////////////////////////////////////////////////////////////// | 1000 | ///////////////////////////////////////////////////////////////////////////// |
1001 | // | 1001 | // |
1002 | // Bitmap | 1002 | // Bitmap |
1003 | // | 1003 | // |
1004 | 1004 | ||
1005 | IDB_BACKGROUND BITMAP DISCARDABLE "shared-data/klever-background.bmp" | 1005 | IDB_BACKGROUND BITMAP DISCARDABLE "shared-data/klever-background.bmp" |
1006 | 1006 | ||
1007 | ///////////////////////////////////////////////////////////////////////////// | 1007 | ///////////////////////////////////////////////////////////////////////////// |
1008 | // | 1008 | // |
1009 | // Menu | 1009 | // Menu |
1010 | // | 1010 | // |
1011 | 1011 | ||
1012 | IDD_KLOG_DIALOG MENU DISCARDABLE | 1012 | IDD_KLOG_DIALOG MENU DISCARDABLE |
1013 | BEGIN | 1013 | BEGIN |
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 |
1033 | END | 1033 | END |
1034 | 1034 | ||
1035 | 1035 | ||
1036 | ///////////////////////////////////////////////////////////////////////////// | 1036 | ///////////////////////////////////////////////////////////////////////////// |
1037 | // | 1037 | // |
1038 | // String Table | 1038 | // String Table |
1039 | // | 1039 | // |
1040 | 1040 | ||
1041 | STRINGTABLE DISCARDABLE | 1041 | STRINGTABLE DISCARDABLE |
1042 | BEGIN | 1042 | BEGIN |
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 (*.*)|*.*|" |
1054 | END | 1054 | END |
1055 | 1055 | ||
1056 | STRINGTABLE DISCARDABLE | 1056 | STRINGTABLE DISCARDABLE |
1057 | BEGIN | 1057 | BEGIN |
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" |
1065 | END | 1065 | END |
1066 | 1066 | ||
1067 | STRINGTABLE DISCARDABLE | 1067 | STRINGTABLE DISCARDABLE |
1068 | BEGIN | 1068 | BEGIN |
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, Inc." | 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" |
1085 | END | 1085 | END |
1086 | 1086 | ||
1087 | STRINGTABLE DISCARDABLE | 1087 | STRINGTABLE DISCARDABLE |
1088 | BEGIN | 1088 | BEGIN |
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" |
1095 | END | 1095 | END |
1096 | 1096 | ||
1097 | STRINGTABLE DISCARDABLE | 1097 | STRINGTABLE DISCARDABLE |
1098 | BEGIN | 1098 | BEGIN |
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" |
1101 | END | 1101 | END |
1102 | 1102 | ||
1103 | STRINGTABLE DISCARDABLE | 1103 | STRINGTABLE DISCARDABLE |
1104 | BEGIN | 1104 | BEGIN |
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" |
1107 | END | 1107 | END |
1108 | 1108 | ||
1109 | STRINGTABLE DISCARDABLE | 1109 | STRINGTABLE DISCARDABLE |
1110 | BEGIN | 1110 | BEGIN |
1111 | IDC_LOGPATTERN "Edit logging pattern" | 1111 | IDC_LOGPATTERN "Edit logging pattern" |
1112 | END | 1112 | END |
1113 | 1113 | ||
1114 | STRINGTABLE DISCARDABLE | 1114 | STRINGTABLE DISCARDABLE |
1115 | BEGIN | 1115 | BEGIN |
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." |
1123 | END | 1123 | END |
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 |
1142 | LANGUAGE 9, 1 | 1142 | LANGUAGE 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 | ||