Add some CSP_FLAGs for the header parsers.
[privoxy.git] / w32res.h
1 #ifndef W32RES_H_INCLUDED
2 #define W32RES_H_INCLUDED
3 #define W32RES_H_VERSION "$Id: w32res.h,v 1.13.2.1 2002/08/21 17:59:06 oes Exp $"
4 /*********************************************************************
5  *
6  * File        :  $Source: /cvsroot/ijbswa/current/Attic/w32res.h,v $
7  *
8  * Purpose     :  Identifiers for Windows GUI resources.
9  *
10  * Copyright   :  Written by and Copyright (C) 2001-2002 members of
11  *                the Privoxy team.  http://www.privoxy.org/
12  *
13  *                Based on the Internet Junkbuster originally written
14  *                by and Copyright (C) 1997 Anonymous Coders and 
15  *                Junkbusters Corporation.  http://www.junkbusters.com
16  *
17  *                This program is free software; you can redistribute it 
18  *                and/or modify it under the terms of the GNU General
19  *                Public License as published by the Free Software
20  *                Foundation; either version 2 of the License, or (at
21  *                your option) any later version.
22  *
23  *                This program is distributed in the hope that it will
24  *                be useful, but WITHOUT ANY WARRANTY; without even the
25  *                implied warranty of MERCHANTABILITY or FITNESS FOR A
26  *                PARTICULAR PURPOSE.  See the GNU General Public
27  *                License for more details.
28  *
29  *                The GNU General Public License should be included with
30  *                this file.  If not, you can view it at
31  *                http://www.gnu.org/copyleft/gpl.html
32  *                or write to the Free Software Foundation, Inc., 59
33  *                Temple Place - Suite 330, Boston, MA  02111-1307, USA.
34  *
35  * Revisions   :
36  *    $Log: w32res.h,v $
37  *    Revision 1.13.2.1  2002/08/21 17:59:06  oes
38  *     - "Show Privoxy Window" now a toggle
39  *     - Temp kludge to let user and default action file be edited through win32 GUI (FR 592080)
40  *
41  *    Revision 1.13  2002/03/26 22:57:10  jongfoster
42  *    Web server name should begin www.
43  *
44  *    Revision 1.12  2002/03/24 12:07:36  jongfoster
45  *    Consistern name for filters file
46  *
47  *    Revision 1.11  2002/03/24 12:03:47  jongfoster
48  *    Name change
49  *
50  *    Revision 1.10  2001/07/30 22:08:36  jongfoster
51  *    Tidying up #defines:
52  *    - All feature #defines are now of the form FEATURE_xxx
53  *    - Permanently turned off WIN_GUI_EDIT
54  *    - Permanently turned on WEBDAV and SPLIT_PROXY_ARGS
55  *
56  *    Revision 1.9  2001/07/29 18:43:08  jongfoster
57  *    Changing #ifdef _FILENAME_H to FILENAME_H_INCLUDED, to conform to
58  *    ANSI C rules.
59  *
60  *    Revision 1.8  2001/07/13 14:04:59  oes
61  *    Removed all #ifdef PCRS
62  *
63  *    Revision 1.7  2001/06/07 23:08:12  jongfoster
64  *    Forward and ACL edit options removed.
65  *
66  *    Revision 1.6  2001/05/31 21:37:11  jongfoster
67  *    GUI changes to rename "permissions file" to "actions file".
68  *
69  *    Revision 1.5  2001/05/29 09:50:24  jongfoster
70  *    Unified blocklist/imagelist/permissionslist.
71  *    File format is still under discussion, but the internal changes
72  *    are (mostly) done.
73  *
74  *    Also modified interceptor behaviour:
75  *    - We now intercept all URLs beginning with one of the following
76  *      prefixes (and *only* these prefixes):
77  *        * http://i.j.b/
78  *        * http://ijbswa.sf.net/config/
79  *        * http://ijbswa.sourceforge.net/config/
80  *    - New interceptors "home page" - go to http://i.j.b/ to see it.
81  *    - Internal changes so that intercepted and fast redirect pages
82  *      are not replaced with an image.
83  *    - Interceptors now have the option to send a binary page direct
84  *      to the client. (i.e. ijb-send-banner uses this)
85  *    - Implemented show-url-info interceptor.  (Which is why I needed
86  *      the above interceptors changes - a typical URL is
87  *      "http://i.j.b/show-url-info?url=www.somesite.com/banner.gif".
88  *      The previous mechanism would not have intercepted that, and
89  *      if it had been intercepted then it then it would have replaced
90  *      it with an image.)
91  *
92  *    Revision 1.4  2001/05/26 01:26:34  jongfoster
93  *    New #define, WIN_GUI_EDIT, enables the (embryonic) Win32 GUI editor.
94  *    This #define cannot be set from ./configure - there's no point, it
95  *    doesn't work yet.  See feature request # 425722
96  *
97  *    Revision 1.3  2001/05/26 00:28:36  jongfoster
98  *    Automatic reloading of config file.
99  *    Removed obsolete SIGHUP support (Unix) and Reload menu option (Win32).
100  *    Most of the global variables have been moved to a new
101  *    struct configuration_spec, accessed through csp->config->globalname
102  *    Most of the globals remaining are used by the Win32 GUI.
103  *
104  *    Revision 1.2  2001/05/20 01:21:20  jongfoster
105  *    Version 2.9.4 checkin.
106  *    - Merged popupfile and cookiefile, and added control over PCRS
107  *      filtering, in new "permissionsfile".
108  *    - Implemented LOG_LEVEL_FATAL, so that if there is a configuration
109  *      file error you now get a message box (in the Win32 GUI) rather
110  *      than the program exiting with no explanation.
111  *    - Made killpopup use the PCRS MIME-type checking and HTTP-header
112  *      skipping.
113  *    - Removed tabs from "config"
114  *    - Moved duplicated url parsing code in "loaders.c" to a new funcition.
115  *    - Bumped up version number.
116  *
117  *    Revision 1.1.1.1  2001/05/15 13:59:08  oes
118  *    Initial import of version 2.9.3 source tree
119  *
120  *
121  *********************************************************************/
122
123 #define IDR_TRAYMENU                      101
124 #define IDI_IDLE                          102
125 #define IDR_LOGVIEW                       103
126 #define IDR_ACCELERATOR                   104
127 #define IDR_POPUP_SELECTION               105
128
129
130 #define IDI_MAINICON                      200
131 #define IDI_ANIMATED1                     201
132 #define IDI_ANIMATED2                     202
133 #define IDI_ANIMATED3                     203
134 #define IDI_ANIMATED4                     204
135 #define IDI_ANIMATED5                     205
136 #define IDI_ANIMATED6                     206
137 #define IDI_ANIMATED7                     207
138 #define IDI_ANIMATED8                     208
139
140 #define ID_TOGGLE_SHOWWINDOW              4000
141 #define ID_HELP_ABOUT                     4001
142 #define ID_FILE_EXIT                      4002
143 #define ID_VIEW_CLEARLOG                  4003
144 #define ID_VIEW_LOGMESSAGES               4004
145 #define ID_VIEW_MESSAGEHIGHLIGHTING       4005
146 #define ID_VIEW_LIMITBUFFERSIZE           4006
147 #define ID_VIEW_ACTIVITYANIMATION         4007
148 #define ID_HELP_FAQ                       4008
149 #define ID_HELP_MANUAL                    4009
150 #define ID_HELP_GPL                       4010
151 #define ID_HELP_STATUS                    4011
152 #ifdef FEATURE_TOGGLE
153 #define ID_TOGGLE_ENABLED                 4012
154 #endif /* def FEATURE_TOGGLE */
155
156 /* Break these out so they are easier to extend, but keep consecutive */
157 #define ID_TOOLS_EDITCONFIG               5000
158 #define ID_TOOLS_EDITDEFAULTACTIONS       5001
159 #define ID_TOOLS_EDITUSERACTIONS          5002
160 #define ID_TOOLS_EDITFILTERS              5003
161
162 #ifdef FEATURE_TRUST
163 #define ID_TOOLS_EDITTRUST                5004
164 #endif /* def FEATURE_TRUST */
165
166 /*
167  * The following symbols are declared in <afxres.h> in VC++.
168  * However, mingw32 doesn't have that header.  Let's 
169  * always declare them here, for consistency.
170  * These are the VC++ values.
171  */
172 #define IDC_STATIC      (-1)
173 #define ID_EDIT_COPY  30000
174
175
176 #endif /* ndef W32RES_H_INCLUDED */
177
178 /*
179   Local Variables:
180   tab-width: 3
181   end:
182 */