- *\r
- *\r
- *********************************************************************/\r
-\r
-#include <windows.h>\r
-#include "config.h"\r
-#include "w32res.h"\r
-\r
-#ifdef __MINGW32__\r
-#include "cygwin.h"\r
-#endif\r
-\r
-/****************************************************************************\r
- * Language-neutral resources\r
- ****************************************************************************/\r
-\r
-#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_NEU)\r
-#ifdef _WIN32\r
-/* LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL */\r
-#pragma code_page(1252)\r
-#endif /* _WIN32 */\r
-\r
-/*\r
- * Icons\r
- *\r
- * Icon with lowest ID value placed first to ensure application icon\r
- * remains consistent on all systems.\r
- */\r
-IDI_JUNKBUSTER ICON DISCARDABLE "icons/junkbust.ico"\r
-IDI_JUNKBUSTER1 ICON DISCARDABLE "icons/ico00001.ico"\r
-IDI_JUNKBUSTER2 ICON DISCARDABLE "icons/ico00002.ico"\r
-IDI_JUNKBUSTER3 ICON DISCARDABLE "icons/ico00003.ico"\r
-IDI_JUNKBUSTER4 ICON DISCARDABLE "icons/ico00004.ico"\r
-IDI_JUNKBUSTER5 ICON DISCARDABLE "icons/ico00005.ico"\r
-IDI_JUNKBUSTER6 ICON DISCARDABLE "icons/ico00006.ico"\r
-IDI_JUNKBUSTER7 ICON DISCARDABLE "icons/ico00007.ico"\r
-IDI_JUNKBUSTER8 ICON DISCARDABLE "icons/ico00008.ico"\r
-IDI_IDLE ICON DISCARDABLE "icons/idle.ico"\r
-\r
-#endif /* Neutral resources */\r
-\r
-\r
-/****************************************************************************\r
- * English (U.S.) resources\r
- ****************************************************************************/\r
-\r
-#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r
-#ifdef _WIN32\r
-/* LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US */\r
-#pragma code_page(1252)\r
-#endif //_WIN32\r
-\r
-/*\r
- * Menus\r
- */\r
-\r
-IDR_TRAYMENU MENU DISCARDABLE\r
-BEGIN\r
- POPUP "Popup"\r
- BEGIN\r
- MENUITEM "E&xit JunkBuster", ID_FILE_EXIT\r
- MENUITEM SEPARATOR\r
- POPUP "&Options"\r
- BEGIN\r
- MENUITEM "&Junkbuster...", ID_TOOLS_EDITJUNKBUSTER\r
- MENUITEM SEPARATOR\r
- MENUITEM "&Blockers...", ID_TOOLS_EDITBLOCKERS\r
- MENUITEM "&Permissions...", ID_TOOLS_EDITPERMISSIONS\r
- MENUITEM "&Forward...", ID_TOOLS_EDITFORWARD\r
-#ifdef ACL_FILES\r
- MENUITEM "&Access Control Lists...", ID_TOOLS_EDITACLS\r
-#endif /* def ACL_FILES */\r
-#ifdef USE_IMAGE_LIST\r
- MENUITEM "&Images...", ID_TOOLS_EDITIMAGE\r
-#endif /* def USE_IMAGE_LIST */\r
-#ifdef PCRS\r
- MENUITEM "Perl &Regexps...", ID_TOOLS_EDITPERLRE\r
-#endif /* def PCRS */\r
-#ifdef TRUST_FILES\r
- MENUITEM "&Trust...", ID_TOOLS_EDITTRUST\r
-#endif /* def TRUST_FILES */\r
- END\r
- MENUITEM SEPARATOR\r
-#ifdef TOGGLE\r
- MENUITEM "&Enable", ID_TOGGLE_IJB, CHECKED\r
-#endif\r
- MENUITEM "&Reload config", ID_RELOAD_CONFIG\r
- MENUITEM "Show &JunkBuster Window", ID_SHOWWINDOW\r
- END\r
-END\r
-\r
-IDR_LOGVIEW MENU DISCARDABLE\r
-BEGIN\r
- POPUP "&File"\r
- BEGIN\r
- MENUITEM "E&xit", ID_FILE_EXIT\r
- END\r
- POPUP "&Edit"\r
- BEGIN\r
- MENUITEM "Copy", ID_EDIT_COPY\r
- END\r
- POPUP "&View"\r
- BEGIN\r
- MENUITEM "&Clear Log", ID_VIEW_CLEARLOG\r
- MENUITEM SEPARATOR\r
- MENUITEM "&Log Messages", ID_VIEW_LOGMESSAGES, CHECKED\r
- MENUITEM "Message &Highlighting", ID_VIEW_MESSAGEHIGHLIGHTING, CHECKED\r
- MENUITEM "Limit &Buffer Size", ID_VIEW_LIMITBUFFERSIZE, CHECKED\r
- MENUITEM "&Activity Animation", ID_VIEW_ACTIVITYANIMATION, CHECKED\r
- END\r
- POPUP "&Options"\r
- BEGIN\r
-#ifdef TOGGLE\r
- MENUITEM "&Enable", ID_TOGGLE_IJB, CHECKED\r
- MENUITEM "&Reload config", ID_RELOAD_CONFIG\r
- MENUITEM SEPARATOR\r
-#endif\r
- MENUITEM "&Junkbuster...", ID_TOOLS_EDITJUNKBUSTER\r
- MENUITEM SEPARATOR\r
- MENUITEM "&Blockers...", ID_TOOLS_EDITBLOCKERS\r
- MENUITEM "&Permissions...", ID_TOOLS_EDITPERMISSIONS\r
- MENUITEM "&Forward...", ID_TOOLS_EDITFORWARD\r
-#ifdef ACL_FILES\r
- MENUITEM "&Access Control Lists...",ID_TOOLS_EDITACLS\r
-#endif /* def ACL_FILES */\r
-#ifdef USE_IMAGE_LIST\r
- MENUITEM "&Images...", ID_TOOLS_EDITIMAGE\r
-#endif /* def USE_IMAGE_LIST */\r
-#ifdef PCRS\r
- MENUITEM "Perl &Regexps...", ID_TOOLS_EDITPERLRE\r
-#endif /* def PCRS */\r
-#ifdef TRUST_FILES\r
- MENUITEM "&Trust...", ID_TOOLS_EDITTRUST\r
-#endif /* def TRUST_FILES */\r
- END\r
- POPUP "&Help"\r
- BEGIN\r
- MENUITEM "Junkbuster &FAQ", ID_HELP_FAQ\r
- MENUITEM "Junkbuster &Manual", ID_HELP_MANUAL\r
- MENUITEM "GNU &General Public Licence", ID_HELP_GPL\r
- MENUITEM SEPARATOR\r
- MENUITEM "Junkbuster Status...", ID_HELP_STATUS\r
- MENUITEM SEPARATOR\r
- MENUITEM "About Junkbuster...", ID_HELP_ABOUTJUNKBUSTER\r
- END\r
-END\r
-\r
-IDR_POPUP_SELECTION MENU DISCARDABLE\r
-BEGIN\r
- POPUP "Popup"\r
- BEGIN\r
- MENUITEM "&Copy", ID_EDIT_COPY\r
- END\r
-END\r
-\r
-\r
-/*\r
- * Accelerators\r
- */\r
-\r
-IDR_ACCELERATOR ACCELERATORS DISCARDABLE\r
-BEGIN\r
- "C", ID_EDIT_COPY, VIRTKEY, CONTROL, NOINVERT\r
-END\r
-\r
-/*\r
- * Icons\r
- *\r
- * Icon with lowest ID value placed first to ensure application icon\r
- * remains consistent on all systems.\r
- */\r
-IDI_DENYRULE ICON DISCARDABLE "icons/denyrule.ico"\r
-IDI_ALLOWRULE ICON DISCARDABLE "icons/icon1.ico"\r
-\r
-/*\r
- * Dialog\r
- */\r
-\r
-IDD_RULES DIALOG DISCARDABLE 0, 0, 239, 225\r
-STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU\r
-CAPTION "Blockers"\r
-FONT 8, "MS Sans Serif"\r
-BEGIN\r
- GROUPBOX "New Rule",IDC_STATIC,5,5,230,55\r
- LTEXT "For:",IDC_STATIC,10,15,13,8\r
- EDITTEXT IDC_NEW,10,25,220,12,ES_AUTOHSCROLL\r
- COMBOBOX IDC_ACTION,10,40,75,37,CBS_DROPDOWNLIST | CBS_SORT |\r
- WS_VSCROLL | WS_TABSTOP\r
- PUSHBUTTON "C&reate!",IDC_CREATE,90,40,50,14\r
- GROUPBOX "Rules",IDC_STATIC,5,65,230,135\r
- CONTROL "List1",IDC_RULES,"SysListView32",LVS_REPORT |\r
- LVS_SHOWSELALWAYS | LVS_EDITLABELS | WS_BORDER |\r
- WS_TABSTOP,10,75,220,100\r
- PUSHBUTTON "Move &Up",IDC_MOVEUP,10,180,50,14,WS_DISABLED\r
- PUSHBUTTON "Move &Down",IDC_MOVEDOWN,65,180,50,14,WS_DISABLED\r
- PUSHBUTTON "&Delete",IDC_DELETE,120,180,50,14,WS_DISABLED\r
- PUSHBUTTON "&Save",IDC_SAVE,130,205,50,14\r
- PUSHBUTTON "&Cancel",IDCANCEL,185,205,50,14\r
-END\r
-\r
-\r
-/*\r
- * DESIGNINFO\r
- */\r
-\r
-#ifdef APSTUDIO_INVOKED\r
-GUIDELINES DESIGNINFO DISCARDABLE\r
-BEGIN\r
- IDD_RULES, DIALOG\r
- BEGIN\r
- LEFTMARGIN, 7\r
- RIGHTMARGIN, 232\r
- TOPMARGIN, 7\r
- BOTTOMMARGIN, 218\r
- END\r
-END\r
-#endif // APSTUDIO_INVOKED\r
-\r
-\r
-/*\r
- * String Table\r
- */\r
-\r
-STRINGTABLE DISCARDABLE\r
-BEGIN\r
- IDS_NEW_BLOCKER "Create rule for ""%s""..."\r
-END\r
-\r
-#endif /* English (U.S.) resources */\r
+ *
+ *
+ *********************************************************************/
+
+#include <windows.h>
+#include "config.h"
+#include "w32res.h"
+
+#ifdef __MINGW32__
+#include "cygwin.h"
+#endif
+
+/****************************************************************************
+ * Language-neutral resources
+ ****************************************************************************/
+
+#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_NEU)
+#ifdef _WIN32
+/* LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL */
+#pragma code_page(1252)
+#endif /* _WIN32 */
+
+/*
+ * Icons
+ *
+ * Icon with lowest ID value placed first to ensure application icon
+ * remains consistent on all systems.
+ */
+IDI_JUNKBUSTER ICON DISCARDABLE "icons/junkbust.ico"
+IDI_JUNKBUSTER1 ICON DISCARDABLE "icons/ico00001.ico"
+IDI_JUNKBUSTER2 ICON DISCARDABLE "icons/ico00002.ico"
+IDI_JUNKBUSTER3 ICON DISCARDABLE "icons/ico00003.ico"
+IDI_JUNKBUSTER4 ICON DISCARDABLE "icons/ico00004.ico"
+IDI_JUNKBUSTER5 ICON DISCARDABLE "icons/ico00005.ico"
+IDI_JUNKBUSTER6 ICON DISCARDABLE "icons/ico00006.ico"
+IDI_JUNKBUSTER7 ICON DISCARDABLE "icons/ico00007.ico"
+IDI_JUNKBUSTER8 ICON DISCARDABLE "icons/ico00008.ico"
+IDI_IDLE ICON DISCARDABLE "icons/idle.ico"
+
+#endif /* Neutral resources */
+
+
+/****************************************************************************
+ * English (U.S.) resources
+ ****************************************************************************/
+
+#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
+#ifdef _WIN32
+/* LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US */
+#pragma code_page(1252)
+#endif /* def _WIN32 */
+
+/*
+ * File Version
+ */
+#ifndef _MAC
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_POINT,0
+ PRODUCTVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_POINT,0
+ FILEFLAGSMASK 0x3fL
+#ifdef _DEBUG
+ FILEFLAGS 0x1L
+#else
+ FILEFLAGS 0x0L
+#endif
+ FILEOS 0x40004L
+ FILETYPE 0x1L
+ FILESUBTYPE 0x0L
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904b0"
+ BEGIN
+ VALUE "CompanyName", "The ijbswa team - ijbswa.sourceforge.net\0"
+ VALUE "FileDescription", "JunkBuster\0"
+ VALUE "FileVersion", VERSION "\0"
+ VALUE "InternalName", "JunkBuster\0"
+ VALUE "LegalCopyright", "Distributed under the GNU GPL\0"
+ VALUE "OriginalFilename", "junkbuster.exe\0"
+ VALUE "ProductName", "JunkBuster\0"
+ VALUE "ProductVersion", VERSION "\0"
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x409, 1200
+ END
+END
+
+#endif /* ndef _MAC */
+
+
+/*
+ * Menus
+ */
+
+IDR_TRAYMENU MENU DISCARDABLE
+BEGIN
+ POPUP "Popup"
+ BEGIN
+ MENUITEM "E&xit JunkBuster", ID_FILE_EXIT
+ MENUITEM SEPARATOR
+ POPUP "&Options"
+ BEGIN
+ MENUITEM "&Configuration...", ID_TOOLS_EDITJUNKBUSTER
+ MENUITEM SEPARATOR
+ MENUITEM "&Actions...", ID_TOOLS_EDITACTIONS
+ MENUITEM "Perl &Regexps...", ID_TOOLS_EDITPERLRE
+#ifdef TRUST_FILES
+ MENUITEM "&Trust...", ID_TOOLS_EDITTRUST
+#endif /* def TRUST_FILES */
+ END
+ MENUITEM SEPARATOR
+#ifdef TOGGLE
+ MENUITEM "&Enable", ID_TOGGLE_IJB, CHECKED
+#endif
+ MENUITEM "Show &JunkBuster Window", ID_SHOWWINDOW
+ END
+END
+
+IDR_LOGVIEW MENU DISCARDABLE
+BEGIN
+ POPUP "&File"
+ BEGIN
+ MENUITEM "E&xit", ID_FILE_EXIT
+ END
+ POPUP "&Edit"
+ BEGIN
+ MENUITEM "Copy", ID_EDIT_COPY
+ END
+ POPUP "&View"
+ BEGIN
+ MENUITEM "&Clear Log", ID_VIEW_CLEARLOG
+ MENUITEM SEPARATOR
+ MENUITEM "&Log Messages", ID_VIEW_LOGMESSAGES, CHECKED
+ MENUITEM "Message &Highlighting", ID_VIEW_MESSAGEHIGHLIGHTING, CHECKED
+ MENUITEM "Limit &Buffer Size", ID_VIEW_LIMITBUFFERSIZE, CHECKED
+ MENUITEM "&Activity Animation", ID_VIEW_ACTIVITYANIMATION, CHECKED
+ END
+ POPUP "&Options"
+ BEGIN
+#ifdef TOGGLE
+ MENUITEM "&Enable", ID_TOGGLE_IJB, CHECKED
+ MENUITEM SEPARATOR
+#endif
+ MENUITEM "&Configuration...", ID_TOOLS_EDITJUNKBUSTER
+ MENUITEM SEPARATOR
+ MENUITEM "&Actions...", ID_TOOLS_EDITACTIONS
+ MENUITEM "Perl &Regexps...", ID_TOOLS_EDITPERLRE
+#ifdef TRUST_FILES
+ MENUITEM "&Trust...", ID_TOOLS_EDITTRUST
+#endif /* def TRUST_FILES */
+ END
+ POPUP "&Help"
+ BEGIN
+ MENUITEM "Junkbuster &FAQ", ID_HELP_FAQ
+ MENUITEM "Junkbuster &Manual", ID_HELP_MANUAL
+ MENUITEM "GNU &General Public Licence", ID_HELP_GPL
+ MENUITEM SEPARATOR
+ MENUITEM "Junkbuster Status...", ID_HELP_STATUS
+ MENUITEM SEPARATOR
+ MENUITEM "About Junkbuster...", ID_HELP_ABOUTJUNKBUSTER
+ END
+END
+
+IDR_POPUP_SELECTION MENU DISCARDABLE
+BEGIN
+ POPUP "Popup"
+ BEGIN
+ MENUITEM "&Copy", ID_EDIT_COPY
+ END
+END
+
+
+/*
+ * Accelerators
+ */
+
+IDR_ACCELERATOR ACCELERATORS DISCARDABLE
+BEGIN
+ "C", ID_EDIT_COPY, VIRTKEY, CONTROL, NOINVERT
+END
+
+#ifdef WIN_GUI_EDIT
+
+/*
+ * Icons
+ *
+ * Icon with lowest ID value placed first to ensure application icon
+ * remains consistent on all systems.
+ */
+IDI_DENYRULE ICON DISCARDABLE "icons/denyrule.ico"
+IDI_ALLOWRULE ICON DISCARDABLE "icons/icon1.ico"
+
+/*
+ * Dialog
+ */
+
+IDD_RULES DIALOG DISCARDABLE 0, 0, 239, 225
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Blockers"
+FONT 8, "MS Sans Serif"
+BEGIN
+ GROUPBOX "New Rule",IDC_STATIC,5,5,230,55
+ LTEXT "For:",IDC_STATIC,10,15,13,8
+ EDITTEXT IDC_NEW,10,25,220,12,ES_AUTOHSCROLL
+ COMBOBOX IDC_ACTION,10,40,75,37,CBS_DROPDOWNLIST | CBS_SORT |
+ WS_VSCROLL | WS_TABSTOP
+ PUSHBUTTON "C&reate!",IDC_CREATE,90,40,50,14
+ GROUPBOX "Rules",IDC_STATIC,5,65,230,135
+ CONTROL "List1",IDC_RULES,"SysListView32",LVS_REPORT |
+ LVS_SHOWSELALWAYS | LVS_EDITLABELS | WS_BORDER |
+ WS_TABSTOP,10,75,220,100
+ PUSHBUTTON "Move &Up",IDC_MOVEUP,10,180,50,14,WS_DISABLED
+ PUSHBUTTON "Move &Down",IDC_MOVEDOWN,65,180,50,14,WS_DISABLED
+ PUSHBUTTON "&Delete",IDC_DELETE,120,180,50,14,WS_DISABLED
+ PUSHBUTTON "&Save",IDC_SAVE,130,205,50,14
+ PUSHBUTTON "&Cancel",IDCANCEL,185,205,50,14
+END
+
+
+/*
+ * DESIGNINFO
+ */
+
+#ifdef APSTUDIO_INVOKED
+GUIDELINES DESIGNINFO DISCARDABLE
+BEGIN
+ IDD_RULES, DIALOG
+ BEGIN
+ LEFTMARGIN, 7
+ RIGHTMARGIN, 232
+ TOPMARGIN, 7
+ BOTTOMMARGIN, 218
+ END
+END
+#endif /* def APSTUDIO_INVOKED */
+
+
+/*
+ * String Table
+ */
+
+STRINGTABLE DISCARDABLE
+BEGIN
+ IDS_NEW_BLOCKER "Create rule for ""%s""..."
+END
+
+
+#endif /* def WIN_GUI_EDIT */
+
+#endif /* English (U.S.) resources */