Deleted PID_FILE_PATH
[privoxy.git] / w32.rc
1 /*********************************************************************
2  *
3  * File        :  $Source: /cvsroot/ijbswa/current/w32.rc,v $
4  *
5  * Purpose     :  Windows GUI resource script.
6  *
7  * Copyright   :  Written by and Copyright (C) 2001 the SourceForge
8  *                IJBSWA team.  http://ijbswa.sourceforge.net
9  *
10  *                Based on the Internet Junkbuster originally written
11  *                by and Copyright (C) 1997 Anonymous Coders and 
12  *                Junkbusters Corporation.  http://www.junkbusters.com
13  *
14  *                This program is free software; you can redistribute it 
15  *                and/or modify it under the terms of the GNU General
16  *                Public License as published by the Free Software
17  *                Foundation; either version 2 of the License, or (at
18  *                your option) any later version.
19  *
20  *                This program is distributed in the hope that it will
21  *                be useful, but WITHOUT ANY WARRANTY; without even the
22  *                implied warranty of MERCHANTABILITY or FITNESS FOR A
23  *                PARTICULAR PURPOSE.  See the GNU General Public
24  *                License for more details.
25  *
26  *                The GNU General Public License should be included with
27  *                this file.  If not, you can view it at
28  *                http://www.gnu.org/copyleft/gpl.html
29  *                or write to the Free Software Foundation, Inc., 59
30  *                Temple Place - Suite 330, Boston, MA  02111-1307, USA.
31  *
32  * Revisions   :
33  *    $Log: w32.rc,v $
34  *    Revision 1.11  2001/07/21 17:53:41  jongfoster
35  *    Adding version information block.
36  *
37  *    Revision 1.10  2001/07/19 19:14:19  haroon
38  *    -  Removed all #ifdef PCRS. The .rc file extension had eluded Andreas.
39  *
40  *    Revision 1.9  2001/06/07 23:08:54  jongfoster
41  *    Forward and ACL edit options removed.
42  *    Config edit option renamed from "&Junkbuster" to "&Configuration".
43  *
44  *    Revision 1.8  2001/05/31 21:37:11  jongfoster
45  *    GUI changes to rename "permissions file" to "actions file".
46  *
47  *    Revision 1.7  2001/05/29 09:50:24  jongfoster
48  *    Unified blocklist/imagelist/permissionslist.
49  *    File format is still under discussion, but the internal changes
50  *    are (mostly) done.
51  *
52  *    Also modified interceptor behaviour:
53  *    - We now intercept all URLs beginning with one of the following
54  *      prefixes (and *only* these prefixes):
55  *        * http://i.j.b/
56  *        * http://ijbswa.sf.net/config/
57  *        * http://ijbswa.sourceforge.net/config/
58  *    - New interceptors "home page" - go to http://i.j.b/ to see it.
59  *    - Internal changes so that intercepted and fast redirect pages
60  *      are not replaced with an image.
61  *    - Interceptors now have the option to send a binary page direct
62  *      to the client. (i.e. ijb-send-banner uses this)
63  *    - Implemented show-url-info interceptor.  (Which is why I needed
64  *      the above interceptors changes - a typical URL is
65  *      "http://i.j.b/show-url-info?url=www.somesite.com/banner.gif".
66  *      The previous mechanism would not have intercepted that, and
67  *      if it had been intercepted then it then it would have replaced
68  *      it with an image.)
69  *
70  *    Revision 1.6  2001/05/26 14:15:18  jongfoster
71  *    Cosmetic fix: // -> block comment
72  *
73  *    Revision 1.5  2001/05/26 13:24:31  jongfoster
74  *    New #define, WIN_GUI_EDIT, enables the (embryonic) Win32 GUI editor.
75  *    This #define cannot be set from ./configure - there's no point, it
76  *    doesn't work yet.  See feature request # 425722
77  *    (I missed this file in my original checkin)
78  *
79  *    Revision 1.4  2001/05/26 00:28:36  jongfoster
80  *    Automatic reloading of config file.
81  *    Removed obsolete SIGHUP support (Unix) and Reload menu option (Win32).
82  *    Most of the global variables have been moved to a new
83  *    struct configuration_spec, accessed through csp->config->globalname
84  *    Most of the globals remaining are used by the Win32 GUI.
85  *
86  *    Revision 1.3  2001/05/25 22:33:40  jongfoster
87  *    CRLF->LF
88  *
89  *    Revision 1.2  2001/05/20 01:21:20  jongfoster
90  *    Version 2.9.4 checkin.
91  *    - Merged popupfile and cookiefile, and added control over PCRS
92  *      filtering, in new "permissionsfile".
93  *    - Implemented LOG_LEVEL_FATAL, so that if there is a configuration
94  *      file error you now get a message box (in the Win32 GUI) rather
95  *      than the program exiting with no explanation.
96  *    - Made killpopup use the PCRS MIME-type checking and HTTP-header
97  *      skipping.
98  *    - Removed tabs from "config"
99  *    - Moved duplicated url parsing code in "loaders.c" to a new funcition.
100  *    - Bumped up version number.
101  *
102  *    Revision 1.1.1.1  2001/05/15 13:59:07  oes
103  *    Initial import of version 2.9.3 source tree
104  *
105  *
106  *********************************************************************/
107
108 #include <windows.h>
109 #include "config.h"
110 #include "w32res.h"
111
112 #ifdef __MINGW32__
113 #include "cygwin.h"
114 #endif
115
116 /****************************************************************************
117  *  Language-neutral resources
118  ****************************************************************************/
119
120 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_NEU)
121 #ifdef _WIN32
122 /* LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL */
123 #pragma code_page(1252)
124 #endif /* _WIN32 */
125
126 /*
127  * Icons
128  *
129  * Icon with lowest ID value placed first to ensure application icon
130  * remains consistent on all systems.
131  */
132 IDI_JUNKBUSTER          ICON    DISCARDABLE     "icons/junkbust.ico"
133 IDI_JUNKBUSTER1         ICON    DISCARDABLE     "icons/ico00001.ico"
134 IDI_JUNKBUSTER2         ICON    DISCARDABLE     "icons/ico00002.ico"
135 IDI_JUNKBUSTER3         ICON    DISCARDABLE     "icons/ico00003.ico"
136 IDI_JUNKBUSTER4         ICON    DISCARDABLE     "icons/ico00004.ico"
137 IDI_JUNKBUSTER5         ICON    DISCARDABLE     "icons/ico00005.ico"
138 IDI_JUNKBUSTER6         ICON    DISCARDABLE     "icons/ico00006.ico"
139 IDI_JUNKBUSTER7         ICON    DISCARDABLE     "icons/ico00007.ico"
140 IDI_JUNKBUSTER8         ICON    DISCARDABLE     "icons/ico00008.ico"
141 IDI_IDLE                ICON    DISCARDABLE     "icons/idle.ico"
142
143 #endif /* Neutral resources */
144
145
146 /****************************************************************************
147  *  English (U.S.) resources
148  ****************************************************************************/
149
150 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
151 #ifdef _WIN32
152 /* LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US */
153 #pragma code_page(1252)
154 #endif /* def _WIN32 */
155
156 /*
157  * File Version
158  */
159 #ifndef _MAC
160
161 VS_VERSION_INFO VERSIONINFO
162  FILEVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_POINT,0
163  PRODUCTVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_POINT,0
164  FILEFLAGSMASK 0x3fL
165 #ifdef _DEBUG
166  FILEFLAGS 0x1L
167 #else
168  FILEFLAGS 0x0L
169 #endif
170  FILEOS 0x40004L
171  FILETYPE 0x1L
172  FILESUBTYPE 0x0L
173 BEGIN
174     BLOCK "StringFileInfo"
175     BEGIN
176         BLOCK "040904b0"
177         BEGIN
178             VALUE "CompanyName", "The ijbswa team - ijbswa.sourceforge.net\0"
179             VALUE "FileDescription", "JunkBuster\0"
180             VALUE "FileVersion", VERSION "\0"
181             VALUE "InternalName", "JunkBuster\0"
182             VALUE "LegalCopyright", "Distributed under the GNU GPL\0"
183             VALUE "OriginalFilename", "junkbuster.exe\0"
184             VALUE "ProductName", "JunkBuster\0"
185             VALUE "ProductVersion", VERSION "\0"
186         END
187     END
188     BLOCK "VarFileInfo"
189     BEGIN
190         VALUE "Translation", 0x409, 1200
191     END
192 END
193
194 #endif /* ndef _MAC */
195
196
197 /*
198  * Menus
199  */
200
201 IDR_TRAYMENU MENU DISCARDABLE
202 BEGIN
203     POPUP "Popup"
204     BEGIN
205         MENUITEM "E&xit JunkBuster",   ID_FILE_EXIT
206         MENUITEM                       SEPARATOR
207         POPUP "&Options"
208         BEGIN
209             MENUITEM "&Configuration...",           ID_TOOLS_EDITJUNKBUSTER
210             MENUITEM                                SEPARATOR
211             MENUITEM "&Actions...",                 ID_TOOLS_EDITACTIONS
212             MENUITEM "Perl &Regexps...",            ID_TOOLS_EDITPERLRE
213 #ifdef FEATURE_TRUST
214             MENUITEM "&Trust...",                   ID_TOOLS_EDITTRUST
215 #endif /* def FEATURE_TRUST */
216         END
217         MENUITEM                              SEPARATOR
218 #ifdef FEATURE_TOGGLE
219         MENUITEM "&Enable",                   ID_TOGGLE_IJB, CHECKED
220 #endif /* def FEATURE_TOGGLE */
221         MENUITEM "Show &JunkBuster Window",   ID_SHOWWINDOW
222     END
223 END
224
225 IDR_LOGVIEW MENU DISCARDABLE
226 BEGIN
227     POPUP "&File"
228     BEGIN
229         MENUITEM "E&xit",                       ID_FILE_EXIT
230     END
231     POPUP "&Edit"
232     BEGIN
233         MENUITEM "Copy",                        ID_EDIT_COPY
234     END
235     POPUP "&View"
236     BEGIN
237         MENUITEM "&Clear Log",                  ID_VIEW_CLEARLOG
238         MENUITEM                                SEPARATOR
239         MENUITEM "&Log Messages",               ID_VIEW_LOGMESSAGES, CHECKED
240         MENUITEM "Message &Highlighting",       ID_VIEW_MESSAGEHIGHLIGHTING, CHECKED
241         MENUITEM "Limit &Buffer Size",          ID_VIEW_LIMITBUFFERSIZE, CHECKED
242         MENUITEM "&Activity Animation",         ID_VIEW_ACTIVITYANIMATION, CHECKED
243     END
244     POPUP "&Options"
245     BEGIN
246 #ifdef FEATURE_TOGGLE
247         MENUITEM "&Enable",                     ID_TOGGLE_IJB, CHECKED
248         MENUITEM                                SEPARATOR
249 #endif /* def FEATURE_TOGGLE */
250         MENUITEM "&Configuration...",           ID_TOOLS_EDITJUNKBUSTER
251         MENUITEM                                SEPARATOR
252         MENUITEM "&Actions...",                 ID_TOOLS_EDITACTIONS
253             MENUITEM "Perl &Regexps...",        ID_TOOLS_EDITPERLRE
254 #ifdef FEATURE_TRUST
255             MENUITEM "&Trust...",               ID_TOOLS_EDITTRUST
256 #endif /* def FEATURE_TRUST */
257     END
258     POPUP "&Help"
259     BEGIN
260         MENUITEM "Junkbuster &FAQ",             ID_HELP_FAQ
261         MENUITEM "Junkbuster &Manual",          ID_HELP_MANUAL
262         MENUITEM "GNU &General Public Licence", ID_HELP_GPL
263         MENUITEM                                SEPARATOR
264         MENUITEM "Junkbuster Status...",        ID_HELP_STATUS
265         MENUITEM                                SEPARATOR
266         MENUITEM "About Junkbuster...",         ID_HELP_ABOUTJUNKBUSTER
267     END
268 END
269
270 IDR_POPUP_SELECTION MENU DISCARDABLE
271 BEGIN
272     POPUP "Popup"
273     BEGIN
274         MENUITEM "&Copy",                       ID_EDIT_COPY
275     END
276 END
277
278
279 /*
280  * Accelerators
281  */
282
283 IDR_ACCELERATOR ACCELERATORS DISCARDABLE
284 BEGIN
285     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL, NOINVERT
286 END
287
288 #endif /* English (U.S.) resources */