~ubuntu-branches/ubuntu/natty/clamav/natty-updates

« back to all changes in this revision

Viewing changes to contrib/Windows/clamav.rc

  • Committer: Bazaar Package Importer
  • Author(s): Stephen Gran
  • Date: 2004-06-21 22:26:45 UTC
  • Revision ID: james.westby@ubuntu.com-20040621222645-jvaxzuttrjz6kh8t
Tags: upstream-0.73
ImportĀ upstreamĀ versionĀ 0.73

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//Microsoft Visual C++ generated resource script.
 
2
//
 
3
#include "resource.h"
 
4
 
 
5
/*
 
6
 *  Copyright (C) 2004 Nigel Horne <njh@bandsman.co.uk>
 
7
 *
 
8
 *  This program is free software; you can redistribute it and/or modify
 
9
 *  it under the terms of the GNU General Public License as published by
 
10
 *  the Free Software Foundation; either version 2 of the License, or
 
11
 *  (at your option) any later version.
 
12
 *
 
13
 *  This program is distributed in the hope that it will be useful,
 
14
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
16
 *  GNU General Public License for more details.
 
17
 *
 
18
 *  You should have received a copy of the GNU General Public License
 
19
 *  along with this program; if not, write to the Free Software
 
20
 *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
21
 */
 
22
#define APSTUDIO_READONLY_SYMBOLS
 
23
/////////////////////////////////////////////////////////////////////////////
 
24
//
 
25
// Generated from the TEXTINCLUDE 2 resource.
 
26
//
 
27
#include "afxres.h"
 
28
 
 
29
/////////////////////////////////////////////////////////////////////////////
 
30
#undef APSTUDIO_READONLY_SYMBOLS
 
31
 
 
32
 
 
33
#ifdef APSTUDIO_INVOKED
 
34
/////////////////////////////////////////////////////////////////////////////
 
35
//
 
36
// TEXTINCLUDE
 
37
//
 
38
 
 
39
1 TEXTINCLUDE DISCARDABLE 
 
40
BEGIN
 
41
    "resource.h\0"
 
42
END
 
43
 
 
44
2 TEXTINCLUDE DISCARDABLE 
 
45
BEGIN
 
46
    "#include ""afxres.h""\r\n"
 
47
    "\0"
 
48
END
 
49
 
 
50
3 TEXTINCLUDE DISCARDABLE 
 
51
BEGIN
 
52
    "#include ""res\\clamav.rc2""  // non-Microsoft Visual C++ edited resources\r\n"
 
53
    "\r\n"
 
54
    "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
 
55
    "#define _AFX_NO_OLE_RESOURCES\r\n"
 
56
    "#define _AFX_NO_TRACKER_RESOURCES\r\n"
 
57
    "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
 
58
    "#include ""afxres.rc""  \011// Standard components\r\n"
 
59
    "#include ""afxprint.rc""\011// printing/print preview resources\r\n"
 
60
    "\0"
 
61
END
 
62
 
 
63
/////////////////////////////////////////////////////////////////////////////
 
64
#endif    // APSTUDIO_INVOKED
 
65
 
 
66
 
 
67
/////////////////////////////////////////////////////////////////////////////
 
68
//
 
69
// Icon
 
70
//
 
71
 
 
72
IDR_MAINFRAME           ICON    DISCARDABLE     "res\\clamav.ico"
 
73
 
 
74
/////////////////////////////////////////////////////////////////////////////
 
75
//
 
76
// Bitmap
 
77
//
 
78
 
 
79
IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "res\\toolbar.bmp"
 
80
 
 
81
/////////////////////////////////////////////////////////////////////////////
 
82
//
 
83
// Menu
 
84
//
 
85
 
 
86
IDR_MAINFRAME MENU PRELOAD DISCARDABLE 
 
87
BEGIN
 
88
    POPUP "&File"
 
89
    BEGIN
 
90
        MENUITEM "&New Server\tCtrl+N",         ID_FILE_NEW
 
91
        MENUITEM "&Scan File...\tCtrl+S",       ID_FILE_OPEN
 
92
        MENUITEM "&Options...\tCtrl+O",         ID_SET_OPTIONS
 
93
        MENUITEM SEPARATOR
 
94
        MENUITEM "E&xit",                       ID_APP_EXIT
 
95
    END
 
96
    POPUP "&Help"
 
97
    BEGIN
 
98
        MENUITEM "&About Clamav...",            ID_APP_ABOUT
 
99
    END
 
100
END
 
101
 
 
102
 
 
103
/////////////////////////////////////////////////////////////////////////////
 
104
//
 
105
// Accelerator
 
106
//
 
107
 
 
108
IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE 
 
109
BEGIN
 
110
    "N",            ID_FILE_NEW,            VIRTKEY, CONTROL
 
111
    "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL
 
112
    "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL
 
113
    "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL
 
114
    "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL
 
115
    "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL
 
116
    "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL
 
117
    "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL
 
118
    VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT
 
119
    VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT
 
120
    VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL
 
121
    VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT
 
122
    VK_F6,          ID_NEXT_PANE,           VIRTKEY 
 
123
    VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
 
124
    VK_F1,          ID_CONTEXT_HELP,        VIRTKEY, SHIFT
 
125
    VK_F1,          ID_HELP,                VIRTKEY 
 
126
END
 
127
 
 
128
 
 
129
/////////////////////////////////////////////////////////////////////////////
 
130
//
 
131
// Dialog
 
132
//
 
133
 
 
134
IDD_ABOUTBOX DIALOG DISCARDABLE  34, 22, 217, 55
 
135
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
 
136
CAPTION "About clamav"
 
137
FONT 8, "MS Sans Serif"
 
138
BEGIN
 
139
    ICON            IDR_MAINFRAME,IDC_STATIC,11,17,18,20
 
140
    LTEXT           "ClamAV Version 0.14",IDC_STATIC,40,10,76,8
 
141
    LTEXT           "Copyright \251 2004 Nigel Horne",IDC_STATIC,40,25,102,8
 
142
    DEFPUSHBUTTON   "OK",IDOK,176,6,32,14,WS_GROUP
 
143
END
 
144
 
 
145
IDD_SERVERNAME DIALOG DISCARDABLE  0, 0, 187, 67
 
146
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
 
147
CAPTION "ClamAV Server"
 
148
FONT 8, "MS Sans Serif"
 
149
BEGIN
 
150
    DEFPUSHBUTTON   "OK",IDOK,131,6,50,14
 
151
    PUSHBUTTON      "Cancel",IDCANCEL,131,23,50,14
 
152
    LTEXT           "Server",IDC_STATIC,6,8,27,11
 
153
    EDITTEXT        IDC_SERVERNAME,46,7,72,14,ES_AUTOHSCROLL
 
154
    LTEXT           "Port",IDC_STATIC,6,33,20,11
 
155
    EDITTEXT        IDC_SERVERPORT,46,32,54,13,ES_AUTOHSCROLL
 
156
END
 
157
 
 
158
IDD_PROGRESS DIALOG DISCARDABLE  0, 0, 287, 81
 
159
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
 
160
CAPTION "Scanning"
 
161
FONT 8, "MS Sans Serif"
 
162
BEGIN
 
163
    DEFPUSHBUTTON   "Stop",IDSTOP,117,56,50,14
 
164
    CONTROL         "Filename",IDC_FileName,"Static",SS_LEFTNOWORDWRAP | 
 
165
                    WS_GROUP,9,7,270,13
 
166
    CTEXT           "0%",IDC_Percent,116,28,52,18
 
167
END
 
168
 
 
169
IDD_OPTIONS DIALOG DISCARDABLE  0, 0, 277, 90
 
170
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
 
171
CAPTION "Options"
 
172
FONT 8, "MS Sans Serif"
 
173
BEGIN
 
174
    DEFPUSHBUTTON   "OK",IDOK,214,42,50,14
 
175
    PUSHBUTTON      "Cancel",IDCANCEL,213,64,50,14
 
176
    CONTROL         "Recursively Scan Folders",IDC_RECURSIVE,"Button",
 
177
                    BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,6,9,93,10
 
178
    LTEXT           "Quarantine Directory",IDC_STATIC,10,33,75,14
 
179
    EDITTEXT        IDC_QUARANTINE,91,29,120,18,ES_AUTOHSCROLL
 
180
END
 
181
 
 
182
 
 
183
/////////////////////////////////////////////////////////////////////////////
 
184
//
 
185
// Version
 
186
//
 
187
 
 
188
VS_VERSION_INFO VERSIONINFO
 
189
 FILEVERSION 1,0,0,1
 
190
 PRODUCTVERSION 1,0,0,1
 
191
 FILEFLAGSMASK 0x3fL
 
192
#ifdef _DEBUG
 
193
 FILEFLAGS 0x1L
 
194
#else
 
195
 FILEFLAGS 0x0L
 
196
#endif
 
197
 FILEOS 0x4L
 
198
 FILETYPE 0x1L
 
199
 FILESUBTYPE 0x0L
 
200
BEGIN
 
201
    BLOCK "StringFileInfo"
 
202
    BEGIN
 
203
        BLOCK "080904b0"
 
204
        BEGIN
 
205
            VALUE "CompanyName", "NJH Music\0"
 
206
            VALUE "FileDescription", "CLAMAV MFC Application\0"
 
207
            VALUE "FileVersion", "1, 0, 0, 1\0"
 
208
            VALUE "InternalName", "CLAMAV\0"
 
209
            VALUE "LegalCopyright", "Copyright \251 2004 Nigel Horne\0"
 
210
            VALUE "OriginalFilename", "CLAMAV.EXE\0"
 
211
            VALUE "ProductName", "CLAMAV Application\0"
 
212
            VALUE "ProductVersion", "1, 0, 0, 1\0"
 
213
        END
 
214
    END
 
215
    BLOCK "VarFileInfo"
 
216
    BEGIN
 
217
        VALUE "Translation", 0x809, 1200
 
218
    END
 
219
END
 
220
 
 
221
 
 
222
 
 
223
/////////////////////////////////////////////////////////////////////////////
 
224
//
 
225
// String Table
 
226
//
 
227
 
 
228
STRINGTABLE PRELOAD DISCARDABLE 
 
229
BEGIN
 
230
    IDR_MAINFRAME           "clamav\n\nClamav\n\n\nClamav.Document\nClamav Document"
 
231
    IDD_OPTIONS             "Set Options\nOptions"
 
232
END
 
233
 
 
234
STRINGTABLE PRELOAD DISCARDABLE 
 
235
BEGIN
 
236
    AFX_IDS_APP_TITLE       "clamav"
 
237
    AFX_IDS_IDLEMESSAGE     "To scan a file/folder drag 'n' drop it onto the program"
 
238
    AFX_IDS_HELPMODEMESSAGE "Select an object on which to get Help"
 
239
END
 
240
 
 
241
STRINGTABLE DISCARDABLE 
 
242
BEGIN
 
243
    ID_INDICATOR_EXT        "EXT"
 
244
    ID_INDICATOR_CAPS       "CAP"
 
245
    ID_INDICATOR_NUM        "NUM"
 
246
    ID_INDICATOR_SCRL       "SCRL"
 
247
    ID_INDICATOR_OVR        "OVR"
 
248
    ID_INDICATOR_REC        "REC"
 
249
END
 
250
 
 
251
STRINGTABLE DISCARDABLE 
 
252
BEGIN
 
253
    ID_FILE_NEW             "Connect to a different server\nNew"
 
254
    ID_FILE_OPEN            "Scan File\nScan"
 
255
    ID_FILE_CLOSE           "Close the active document\nClose"
 
256
    ID_FILE_SAVE            "Save the active document\nSave"
 
257
    ID_FILE_SAVE_AS         "Save the active document with a new name\nSave As"
 
258
    ID_FILE_PAGE_SETUP      "Change the printing options\nPage Setup"
 
259
    ID_FILE_PRINT_SETUP     "Change the printer and printing options\nPrint Setup"
 
260
    ID_FILE_PRINT           "Print the active document\nPrint"
 
261
    ID_FILE_PRINT_PREVIEW   "Display full pages\nPrint Preview"
 
262
END
 
263
 
 
264
STRINGTABLE DISCARDABLE 
 
265
BEGIN
 
266
    ID_APP_ABOUT            "Display program information, version number and copyright\nAbout"
 
267
    ID_APP_EXIT             "Quit the application; prompts to save documents\nExit"
 
268
    ID_HELP_INDEX           "List Help topics\nHelp Index"
 
269
    ID_HELP_USING           "Display instructions about how to use help\nHelp"
 
270
    ID_CONTEXT_HELP         "Display help for clicked on buttons, menus and windows\nHelp"
 
271
    ID_HELP                 "Display help for current task or command\nHelp"
 
272
END
 
273
 
 
274
STRINGTABLE DISCARDABLE 
 
275
BEGIN
 
276
    ID_FILE_MRU_FILE1       "Open this document"
 
277
    ID_FILE_MRU_FILE2       "Open this document"
 
278
    ID_FILE_MRU_FILE3       "Open this document"
 
279
    ID_FILE_MRU_FILE4       "Open this document"
 
280
END
 
281
 
 
282
STRINGTABLE DISCARDABLE 
 
283
BEGIN
 
284
    ID_NEXT_PANE            "Switch to the next window pane\nNext Pane"
 
285
    ID_PREV_PANE            "Switch back to the previous window pane\nPrevious Pane"
 
286
END
 
287
 
 
288
STRINGTABLE DISCARDABLE 
 
289
BEGIN
 
290
    ID_WINDOW_SPLIT         "Split the active window into panes\nSplit"
 
291
END
 
292
 
 
293
STRINGTABLE DISCARDABLE 
 
294
BEGIN
 
295
    ID_EDIT_CLEAR           "Erase the selection\nErase"
 
296
    ID_EDIT_CLEAR_ALL       "Erase everything\nErase All"
 
297
    ID_EDIT_COPY            "Copy the selection and put it on the Clipboard\nCopy"
 
298
    ID_EDIT_CUT             "Cut the selection and put it on the Clipboard\nCut"
 
299
    ID_EDIT_FIND            "Find the specified text\nFind"
 
300
    ID_EDIT_PASTE           "Insert Clipboard contents\nPaste"
 
301
    ID_EDIT_REPEAT          "Repeat the last action\nRepeat"
 
302
    ID_EDIT_REPLACE         "Replace specific text with different text\nReplace"
 
303
    ID_EDIT_SELECT_ALL      "Select the entire document\nSelect All"
 
304
    ID_EDIT_UNDO            "Undo the last action\nUndo"
 
305
    ID_EDIT_REDO            "Redo the previously undone action\nRedo"
 
306
END
 
307
 
 
308
STRINGTABLE DISCARDABLE 
 
309
BEGIN
 
310
    ID_VIEW_TOOLBAR         "Show or hide the toolbar\nToggle ToolBar"
 
311
    ID_VIEW_STATUS_BAR      "Show or hide the status bar\nToggle StatusBar"
 
312
END
 
313
 
 
314
STRINGTABLE DISCARDABLE 
 
315
BEGIN
 
316
    AFX_IDS_SCSIZE          "Change the window size"
 
317
    AFX_IDS_SCMOVE          "Change the window position"
 
318
    AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
 
319
    AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
 
320
    AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
 
321
    AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
 
322
    AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
 
323
END
 
324
 
 
325
STRINGTABLE DISCARDABLE 
 
326
BEGIN
 
327
    AFX_IDS_SCRESTORE       "Restore the window to normal size"
 
328
    AFX_IDS_SCTASKLIST      "Activate Task List"
 
329
END
 
330
 
 
331
STRINGTABLE DISCARDABLE 
 
332
BEGIN
 
333
    AFX_IDS_PREVIEW_CLOSE   "Close print preview mode\nCancel Preview"
 
334
END
 
335
 
 
336
 
 
337
#ifndef APSTUDIO_INVOKED
 
338
/////////////////////////////////////////////////////////////////////////////
 
339
//
 
340
// Generated from the TEXTINCLUDE 3 resource.
 
341
//
 
342
#include "res\clamav.rc2"  // non-Microsoft Visual C++ edited resources
 
343
 
 
344
#define _AFX_NO_SPLITTER_RESOURCES
 
345
#define _AFX_NO_OLE_RESOURCES
 
346
#define _AFX_NO_TRACKER_RESOURCES
 
347
#define _AFX_NO_PROPERTY_RESOURCES
 
348
#include "afxres.rc"    // Standard components
 
349
#include "afxprint.rc"  // printing/print preview resources
 
350
 
 
351
/////////////////////////////////////////////////////////////////////////////
 
352
#endif    // not APSTUDIO_INVOKED
 
353