From e8d6a2e3098bf4ee06b2bcb143dda488994e4e4d Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Mon, 1 Oct 2012 18:33:46 +0000 Subject: PackUpdater: folder structure change git-svn-id: http://svn.miranda-ng.org/main/trunk@1752 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- .../PackUpdater/Docs/packupdater-translation.txt | 69 ++++++++ plugins/PackUpdater/PackUpdater_10.vcxproj | 12 +- plugins/PackUpdater/PackUpdater_10.vcxproj.filters | 24 +-- plugins/PackUpdater/Res/Resource.rc | 196 +++++++++++++++++++++ plugins/PackUpdater/Res/Version.rc | 42 +++++ plugins/PackUpdater/Resource.rc | 196 --------------------- plugins/PackUpdater/Src/Common.h | 4 +- plugins/PackUpdater/Src/Version.h | 20 +++ plugins/PackUpdater/Src/resource.h | 77 ++++++++ plugins/PackUpdater/Version.h | 20 --- plugins/PackUpdater/Version.rc | 42 ----- plugins/PackUpdater/packupdater-translation.txt | 69 -------- plugins/PackUpdater/resource.h | 77 -------- 13 files changed, 424 insertions(+), 424 deletions(-) create mode 100644 plugins/PackUpdater/Docs/packupdater-translation.txt create mode 100644 plugins/PackUpdater/Res/Resource.rc create mode 100644 plugins/PackUpdater/Res/Version.rc delete mode 100644 plugins/PackUpdater/Resource.rc create mode 100644 plugins/PackUpdater/Src/Version.h create mode 100644 plugins/PackUpdater/Src/resource.h delete mode 100644 plugins/PackUpdater/Version.h delete mode 100644 plugins/PackUpdater/Version.rc delete mode 100644 plugins/PackUpdater/packupdater-translation.txt delete mode 100644 plugins/PackUpdater/resource.h (limited to 'plugins/PackUpdater') diff --git a/plugins/PackUpdater/Docs/packupdater-translation.txt b/plugins/PackUpdater/Docs/packupdater-translation.txt new file mode 100644 index 0000000000..5945f1f25b --- /dev/null +++ b/plugins/PackUpdater/Docs/packupdater-translation.txt @@ -0,0 +1,69 @@ +; Common strings that belong to many files +;[Pack Updater] +;[PopUps] + +; ../../plugins/PackUpdater/Resource.rc +;[(but only once a day)] +;[* Needs popup actions to be enabled] +;[-1 = Infinite] +;[0 = Default] +;[Back] +;[Boxes] +;[Cancel] +;[Click action] +;[Colours] +;[Description] +;[Downloading...] +;[Errors] +;[Every] +;[Go to Customize -> Hotkeys to change the hotkey] +;[Hotkey] +;[Info messages] +;[Message boxes] +;[Message boxes (*)] +;[Not sets for \"Message boxes\"] +;[Notifications] +;[On left click] +;[On right click] +;[On startup] +;[Pack update options] +;[PackUpdater has detected updated versions\nof the following Miranda components:] +;[Preview] +;[Progress dialogs] +;[Remind about not installed pack update] +;[Sec] +;[Text] +;[Timeout] +;[Update] +;[Updates found!] +;[Use &Windows colours] +;[Use Pop&up colours] +;[Use cus&tom colors] +;[View info] + +; ../../plugins/PackUpdater/Src/Notifications.cpp +;[An error occured while downloading the update.] +;[Component Name] +;[Current Version] +;[Download complete. Start updating? All your data will be saved and Miranda IM will be closed.] +;[Downloading pack updates...] +;[Downloading update...] +;[Downloads complete. Start updating? All your data will be saved and Miranda IM will be closed.] +;[New Version] +;[You have chosen not to install the pack update immediately.\nYou can install it manually from this location:\n\n%s] + +; ../../plugins/PackUpdater/Src/Options.cpp +;[Events] +;[Test] +;[days] +;[hours] + +; ../../plugins/PackUpdater/Src/Utils.cpp +;[Downloading version info...] +;[Name of Update's file is not supported.] +;[No files for update.] +;[No updates found.] +;[Pack Updater HTTP connection] +;[URL for checking updates not found.] +;[Update checking already started!] +;[Update is not possible!\nYou have no Administrator's rights.\nPlease run Miranda IM with Administrator's rights.] diff --git a/plugins/PackUpdater/PackUpdater_10.vcxproj b/plugins/PackUpdater/PackUpdater_10.vcxproj index 0c6f92f423..0cb99f8f17 100644 --- a/plugins/PackUpdater/PackUpdater_10.vcxproj +++ b/plugins/PackUpdater/PackUpdater_10.vcxproj @@ -169,14 +169,10 @@ - - - - - - + + @@ -193,6 +189,10 @@ + + + + diff --git a/plugins/PackUpdater/PackUpdater_10.vcxproj.filters b/plugins/PackUpdater/PackUpdater_10.vcxproj.filters index 87e02ef233..315c784e80 100644 --- a/plugins/PackUpdater/PackUpdater_10.vcxproj.filters +++ b/plugins/PackUpdater/PackUpdater_10.vcxproj.filters @@ -15,24 +15,16 @@ - - Resource Files - - - Resource Files - - - - + Header Files - + Header Files - + Header Files - + Header Files @@ -67,4 +59,12 @@ Resource Files + + + Resource Files + + + Resource Files + + \ No newline at end of file diff --git a/plugins/PackUpdater/Res/Resource.rc b/plugins/PackUpdater/Res/Resource.rc new file mode 100644 index 0000000000..1d1891055b --- /dev/null +++ b/plugins/PackUpdater/Res/Resource.rc @@ -0,0 +1,196 @@ +// Microsoft Visual C++ generated resource script. +// +#include "..\src\resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#include "afxres.h" + +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// Русский (Россия) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_RUS) +LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT +#pragma code_page(1251) + +///////////////////////////////////////////////////////////////////////////// +// +// Icon +// + +// Icon with lowest ID value placed first to ensure application icon +// remains consistent on all systems. +IDI_MENU ICON "res/menu.ico" +IDI_DELETE ICON "res/delete.ico" +IDI_OK ICON "res/btnOk.ico" +IDI_CANCEL ICON "res/btnClose.ico" + +///////////////////////////////////////////////////////////////////////////// +// +// Dialog +// + +IDD_UPDATE DIALOGEX 0, 0, 241, 203 +STYLE DS_SETFONT | DS_MODALFRAME | DS_SETFOREGROUND | DS_FIXEDSYS | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU +CAPTION "Updates found!" +FONT 8, "MS Shell Dlg", 400, 0, 0x1 +BEGIN + DEFPUSHBUTTON "Update",IDOK,24,187,50,14 + DEFPUSHBUTTON "View info",IDC_INFO,84,187,66,14,WS_DISABLED | NOT WS_TABSTOP + PUSHBUTTON "Cancel",IDCANCEL,160,187,50,14 + CTEXT "PackUpdater has detected updated versions\nof the following Miranda components:",IDC_UPDATETEXT,9,9,217,22 + CONTROL "",IDC_LIST_UPDATES,"SysListView32",LVS_REPORT | LVS_SINGLESEL | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP,9,37,217,105 + GROUPBOX "Description",IDC_DESCR,9,142,217,43 + EDITTEXT IDC_MESSAGE,12,152,212,30,ES_MULTILINE | ES_AUTOVSCROLL | ES_READONLY | NOT WS_BORDER | WS_VSCROLL +END + +IDD_DOWNLOAD DIALOGEX 0, 0, 172, 39 +STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_SYSMENU +FONT 8, "MS Shell Dlg", 400, 0, 0x1 +BEGIN + CONTROL "",IDC_PB,"msctls_progress32",WS_BORDER,7,23,158,9 + CTEXT "Downloading...",IDC_LABEL,7,7,158,12 +END + +IDD_POPUPDUMMI DIALOGEX 65526, 65526, 1, 1 +STYLE DS_ABSALIGN | DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_SYSMENU +FONT 8, "MS Shell Dlg", 400, 0, 0x1 +BEGIN +END + +IDD_OPT_UPDATENOTIFY DIALOGEX 0, 0, 258, 174 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD +EXSTYLE WS_EX_CONTROLPARENT +FONT 8, "MS Shell Dlg", 0, 0, 0x1 +BEGIN + GROUPBOX "Pack update options",IDC_STATIC,2,32,253,63 + CONTROL "On startup",IDC_UPDATEONSTARTUP,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,11,44,52,10 + CONTROL "Remind about not installed pack update",IDC_REMINDER,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,11,72,198,10 + GROUPBOX "Hotkey",IDC_STATIC,2,0,253,26 + CONTROL "Go to Customize -> Hotkeys to change the hotkey",IDC_LINK_HOTKEY,"Hyperlink",WS_TABSTOP,9,11,199,10 + GROUPBOX "Notifications",IDC_NOTIFY2,1,95,253,76 + CONTROL "Message boxes",IDC_MSG_BOXES2,"Button",BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,7,111,79,10 + CONTROL "Errors",IDC_ERRORS2,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,124,57,10 + CONTROL "Info messages",IDC_INFO_MESSAGES2,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,137,80,10 + CONTROL "Progress dialogs",IDC_PROGR_DLG2,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,151,80,10 + CONTROL "Every",IDC_UPDATEONPERIOD,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,11,58,52,10 + EDITTEXT IDC_PERIOD,65,56,28,14,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED + CONTROL "",IDC_PERIODSPIN,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_DISABLED,92,56,10,15 + COMBOBOX IDC_PERIODMEASURE,114,56,58,30,CBS_DROPDOWNLIST | CBS_SORT | WS_DISABLED | WS_VSCROLL | WS_TABSTOP + CONTROL "(but only once a day)",IDC_ONLYONCEADAY,"Button",BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,92,44,161,10 +END + +IDD_POPUP DIALOGEX 0, 0, 316, 182 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD +EXSTYLE WS_EX_CONTROLPARENT +FONT 8, "MS Shell Dlg", 0, 0, 0x1 +BEGIN + GROUPBOX "Notifications",IDC_NOTIFY,1,0,172,79 + CONTROL "Message boxes (*)",IDC_MSG_BOXES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,19,79,10 + CONTROL "Errors",IDC_ERRORS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,32,57,10 + CONTROL "Info messages",IDC_INFO_MESSAGES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,45,80,10 + CONTROL "Progress dialogs",IDC_PROGR_DLG,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,59,80,10 + CTEXT "Back",IDC_STATIC,90,8,24,8 + CTEXT "Text",IDC_STATIC,116,8,24,8 + CONTROL "",IDC_MSG_BOXES_BG,"ColourPicker",WS_TABSTOP,90,17,24,12 + CONTROL "",IDC_MSG_BOXES_TX,"ColourPicker",WS_TABSTOP,116,17,24,12 + CONTROL "",IDC_ERR_BG,"ColourPicker",WS_TABSTOP,90,31,24,12 + CONTROL "",IDC_ERR_TX,"ColourPicker",WS_TABSTOP,116,31,24,12 + CONTROL "",IDC_INFO_MESSAGES_BG,"ColourPicker",WS_TABSTOP,90,44,24,12 + CONTROL "",IDC_INFO_MESSAGES_TX,"ColourPicker",WS_TABSTOP,116,44,24,12 + CONTROL "",IDC_PROGR_DLG_BG,"ColourPicker",WS_TABSTOP,90,58,24,12 + CONTROL "",IDC_PROGR_DLG_TX,"ColourPicker",WS_TABSTOP,116,58,24,12 + GROUPBOX "Colours",IDC_COLORS,178,0,133,44,WS_GROUP + CONTROL "Use cus&tom colors",IDC_USEOWNCOLORS,"Button",BS_AUTORADIOBUTTON | BS_MULTILINE | BS_NOTIFY,186,8,122,13 + CONTROL "Use &Windows colours",IDC_USEWINCOLORS,"Button",BS_AUTORADIOBUTTON | BS_MULTILINE | BS_NOTIFY,186,30,121,13 + CONTROL "Use Pop&up colours",IDC_USEPOPUPCOLORS,"Button",BS_AUTORADIOBUTTON | BS_MULTILINE | BS_NOTIFY,186,19,102,13 + PUSHBUTTON "Preview",IDC_PREVIEW,189,104,57,12 + GROUPBOX "Click action",IDC_STATIC,1,83,145,67,WS_GROUP + COMBOBOX IDC_LC,6,103,127,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP + COMBOBOX IDC_RC,6,130,127,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP + LTEXT "On left click",IDC_STATIC,8,94,121,8 + LTEXT "On right click",IDC_STATIC,8,120,121,8 + GROUPBOX "Timeout",IDC_STATIC,178,45,133,51 + EDITTEXT IDC_TIMEOUT_VALUE,194,59,32,12,ES_RIGHT | ES_AUTOHSCROLL | ES_NUMBER + CONTROL "",IDC_TIMEOUT_VALUE_SPIN,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS,215,59,12,12 + CTEXT "0 = Default",IDC_STATIC_DEFAULT,250,56,55,8 + CTEXT "-1 = Infinite",IDC_STATIC_INFINITE,249,66,54,8 + LTEXT "Sec",IDC_STATIC_SEC,230,61,17,8 + LTEXT "* Needs popup actions to be enabled",IDC_STATIC,4,156,190,8 + LTEXT "Not sets for ""Message boxes""",IDC_STATIC,185,80,123,8 + CONTROL "",IDC_MSG_BOXES_MSG,"Button",BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,153,19,8,10 + CONTROL "",IDC_ERRORS_MSG,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,153,32,8,10 + CONTROL "",IDC_INFO_MESSAGES_MSG,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,153,45,8,10 + CONTROL "",IDC_PROGR_DLG_MSG,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,153,59,8,10 + CTEXT "Boxes",IDC_STATIC,146,8,23,8 + CTEXT "PopUps",IDC_STATIC,7,9,79,8 +END + + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource.h\0" +END + +2 TEXTINCLUDE +BEGIN + "#include ""afxres.h""\r\n" + "\0" +END + +3 TEXTINCLUDE +BEGIN + "\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + + +///////////////////////////////////////////////////////////////////////////// +// +// DESIGNINFO +// + +#ifdef APSTUDIO_INVOKED +GUIDELINES DESIGNINFO +BEGIN + IDD_UPDATE, DIALOG + BEGIN + BOTTOMMARGIN, 201 + END + + IDD_OPT_UPDATENOTIFY, DIALOG + BEGIN + BOTTOMMARGIN, 95 + END +END +#endif // APSTUDIO_INVOKED + +#endif // Русский (Россия) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/plugins/PackUpdater/Res/Version.rc b/plugins/PackUpdater/Res/Version.rc new file mode 100644 index 0000000000..d741488c4f --- /dev/null +++ b/plugins/PackUpdater/Res/Version.rc @@ -0,0 +1,42 @@ +// Microsoft Visual C++ generated resource script. +// +#ifdef APSTUDIO_INVOKED +#error this file is not editable by Microsoft Visual C++ +#endif //APSTUDIO_INVOKED + +#include "afxres.h" +#include "..\src\version.h" + +#ifdef _WIN32 +LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL +#endif //_WIN32 + +VS_VERSION_INFO VERSIONINFO + FILEVERSION __FILEVERSION_STRING + PRODUCTVERSION __FILEVERSION_STRING + FILEFLAGSMASK 0x17L +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x4L + FILETYPE 0x0L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "000004b0" + BEGIN + VALUE "FileDescription", __DESCRIPTION + VALUE "InternalName", __PLUGIN_NAME + VALUE "LegalCopyright", __COPYRIGHT + VALUE "OriginalFilename", __FILENAME + VALUE "ProductName", __PLUGIN_NAME + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x0, 1200 + END +END diff --git a/plugins/PackUpdater/Resource.rc b/plugins/PackUpdater/Resource.rc deleted file mode 100644 index 3f4039b06c..0000000000 --- a/plugins/PackUpdater/Resource.rc +++ /dev/null @@ -1,196 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Русский (Россия) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_RUS) -LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT -#pragma code_page(1251) - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDI_MENU ICON "res/menu.ico" -IDI_DELETE ICON "res/delete.ico" -IDI_OK ICON "res/btnOk.ico" -IDI_CANCEL ICON "res/btnClose.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_UPDATE DIALOGEX 0, 0, 241, 203 -STYLE DS_SETFONT | DS_MODALFRAME | DS_SETFOREGROUND | DS_FIXEDSYS | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Updates found!" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - DEFPUSHBUTTON "Update",IDOK,24,187,50,14 - DEFPUSHBUTTON "View info",IDC_INFO,84,187,66,14,WS_DISABLED | NOT WS_TABSTOP - PUSHBUTTON "Cancel",IDCANCEL,160,187,50,14 - CTEXT "PackUpdater has detected updated versions\nof the following Miranda components:",IDC_UPDATETEXT,9,9,217,22 - CONTROL "",IDC_LIST_UPDATES,"SysListView32",LVS_REPORT | LVS_SINGLESEL | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP,9,37,217,105 - GROUPBOX "Description",IDC_DESCR,9,142,217,43 - EDITTEXT IDC_MESSAGE,12,152,212,30,ES_MULTILINE | ES_AUTOVSCROLL | ES_READONLY | NOT WS_BORDER | WS_VSCROLL -END - -IDD_DOWNLOAD DIALOGEX 0, 0, 172, 39 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_SYSMENU -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - CONTROL "",IDC_PB,"msctls_progress32",WS_BORDER,7,23,158,9 - CTEXT "Downloading...",IDC_LABEL,7,7,158,12 -END - -IDD_POPUPDUMMI DIALOGEX 65526, 65526, 1, 1 -STYLE DS_ABSALIGN | DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_SYSMENU -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN -END - -IDD_OPT_UPDATENOTIFY DIALOGEX 0, 0, 258, 174 -STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD -EXSTYLE WS_EX_CONTROLPARENT -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "Pack update options",IDC_STATIC,2,32,253,63 - CONTROL "On startup",IDC_UPDATEONSTARTUP,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,11,44,52,10 - CONTROL "Remind about not installed pack update",IDC_REMINDER,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,11,72,198,10 - GROUPBOX "Hotkey",IDC_STATIC,2,0,253,26 - CONTROL "Go to Customize -> Hotkeys to change the hotkey",IDC_LINK_HOTKEY,"Hyperlink",WS_TABSTOP,9,11,199,10 - GROUPBOX "Notifications",IDC_NOTIFY2,1,95,253,76 - CONTROL "Message boxes",IDC_MSG_BOXES2,"Button",BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,7,111,79,10 - CONTROL "Errors",IDC_ERRORS2,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,124,57,10 - CONTROL "Info messages",IDC_INFO_MESSAGES2,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,137,80,10 - CONTROL "Progress dialogs",IDC_PROGR_DLG2,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,151,80,10 - CONTROL "Every",IDC_UPDATEONPERIOD,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,11,58,52,10 - EDITTEXT IDC_PERIOD,65,56,28,14,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED - CONTROL "",IDC_PERIODSPIN,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_DISABLED,92,56,10,15 - COMBOBOX IDC_PERIODMEASURE,114,56,58,30,CBS_DROPDOWNLIST | CBS_SORT | WS_DISABLED | WS_VSCROLL | WS_TABSTOP - CONTROL "(but only once a day)",IDC_ONLYONCEADAY,"Button",BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,92,44,161,10 -END - -IDD_POPUP DIALOGEX 0, 0, 316, 182 -STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD -EXSTYLE WS_EX_CONTROLPARENT -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "Notifications",IDC_NOTIFY,1,0,172,79 - CONTROL "Message boxes (*)",IDC_MSG_BOXES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,19,79,10 - CONTROL "Errors",IDC_ERRORS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,32,57,10 - CONTROL "Info messages",IDC_INFO_MESSAGES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,45,80,10 - CONTROL "Progress dialogs",IDC_PROGR_DLG,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,59,80,10 - CTEXT "Back",IDC_STATIC,90,8,24,8 - CTEXT "Text",IDC_STATIC,116,8,24,8 - CONTROL "",IDC_MSG_BOXES_BG,"ColourPicker",WS_TABSTOP,90,17,24,12 - CONTROL "",IDC_MSG_BOXES_TX,"ColourPicker",WS_TABSTOP,116,17,24,12 - CONTROL "",IDC_ERR_BG,"ColourPicker",WS_TABSTOP,90,31,24,12 - CONTROL "",IDC_ERR_TX,"ColourPicker",WS_TABSTOP,116,31,24,12 - CONTROL "",IDC_INFO_MESSAGES_BG,"ColourPicker",WS_TABSTOP,90,44,24,12 - CONTROL "",IDC_INFO_MESSAGES_TX,"ColourPicker",WS_TABSTOP,116,44,24,12 - CONTROL "",IDC_PROGR_DLG_BG,"ColourPicker",WS_TABSTOP,90,58,24,12 - CONTROL "",IDC_PROGR_DLG_TX,"ColourPicker",WS_TABSTOP,116,58,24,12 - GROUPBOX "Colours",IDC_COLORS,178,0,133,44,WS_GROUP - CONTROL "Use cus&tom colors",IDC_USEOWNCOLORS,"Button",BS_AUTORADIOBUTTON | BS_MULTILINE | BS_NOTIFY,186,8,122,13 - CONTROL "Use &Windows colours",IDC_USEWINCOLORS,"Button",BS_AUTORADIOBUTTON | BS_MULTILINE | BS_NOTIFY,186,30,121,13 - CONTROL "Use Pop&up colours",IDC_USEPOPUPCOLORS,"Button",BS_AUTORADIOBUTTON | BS_MULTILINE | BS_NOTIFY,186,19,102,13 - PUSHBUTTON "Preview",IDC_PREVIEW,189,104,57,12 - GROUPBOX "Click action",IDC_STATIC,1,83,145,67,WS_GROUP - COMBOBOX IDC_LC,6,103,127,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_RC,6,130,127,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP - LTEXT "On left click",IDC_STATIC,8,94,121,8 - LTEXT "On right click",IDC_STATIC,8,120,121,8 - GROUPBOX "Timeout",IDC_STATIC,178,45,133,51 - EDITTEXT IDC_TIMEOUT_VALUE,194,59,32,12,ES_RIGHT | ES_AUTOHSCROLL | ES_NUMBER - CONTROL "",IDC_TIMEOUT_VALUE_SPIN,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS,215,59,12,12 - CTEXT "0 = Default",IDC_STATIC_DEFAULT,250,56,55,8 - CTEXT "-1 = Infinite",IDC_STATIC_INFINITE,249,66,54,8 - LTEXT "Sec",IDC_STATIC_SEC,230,61,17,8 - LTEXT "* Needs popup actions to be enabled",IDC_STATIC,4,156,190,8 - LTEXT "Not sets for ""Message boxes""",IDC_STATIC,185,80,123,8 - CONTROL "",IDC_MSG_BOXES_MSG,"Button",BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,153,19,8,10 - CONTROL "",IDC_ERRORS_MSG,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,153,32,8,10 - CONTROL "",IDC_INFO_MESSAGES_MSG,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,153,45,8,10 - CONTROL "",IDC_PROGR_DLG_MSG,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,153,59,8,10 - CTEXT "Boxes",IDC_STATIC,146,8,23,8 - CTEXT "PopUps",IDC_STATIC,7,9,79,8 -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_UPDATE, DIALOG - BEGIN - BOTTOMMARGIN, 201 - END - - IDD_OPT_UPDATENOTIFY, DIALOG - BEGIN - BOTTOMMARGIN, 95 - END -END -#endif // APSTUDIO_INVOKED - -#endif // Русский (Россия) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/plugins/PackUpdater/Src/Common.h b/plugins/PackUpdater/Src/Common.h index 3e38692d49..1e2f507688 100644 --- a/plugins/PackUpdater/Src/Common.h +++ b/plugins/PackUpdater/Src/Common.h @@ -45,8 +45,8 @@ Boston, MA 02111-1307, USA. #include #include "m_popup2.h" -#include "..\version.h" -#include "..\resource.h" +#include "version.h" +#include "resource.h" #include "Notifications.h" #define MODNAME "PackUpdater" diff --git a/plugins/PackUpdater/Src/Version.h b/plugins/PackUpdater/Src/Version.h new file mode 100644 index 0000000000..f9cbee4412 --- /dev/null +++ b/plugins/PackUpdater/Src/Version.h @@ -0,0 +1,20 @@ +#define __MAJOR_VERSION 0 +#define __MINOR_VERSION 0 +#define __RELEASE_NUM 1 +#define __BUILD_NUM 1 + +#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM +#define __FILEVERSION_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM + +#define __STRINGIFY_IMPL(x) #x +#define __STRINGIFY(x) __STRINGIFY_IMPL(x) +#define __VERSION_STRING __STRINGIFY(__FILEVERSION_DOTS) + +#define __PLUGIN_NAME "PackUpdater" +#define __INTERNAL_NAME "PackUpdater" +#define __FILENAME "PackUpdater.dll" +#define __DESCRIPTION "Simple updater for Miranda IM premodified packs." +#define __AUTHOR "Mataes, ZERO_BiT" +#define __AUTHOREMAIL "mataes2007@gmail.com, zero-bit@mail.ru" +#define __AUTHORWEB "http://mataes.googlecode.com/svn/Miranda/Plugins/PackUpdater/" +#define __COPYRIGHT "© 2011 Mataes, 2007 ZERO_BiT" diff --git a/plugins/PackUpdater/Src/resource.h b/plugins/PackUpdater/Src/resource.h new file mode 100644 index 0000000000..fd3b5c14f0 --- /dev/null +++ b/plugins/PackUpdater/Src/resource.h @@ -0,0 +1,77 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by Resource.rc +// +#define IDI_MENU 101 +#define IDD_UPDATE 102 +#define IDD_DOWNLOAD 103 +#define IDD_OPT_UPDATENOTIFY 104 +#define IDD_POPUP 105 +#define IDD_POPUPDUMMI 106 +#define IDI_DELETE 107 +#define IDI_OK 108 +#define IDI_CANCEL 109 +#define IDC_UPDATETEXT 1001 +#define IDC_CURVER 1002 +#define IDC_NEWVER 1003 +#define IDC_INFO 1004 +#define IDC_PB 1005 +#define IDC_LABEL 1006 +#define IDC_USEWINCOLORS 1007 +#define IDC_RC 1008 +#define IDC_USEPOPUPCOLORS 1009 +#define IDC_COLORS 1010 +#define IDC_STATIC_INFINITE 1011 +#define IDC_STATIC_DEFAULT 1012 +#define IDC_TIMEOUT_VALUE_SPIN 1013 +#define IDC_STATIC_SEC 1014 +#define IDC_LC 1015 +#define IDC_PREVIEW 1016 +#define IDC_TIMEOUT_VALUE 1017 +#define IDC_USEOWNCOLORS 1018 +#define IDC_ENABLEUPDATES 1019 +#define IDC_REMINDER 1020 +#define IDC_LIST_UPDATES 1021 +#define IDC_MESSAGE 1022 +#define IDC_DESCR 1023 +#define IDC_MSG_BOXES_MSG 1024 +#define IDC_ERRORS_MSG 1025 +#define IDC_INFO_MESSAGES_MSG 1026 +#define IDC_PROGR_DLG_MSG 1027 +#define IDC_SYSLINK1 1028 +#define IDC_LINK_HOTKEY 1028 +#define IDC_MSG_BOXES2 1029 +#define IDC_ERRORS2 1030 +#define IDC_INFO_MESSAGES2 1031 +#define IDC_PROGR_DLG2 1032 +#define IDC_NOTIFY2 1033 +#define IDC_NOTIFY 1034 +#define IDC_UPDATEONSTARTUP 1035 +#define IDC_ONLYONCEADAY 1036 +#define IDC_UPDATEONPERIOD 1037 +#define IDC_PERIOD 1038 +#define IDC_PERIODSPIN 1039 +#define IDC_PERIODMEASURE 1040 +#define IDC_MSG_BOXES 40071 +#define IDC_ERRORS 40072 +#define IDC_INFO_MESSAGES 40073 +#define IDC_PROGR_DLG 40074 +#define IDC_MSG_BOXES_TX 41071 +#define IDC_ERR_TX 41072 +#define IDC_INFO_MESSAGES_TX 41073 +#define IDC_PROGR_DLG_TX 41074 +#define IDC_MSG_BOXES_BG 42071 +#define IDC_ERR_BG 42072 +#define IDC_INFO_MESSAGES_BG 42073 +#define IDC_PROGR_DLG_BG 42074 + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 110 +#define _APS_NEXT_COMMAND_VALUE 40075 +#define _APS_NEXT_CONTROL_VALUE 1041 +#define _APS_NEXT_SYMED_VALUE 101 +#endif +#endif diff --git a/plugins/PackUpdater/Version.h b/plugins/PackUpdater/Version.h deleted file mode 100644 index f9cbee4412..0000000000 --- a/plugins/PackUpdater/Version.h +++ /dev/null @@ -1,20 +0,0 @@ -#define __MAJOR_VERSION 0 -#define __MINOR_VERSION 0 -#define __RELEASE_NUM 1 -#define __BUILD_NUM 1 - -#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM -#define __FILEVERSION_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM - -#define __STRINGIFY_IMPL(x) #x -#define __STRINGIFY(x) __STRINGIFY_IMPL(x) -#define __VERSION_STRING __STRINGIFY(__FILEVERSION_DOTS) - -#define __PLUGIN_NAME "PackUpdater" -#define __INTERNAL_NAME "PackUpdater" -#define __FILENAME "PackUpdater.dll" -#define __DESCRIPTION "Simple updater for Miranda IM premodified packs." -#define __AUTHOR "Mataes, ZERO_BiT" -#define __AUTHOREMAIL "mataes2007@gmail.com, zero-bit@mail.ru" -#define __AUTHORWEB "http://mataes.googlecode.com/svn/Miranda/Plugins/PackUpdater/" -#define __COPYRIGHT "© 2011 Mataes, 2007 ZERO_BiT" diff --git a/plugins/PackUpdater/Version.rc b/plugins/PackUpdater/Version.rc deleted file mode 100644 index d1da5e8d6a..0000000000 --- a/plugins/PackUpdater/Version.rc +++ /dev/null @@ -1,42 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - -#include "afxres.h" -#include "version.h" - -#ifdef _WIN32 -LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL -#endif //_WIN32 - -VS_VERSION_INFO VERSIONINFO - FILEVERSION __FILEVERSION_STRING - PRODUCTVERSION __FILEVERSION_STRING - FILEFLAGSMASK 0x17L -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x0L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "000004b0" - BEGIN - VALUE "FileDescription", __DESCRIPTION - VALUE "InternalName", __PLUGIN_NAME - VALUE "LegalCopyright", __COPYRIGHT - VALUE "OriginalFilename", __FILENAME - VALUE "ProductName", __PLUGIN_NAME - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x0, 1200 - END -END diff --git a/plugins/PackUpdater/packupdater-translation.txt b/plugins/PackUpdater/packupdater-translation.txt deleted file mode 100644 index 5945f1f25b..0000000000 --- a/plugins/PackUpdater/packupdater-translation.txt +++ /dev/null @@ -1,69 +0,0 @@ -; Common strings that belong to many files -;[Pack Updater] -;[PopUps] - -; ../../plugins/PackUpdater/Resource.rc -;[(but only once a day)] -;[* Needs popup actions to be enabled] -;[-1 = Infinite] -;[0 = Default] -;[Back] -;[Boxes] -;[Cancel] -;[Click action] -;[Colours] -;[Description] -;[Downloading...] -;[Errors] -;[Every] -;[Go to Customize -> Hotkeys to change the hotkey] -;[Hotkey] -;[Info messages] -;[Message boxes] -;[Message boxes (*)] -;[Not sets for \"Message boxes\"] -;[Notifications] -;[On left click] -;[On right click] -;[On startup] -;[Pack update options] -;[PackUpdater has detected updated versions\nof the following Miranda components:] -;[Preview] -;[Progress dialogs] -;[Remind about not installed pack update] -;[Sec] -;[Text] -;[Timeout] -;[Update] -;[Updates found!] -;[Use &Windows colours] -;[Use Pop&up colours] -;[Use cus&tom colors] -;[View info] - -; ../../plugins/PackUpdater/Src/Notifications.cpp -;[An error occured while downloading the update.] -;[Component Name] -;[Current Version] -;[Download complete. Start updating? All your data will be saved and Miranda IM will be closed.] -;[Downloading pack updates...] -;[Downloading update...] -;[Downloads complete. Start updating? All your data will be saved and Miranda IM will be closed.] -;[New Version] -;[You have chosen not to install the pack update immediately.\nYou can install it manually from this location:\n\n%s] - -; ../../plugins/PackUpdater/Src/Options.cpp -;[Events] -;[Test] -;[days] -;[hours] - -; ../../plugins/PackUpdater/Src/Utils.cpp -;[Downloading version info...] -;[Name of Update's file is not supported.] -;[No files for update.] -;[No updates found.] -;[Pack Updater HTTP connection] -;[URL for checking updates not found.] -;[Update checking already started!] -;[Update is not possible!\nYou have no Administrator's rights.\nPlease run Miranda IM with Administrator's rights.] diff --git a/plugins/PackUpdater/resource.h b/plugins/PackUpdater/resource.h deleted file mode 100644 index fd3b5c14f0..0000000000 --- a/plugins/PackUpdater/resource.h +++ /dev/null @@ -1,77 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Resource.rc -// -#define IDI_MENU 101 -#define IDD_UPDATE 102 -#define IDD_DOWNLOAD 103 -#define IDD_OPT_UPDATENOTIFY 104 -#define IDD_POPUP 105 -#define IDD_POPUPDUMMI 106 -#define IDI_DELETE 107 -#define IDI_OK 108 -#define IDI_CANCEL 109 -#define IDC_UPDATETEXT 1001 -#define IDC_CURVER 1002 -#define IDC_NEWVER 1003 -#define IDC_INFO 1004 -#define IDC_PB 1005 -#define IDC_LABEL 1006 -#define IDC_USEWINCOLORS 1007 -#define IDC_RC 1008 -#define IDC_USEPOPUPCOLORS 1009 -#define IDC_COLORS 1010 -#define IDC_STATIC_INFINITE 1011 -#define IDC_STATIC_DEFAULT 1012 -#define IDC_TIMEOUT_VALUE_SPIN 1013 -#define IDC_STATIC_SEC 1014 -#define IDC_LC 1015 -#define IDC_PREVIEW 1016 -#define IDC_TIMEOUT_VALUE 1017 -#define IDC_USEOWNCOLORS 1018 -#define IDC_ENABLEUPDATES 1019 -#define IDC_REMINDER 1020 -#define IDC_LIST_UPDATES 1021 -#define IDC_MESSAGE 1022 -#define IDC_DESCR 1023 -#define IDC_MSG_BOXES_MSG 1024 -#define IDC_ERRORS_MSG 1025 -#define IDC_INFO_MESSAGES_MSG 1026 -#define IDC_PROGR_DLG_MSG 1027 -#define IDC_SYSLINK1 1028 -#define IDC_LINK_HOTKEY 1028 -#define IDC_MSG_BOXES2 1029 -#define IDC_ERRORS2 1030 -#define IDC_INFO_MESSAGES2 1031 -#define IDC_PROGR_DLG2 1032 -#define IDC_NOTIFY2 1033 -#define IDC_NOTIFY 1034 -#define IDC_UPDATEONSTARTUP 1035 -#define IDC_ONLYONCEADAY 1036 -#define IDC_UPDATEONPERIOD 1037 -#define IDC_PERIOD 1038 -#define IDC_PERIODSPIN 1039 -#define IDC_PERIODMEASURE 1040 -#define IDC_MSG_BOXES 40071 -#define IDC_ERRORS 40072 -#define IDC_INFO_MESSAGES 40073 -#define IDC_PROGR_DLG 40074 -#define IDC_MSG_BOXES_TX 41071 -#define IDC_ERR_TX 41072 -#define IDC_INFO_MESSAGES_TX 41073 -#define IDC_PROGR_DLG_TX 41074 -#define IDC_MSG_BOXES_BG 42071 -#define IDC_ERR_BG 42072 -#define IDC_INFO_MESSAGES_BG 42073 -#define IDC_PROGR_DLG_BG 42074 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 110 -#define _APS_NEXT_COMMAND_VALUE 40075 -#define _APS_NEXT_CONTROL_VALUE 1041 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif -- cgit v1.2.3