3 #define W32RES_H_VERSION "$Id: w32res.h,v 1.6 2001/05/31 21:37:11 jongfoster Exp $"
4 /*********************************************************************
6 * File : $Source: /cvsroot/ijbswa/current/w32res.h,v $
8 * Purpose : Identifiers for Windows GUI resources.
10 * Copyright : Written by and Copyright (C) 2001 the SourceForge
11 * IJBSWA team. http://ijbswa.sourceforge.net
13 * Based on the Internet Junkbuster originally written
14 * by and Copyright (C) 1997 Anonymous Coders and
15 * Junkbusters Corporation. http://www.junkbusters.com
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.
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.
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.
37 * Revision 1.6 2001/05/31 21:37:11 jongfoster
38 * GUI changes to rename "permissions file" to "actions file".
40 * Revision 1.5 2001/05/29 09:50:24 jongfoster
41 * Unified blocklist/imagelist/permissionslist.
42 * File format is still under discussion, but the internal changes
45 * Also modified interceptor behaviour:
46 * - We now intercept all URLs beginning with one of the following
47 * prefixes (and *only* these prefixes):
49 * * http://ijbswa.sf.net/config/
50 * * http://ijbswa.sourceforge.net/config/
51 * - New interceptors "home page" - go to http://i.j.b/ to see it.
52 * - Internal changes so that intercepted and fast redirect pages
53 * are not replaced with an image.
54 * - Interceptors now have the option to send a binary page direct
55 * to the client. (i.e. ijb-send-banner uses this)
56 * - Implemented show-url-info interceptor. (Which is why I needed
57 * the above interceptors changes - a typical URL is
58 * "http://i.j.b/show-url-info?url=www.somesite.com/banner.gif".
59 * The previous mechanism would not have intercepted that, and
60 * if it had been intercepted then it then it would have replaced
63 * Revision 1.4 2001/05/26 01:26:34 jongfoster
64 * New #define, WIN_GUI_EDIT, enables the (embryonic) Win32 GUI editor.
65 * This #define cannot be set from ./configure - there's no point, it
66 * doesn't work yet. See feature request # 425722
68 * Revision 1.3 2001/05/26 00:28:36 jongfoster
69 * Automatic reloading of config file.
70 * Removed obsolete SIGHUP support (Unix) and Reload menu option (Win32).
71 * Most of the global variables have been moved to a new
72 * struct configuration_spec, accessed through csp->config->globalname
73 * Most of the globals remaining are used by the Win32 GUI.
75 * Revision 1.2 2001/05/20 01:21:20 jongfoster
76 * Version 2.9.4 checkin.
77 * - Merged popupfile and cookiefile, and added control over PCRS
78 * filtering, in new "permissionsfile".
79 * - Implemented LOG_LEVEL_FATAL, so that if there is a configuration
80 * file error you now get a message box (in the Win32 GUI) rather
81 * than the program exiting with no explanation.
82 * - Made killpopup use the PCRS MIME-type checking and HTTP-header
84 * - Removed tabs from "config"
85 * - Moved duplicated url parsing code in "loaders.c" to a new funcition.
86 * - Bumped up version number.
88 * Revision 1.1.1.1 2001/05/15 13:59:08 oes
89 * Initial import of version 2.9.3 source tree
92 *********************************************************************/
95 #define IDS_NEW_BLOCKER 1
97 #define ID_NEW_BLOCKER 100
98 #endif /* def WIN_GUI_EDIT */
100 #define IDR_TRAYMENU 101
102 #define IDR_LOGVIEW 103
103 #define IDR_ACCELERATOR 104
104 #define IDR_POPUP_SELECTION 105
107 #define IDD_RULES 106
108 #endif /* def WIN_GUI_EDIT */
111 #define IDI_JUNKBUSTER 200
112 #define IDI_JUNKBUSTER1 201
113 #define IDI_JUNKBUSTER2 202
114 #define IDI_JUNKBUSTER3 203
115 #define IDI_JUNKBUSTER4 204
116 #define IDI_JUNKBUSTER5 205
117 #define IDI_JUNKBUSTER6 206
118 #define IDI_JUNKBUSTER7 207
119 #define IDI_JUNKBUSTER8 208
122 #define IDI_DENYRULE 209
123 #define IDI_ALLOWRULE 210
126 #define IDC_ACTION 301
127 #define IDC_RULES 302
128 #define IDC_CREATE 303
129 #define IDC_MOVEUP 304
130 #define IDC_MOVEDOWN 305
131 #define IDC_DELETE 306
133 #endif /* def WIN_GUI_EDIT */
135 #define ID_SHOWWINDOW 4000
136 #define ID_HELP_ABOUTJUNKBUSTER 4001
137 #define ID_FILE_EXIT 4002
138 #define ID_VIEW_CLEARLOG 4003
139 #define ID_VIEW_LOGMESSAGES 4004
140 #define ID_VIEW_MESSAGEHIGHLIGHTING 4005
141 #define ID_VIEW_LIMITBUFFERSIZE 4006
142 #define ID_VIEW_ACTIVITYANIMATION 4007
143 #define ID_HELP_FAQ 4008
144 #define ID_HELP_MANUAL 4009
145 #define ID_HELP_GPL 4010
146 #define ID_HELP_STATUS 4011
148 #define ID_TOGGLE_IJB 4012
151 /* Break these out so they are easier to extend, but keep consecutive */
152 #define ID_TOOLS_EDITJUNKBUSTER 5000
153 #define ID_TOOLS_EDITACTIONS 5001
156 #define ID_TOOLS_EDITPERLRE 5002
157 #endif /* def PCRS */
160 #define ID_TOOLS_EDITTRUST 5003
161 #endif /* def TRUST_FILES */
164 * The following symbols are declared in <afxres.h> in VC++.
165 * However, mingw32 doesn't have that header. Let's
166 * always declare them here, for consistency.
167 * These are the VC++ values.
169 #define IDC_STATIC (-1)
170 #define ID_EDIT_COPY 30000
173 #endif /* ndef _W32RES_H */