Unified blocklist/imagelist/permissionslist.
[privoxy.git] / w32res.h
1 #ifndef _W32RES_H
2 #define _W32RES_H
3 #define W32RES_H_VERSION "$Id: w32res.h,v 1.4 2001/05/26 01:26:34 jongfoster Exp $"
4 /*********************************************************************
5  *
6  * File        :  $Source: /cvsroot/ijbswa/current/w32res.h,v $
7  *
8  * Purpose     :  Identifiers for Windows GUI resources.
9  *
10  * Copyright   :  Written by and Copyright (C) 2001 the SourceForge
11  *                IJBSWA team.  http://ijbswa.sourceforge.net
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.4  2001/05/26 01:26:34  jongfoster
38  *    New #define, WIN_GUI_EDIT, enables the (embryonic) Win32 GUI editor.
39  *    This #define cannot be set from ./configure - there's no point, it
40  *    doesn't work yet.  See feature request # 425722
41  *
42  *    Revision 1.3  2001/05/26 00:28:36  jongfoster
43  *    Automatic reloading of config file.
44  *    Removed obsolete SIGHUP support (Unix) and Reload menu option (Win32).
45  *    Most of the global variables have been moved to a new
46  *    struct configuration_spec, accessed through csp->config->globalname
47  *    Most of the globals remaining are used by the Win32 GUI.
48  *
49  *    Revision 1.2  2001/05/20 01:21:20  jongfoster
50  *    Version 2.9.4 checkin.
51  *    - Merged popupfile and cookiefile, and added control over PCRS
52  *      filtering, in new "permissionsfile".
53  *    - Implemented LOG_LEVEL_FATAL, so that if there is a configuration
54  *      file error you now get a message box (in the Win32 GUI) rather
55  *      than the program exiting with no explanation.
56  *    - Made killpopup use the PCRS MIME-type checking and HTTP-header
57  *      skipping.
58  *    - Removed tabs from "config"
59  *    - Moved duplicated url parsing code in "loaders.c" to a new funcition.
60  *    - Bumped up version number.
61  *
62  *    Revision 1.1.1.1  2001/05/15 13:59:08  oes
63  *    Initial import of version 2.9.3 source tree
64  *
65  *
66  *********************************************************************/
67
68 #ifdef WIN_GUI_EDIT
69 #define IDS_NEW_BLOCKER                   1
70
71 #define ID_NEW_BLOCKER                    100
72 #endif /* def WIN_GUI_EDIT */
73
74 #define IDR_TRAYMENU                      101
75 #define IDI_IDLE                          102
76 #define IDR_LOGVIEW                       103
77 #define IDR_ACCELERATOR                   104
78 #define IDR_POPUP_SELECTION               105
79
80 #ifdef WIN_GUI_EDIT
81 #define IDD_RULES                         106
82 #endif /* def WIN_GUI_EDIT */
83
84
85 #define IDI_JUNKBUSTER                    200
86 #define IDI_JUNKBUSTER1                   201
87 #define IDI_JUNKBUSTER2                   202
88 #define IDI_JUNKBUSTER3                   203
89 #define IDI_JUNKBUSTER4                   204
90 #define IDI_JUNKBUSTER5                   205
91 #define IDI_JUNKBUSTER6                   206
92 #define IDI_JUNKBUSTER7                   207
93 #define IDI_JUNKBUSTER8                   208
94
95 #ifdef WIN_GUI_EDIT
96 #define IDI_DENYRULE                      209
97 #define IDI_ALLOWRULE                     210
98
99 #define IDC_NEW                           300
100 #define IDC_ACTION                        301
101 #define IDC_RULES                         302
102 #define IDC_CREATE                        303
103 #define IDC_MOVEUP                        304
104 #define IDC_MOVEDOWN                      305
105 #define IDC_DELETE                        306
106 #define IDC_SAVE                          307
107 #endif /* def WIN_GUI_EDIT */
108
109 #define ID_SHOWWINDOW                     4000
110 #define ID_HELP_ABOUTJUNKBUSTER           4001
111 #define ID_FILE_EXIT                      4002
112 #define ID_VIEW_CLEARLOG                  4003
113 #define ID_VIEW_LOGMESSAGES               4004
114 #define ID_VIEW_MESSAGEHIGHLIGHTING       4005
115 #define ID_VIEW_LIMITBUFFERSIZE           4006
116 #define ID_VIEW_ACTIVITYANIMATION         4007
117 #define ID_HELP_FAQ                       4008
118 #define ID_HELP_MANUAL                    4009
119 #define ID_HELP_GPL                       4010
120 #define ID_HELP_STATUS                    4011
121 #ifdef TOGGLE
122 #define ID_TOGGLE_IJB                     4012
123 #endif
124
125 /* Break these out so they are easier to extend, but keep consecutive */
126 #define ID_TOOLS_EDITJUNKBUSTER           5000
127 #define ID_TOOLS_EDITPERMISSIONS          5001
128 #define ID_TOOLS_EDITFORWARD              5002
129
130 #ifdef ACL_FILES
131 #define ID_TOOLS_EDITACLS                 5003
132 #endif /* def ACL_FILES */
133
134 #ifdef PCRS
135 #define ID_TOOLS_EDITPERLRE               5004
136 #endif /* def PCRS */
137
138 #ifdef TRUST_FILES
139 #define ID_TOOLS_EDITTRUST                5005
140 #endif /* def TRUST_FILES */
141
142 /*
143  * The following symbols are declared in <afxres.h> in VC++.
144  * However, mingw32 doesn't have that header.  Let's 
145  * always declare them here, for consistency.
146  * These are the VC++ values.
147  */
148 #define IDC_STATIC      (-1)
149 #define ID_EDIT_COPY  30000
150
151
152 #endif /* ndef _W32RES_H */
153
154 /*
155   Local Variables:
156   tab-width: 3
157   end:
158 */