From a9580df150d799246eaecbf3c1fb5cecf9f8ab49 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Mon, 23 Jul 2012 13:49:28 +0000 Subject: SecureIM, SeenPlugin, SendSS, Sessions: changed folder structure git-svn-id: http://svn.miranda-ng.org/main/trunk@1122 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Sessions/Icons/Checked.ico | Bin 2038 -> 0 bytes plugins/Sessions/Icons/Load.ico | Bin 1150 -> 0 bytes plugins/Sessions/Icons/Loadlast.ico | Bin 1150 -> 0 bytes plugins/Sessions/Icons/Save.ico | Bin 1150 -> 0 bytes plugins/Sessions/Icons/Sessions.ico | Bin 1150 -> 0 bytes plugins/Sessions/Icons/Unchecked.ico | Bin 2038 -> 0 bytes plugins/Sessions/Resource.h | 58 ------ plugins/Sessions/Sessions.rc | 237 ------------------------- plugins/Sessions/Sessions_10.vcxproj | 16 +- plugins/Sessions/Sessions_10.vcxproj.filters | 28 +-- plugins/Sessions/Src/Resource.h | 58 ++++++ plugins/Sessions/Src/Sessions.h | 4 +- plugins/Sessions/Src/Version.h | 21 +++ plugins/Sessions/Version.h | 21 --- plugins/Sessions/Version.rc | 42 ----- plugins/Sessions/docs/sessions-translation.txt | 58 ++++++ plugins/Sessions/res/Checked.ico | Bin 0 -> 2038 bytes plugins/Sessions/res/Load.ico | Bin 0 -> 1150 bytes plugins/Sessions/res/Loadlast.ico | Bin 0 -> 1150 bytes plugins/Sessions/res/Save.ico | Bin 0 -> 1150 bytes plugins/Sessions/res/Sessions.ico | Bin 0 -> 1150 bytes plugins/Sessions/res/Sessions.rc | 236 ++++++++++++++++++++++++ plugins/Sessions/res/Unchecked.ico | Bin 0 -> 2038 bytes plugins/Sessions/res/Version.rc | 42 +++++ plugins/Sessions/sessions-translation.txt | 58 ------ 25 files changed, 425 insertions(+), 454 deletions(-) delete mode 100644 plugins/Sessions/Icons/Checked.ico delete mode 100644 plugins/Sessions/Icons/Load.ico delete mode 100644 plugins/Sessions/Icons/Loadlast.ico delete mode 100644 plugins/Sessions/Icons/Save.ico delete mode 100644 plugins/Sessions/Icons/Sessions.ico delete mode 100644 plugins/Sessions/Icons/Unchecked.ico delete mode 100644 plugins/Sessions/Resource.h delete mode 100644 plugins/Sessions/Sessions.rc create mode 100644 plugins/Sessions/Src/Resource.h create mode 100644 plugins/Sessions/Src/Version.h delete mode 100644 plugins/Sessions/Version.h delete mode 100644 plugins/Sessions/Version.rc create mode 100644 plugins/Sessions/docs/sessions-translation.txt create mode 100644 plugins/Sessions/res/Checked.ico create mode 100644 plugins/Sessions/res/Load.ico create mode 100644 plugins/Sessions/res/Loadlast.ico create mode 100644 plugins/Sessions/res/Save.ico create mode 100644 plugins/Sessions/res/Sessions.ico create mode 100644 plugins/Sessions/res/Sessions.rc create mode 100644 plugins/Sessions/res/Unchecked.ico create mode 100644 plugins/Sessions/res/Version.rc delete mode 100644 plugins/Sessions/sessions-translation.txt (limited to 'plugins/Sessions') diff --git a/plugins/Sessions/Icons/Checked.ico b/plugins/Sessions/Icons/Checked.ico deleted file mode 100644 index e19208cdb3..0000000000 Binary files a/plugins/Sessions/Icons/Checked.ico and /dev/null differ diff --git a/plugins/Sessions/Icons/Load.ico b/plugins/Sessions/Icons/Load.ico deleted file mode 100644 index 448a2e907d..0000000000 Binary files a/plugins/Sessions/Icons/Load.ico and /dev/null differ diff --git a/plugins/Sessions/Icons/Loadlast.ico b/plugins/Sessions/Icons/Loadlast.ico deleted file mode 100644 index a86082e547..0000000000 Binary files a/plugins/Sessions/Icons/Loadlast.ico and /dev/null differ diff --git a/plugins/Sessions/Icons/Save.ico b/plugins/Sessions/Icons/Save.ico deleted file mode 100644 index 9d19bff626..0000000000 Binary files a/plugins/Sessions/Icons/Save.ico and /dev/null differ diff --git a/plugins/Sessions/Icons/Sessions.ico b/plugins/Sessions/Icons/Sessions.ico deleted file mode 100644 index 823c49aa17..0000000000 Binary files a/plugins/Sessions/Icons/Sessions.ico and /dev/null differ diff --git a/plugins/Sessions/Icons/Unchecked.ico b/plugins/Sessions/Icons/Unchecked.ico deleted file mode 100644 index 30331f14d8..0000000000 Binary files a/plugins/Sessions/Icons/Unchecked.ico and /dev/null differ diff --git a/plugins/Sessions/Resource.h b/plugins/Sessions/Resource.h deleted file mode 100644 index 0a70198bcf..0000000000 --- a/plugins/Sessions/Resource.h +++ /dev/null @@ -1,58 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by sessions.rc -// -#define IDD_OPTIONS 101 -#define IDI_SESSIONS 102 -#define IDI_SESSIONS_LOAD 103 -#define IDD_SESSIONS_SAVE 104 -#define IDD_SESSIONS_LOADLAST 105 - -#define IDD_SESSION_CHECKED 106 -#define IDD_SESSION_UNCHECKED 107 - -#define IDD_WLCMDIALOG 120 -#define IDD_SAVEDIALOG 121 -#define IDD_EXDIALOG 123 -#define IDC_LIST 1020 -#define IDC_STARTDIALOG 1021 -#define IDC_STARTDELAY 1022 -#define IDC_STATICMS 1023 -#define IDC_STATICOP 1024 -#define IDC_SANDCCHECK 1025 -#define IDC_SESSDEL 1026 -#define IDC_ADDTOMENU 1027 -#define IDC_SELCONTACTS 1029 -#define IDC_CLIST 1032 -#define IDC_ADDTBUTTON 1033 -#define IDC_OPCLIST 1034 -#define IDC_DEL 1036 -#define IDC_EDIT 1037 -#define IDC_SAVE 1038 -#define IDC_EMCLIST 1039 -#define IDC_REXSAVE 1040 -#define IDC_REXDSAVE 1041 -#define IDC_REXASK 1043 -#define IDC_RLOADLAST 1045 -#define IDC_RNOTHING 1047 -#define IDC_CHECKLAST 1049 -#define IDC_TRACK 1051 -#define IDC_SPIN1 1052 -#define IDC_EXSTATIC1 1054 -#define IDC_EXSTATIC2 1055 -#define IDC_EXCLHIDDEN 1056 -#define IDC_LASTHIDDENWARN 1057 -#define IDC_WARNINGS 1058 -#define IDC_CRASHRECOVERY 1059 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 124 -#define _APS_NEXT_COMMAND_VALUE 40015 -#define _APS_NEXT_CONTROL_VALUE 1059 -#define _APS_NEXT_SYMED_VALUE 1125 -#endif -#endif diff --git a/plugins/Sessions/Sessions.rc b/plugins/Sessions/Sessions.rc deleted file mode 100644 index 7f430930a0..0000000000 --- a/plugins/Sessions/Sessions.rc +++ /dev/null @@ -1,237 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Neutral resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_NEU) -#ifdef _WIN32 -LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL -#pragma code_page(1251) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" - "version.rc\0" -END - -2 TEXTINCLUDE -BEGIN - "#include \r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_OPTIONS DIALOGEX 0, 0, 303, 246 -STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_VISIBLE -EXSTYLE WS_EX_CONTROLPARENT -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "Action on Startup",IDC_STATIC,6,11,157,75 - CONTROL "Open Sessions Manager dialog",IDC_STARTDIALOG,"Button",BS_AUTORADIOBUTTON | WS_GROUP,9,21,144,10 - CONTROL "Restore Last Session",IDC_RLOADLAST,"Button",BS_AUTORADIOBUTTON,9,42,144,10 - CONTROL "Do nothing",IDC_RNOTHING,"Button",BS_AUTORADIOBUTTON,9,54,144,10 - CONTROL "Only if last session present",IDC_CHECKLAST,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,27,31,126,10 - EDITTEXT IDC_STARTDELAY,105,70,26,12,ES_AUTOHSCROLL | ES_NUMBER - LTEXT "Startup delay",IDC_STATICOP,51,72,54,8 - LTEXT "ms",IDC_STATICMS,136,72,16,8 - GROUPBOX "User Sessions Management",IDC_STATIC,6,96,157,129 - PUSHBUTTON "Edit",IDC_EDIT,119,132,42,13,WS_DISABLED - COMBOBOX IDC_LIST,9,107,107,30,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LISTBOX IDC_OPCLIST,9,122,107,100,LBS_NOINTEGRALHEIGHT | LBS_NOSEL | WS_VSCROLL - PUSHBUTTON "Delete",IDC_DEL,119,107,42,13 - PUSHBUTTON "Save",IDC_SAVE,119,145,42,13,WS_DISABLED - GROUPBOX "Action on Exit",IDC_STATIC,170,11,128,75 - CONTROL "Ask",IDC_REXASK,"Button",BS_AUTORADIOBUTTON | WS_GROUP,173,23,122,10 - CONTROL "Save Current Session",IDC_REXSAVE,"Button",BS_AUTORADIOBUTTON,173,37,122,10 - CONTROL "Do nothing",IDC_REXDSAVE,"Button",BS_AUTORADIOBUTTON,173,50,122,10 - EDITTEXT IDC_TRACK,224,70,27,12,ES_AUTOHSCROLL | ES_READONLY | ES_NUMBER - CONTROL "",IDC_SPIN1,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_TABSTOP,241,62,10,14 - LTEXT "Save only last",IDC_EXSTATIC1,173,72,48,8 - LTEXT "Sessions",IDC_EXSTATIC2,253,72,28,8 - GROUPBOX "Misc",IDC_STATIC,170,96,128,95 - CONTROL "Exclude hidden contacts from session on exit",IDC_EXCLHIDDEN, - "Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,173,104,122,16 - CONTROL "Warn, when some of LastSession contacts are hidden",IDC_LASTHIDDENWARN, - "Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,173,121,122,20 - CONTROL "Show other warnings (""session already opened"" etc...)",IDC_WARNINGS, - "Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,173,143,122,17 - CONTROL "Crash Recovery mode",IDC_CRASHRECOVERY,"Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,173,162,122,17 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_OPTIONS, DIALOG - BEGIN - LEFTMARGIN, 3 - RIGHTMARGIN, 298 - VERTGUIDE, 9 - VERTGUIDE, 116 - VERTGUIDE, 119 - VERTGUIDE, 161 - VERTGUIDE, 170 - VERTGUIDE, 173 - VERTGUIDE, 285 - TOPMARGIN, 6 - BOTTOMMARGIN, 243 - HORZGUIDE, 96 - HORZGUIDE, 225 - END -END -#endif // APSTUDIO_INVOKED - -#endif // Neutral resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// Russian resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_RUS) -#ifdef _WIN32 -LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT -#pragma code_page(1251) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_WLCMDIALOG DIALOGEX 0, 0, 169, 80 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Restore Session" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - DEFPUSHBUTTON "&Restore Session",IDOK,46,58,61,14 - PUSHBUTTON "&Cancel",IDCANCEL,110,58,52,14 - LTEXT "Choose session to restore from the list:",IDC_STATIC,10,16,149,11 - COMBOBOX IDC_LIST,12,30,126,65,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP - PUSHBUTTON "Del",IDC_SESSDEL,140,31,22,11 -END - -IDD_SAVEDIALOG DIALOGEX 0, 0, 169, 80 -STYLE DS_SETFONT | DS_MODALFRAME | DS_SETFOREGROUND | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Save Session" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - DEFPUSHBUTTON "&Save Session",IDOK,44,58,61,14 - PUSHBUTTON "&Cancel",IDCANCEL,107,58,52,14 - LTEXT "Enter session name:",IDC_STATIC,13,16,123,11 - COMBOBOX IDC_LIST,12,30,148,65,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - CONTROL "Save and Close",IDC_SANDCCHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,19,46,137,10 - CONTROL "adv.",IDC_SELCONTACTS,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | BS_FLAT | WS_TABSTOP,136,4,24,10 -END - -IDD_EXDIALOG DIALOGEX 0, 0, 170, 70 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Sessions Manager" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - DEFPUSHBUTTON "OK",IDOK,61,49,50,14 - PUSHBUTTON "Cancel",IDCANCEL,113,49,50,14 - LTEXT "Save your current session?",IDC_STATIC,15,22,135,8 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_WLCMDIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 162 - VERTGUIDE, 12 - TOPMARGIN, 7 - BOTTOMMARGIN, 73 - END - - IDD_SAVEDIALOG, DIALOG - BEGIN - RIGHTMARGIN, 168 - END - - IDD_EXDIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 63 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDI_SESSIONS ICON "icons\\sessions.ico" -IDI_SESSIONS_LOAD ICON "icons\\load.ico" -IDD_SESSIONS_SAVE ICON "icons\\save.ico" -IDD_SESSIONS_LOADLAST ICON "icons\\loadlast.ico" -IDD_SESSION_CHECKED ICON "icons\\checked.ico" -IDD_SESSION_UNCHECKED ICON "icons\\unchecked.ico" - - -#endif // Russian resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/plugins/Sessions/Sessions_10.vcxproj b/plugins/Sessions/Sessions_10.vcxproj index 2a5d0fcf7f..b300532992 100644 --- a/plugins/Sessions/Sessions_10.vcxproj +++ b/plugins/Sessions/Sessions_10.vcxproj @@ -182,22 +182,14 @@ - + - + - - - - - - - - - - + + diff --git a/plugins/Sessions/Sessions_10.vcxproj.filters b/plugins/Sessions/Sessions_10.vcxproj.filters index 7a24363825..41b3127e59 100644 --- a/plugins/Sessions/Sessions_10.vcxproj.filters +++ b/plugins/Sessions/Sessions_10.vcxproj.filters @@ -26,10 +26,10 @@ - + Header Files - + Header Files @@ -40,30 +40,10 @@ - - Resource Files - - - Resource Files - - - Resource Files - - - Resource Files - - - Resource Files - - - Resource Files - - - - + Resource Files - + Resource Files diff --git a/plugins/Sessions/Src/Resource.h b/plugins/Sessions/Src/Resource.h new file mode 100644 index 0000000000..0a70198bcf --- /dev/null +++ b/plugins/Sessions/Src/Resource.h @@ -0,0 +1,58 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by sessions.rc +// +#define IDD_OPTIONS 101 +#define IDI_SESSIONS 102 +#define IDI_SESSIONS_LOAD 103 +#define IDD_SESSIONS_SAVE 104 +#define IDD_SESSIONS_LOADLAST 105 + +#define IDD_SESSION_CHECKED 106 +#define IDD_SESSION_UNCHECKED 107 + +#define IDD_WLCMDIALOG 120 +#define IDD_SAVEDIALOG 121 +#define IDD_EXDIALOG 123 +#define IDC_LIST 1020 +#define IDC_STARTDIALOG 1021 +#define IDC_STARTDELAY 1022 +#define IDC_STATICMS 1023 +#define IDC_STATICOP 1024 +#define IDC_SANDCCHECK 1025 +#define IDC_SESSDEL 1026 +#define IDC_ADDTOMENU 1027 +#define IDC_SELCONTACTS 1029 +#define IDC_CLIST 1032 +#define IDC_ADDTBUTTON 1033 +#define IDC_OPCLIST 1034 +#define IDC_DEL 1036 +#define IDC_EDIT 1037 +#define IDC_SAVE 1038 +#define IDC_EMCLIST 1039 +#define IDC_REXSAVE 1040 +#define IDC_REXDSAVE 1041 +#define IDC_REXASK 1043 +#define IDC_RLOADLAST 1045 +#define IDC_RNOTHING 1047 +#define IDC_CHECKLAST 1049 +#define IDC_TRACK 1051 +#define IDC_SPIN1 1052 +#define IDC_EXSTATIC1 1054 +#define IDC_EXSTATIC2 1055 +#define IDC_EXCLHIDDEN 1056 +#define IDC_LASTHIDDENWARN 1057 +#define IDC_WARNINGS 1058 +#define IDC_CRASHRECOVERY 1059 +#define IDC_STATIC -1 + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 124 +#define _APS_NEXT_COMMAND_VALUE 40015 +#define _APS_NEXT_CONTROL_VALUE 1059 +#define _APS_NEXT_SYMED_VALUE 1125 +#endif +#endif diff --git a/plugins/Sessions/Src/Sessions.h b/plugins/Sessions/Src/Sessions.h index 18c2878938..11883cae42 100644 --- a/plugins/Sessions/Src/Sessions.h +++ b/plugins/Sessions/Src/Sessions.h @@ -43,8 +43,8 @@ along with this program. If not, see . #include "m_sessions.h" #include "Utils.h" -#include "../Version.h" -#include "../Resource.h" +#include "Version.h" +#include "Resource.h" extern HANDLE hibChecked; extern HANDLE hibNotChecked; diff --git a/plugins/Sessions/Src/Version.h b/plugins/Sessions/Src/Version.h new file mode 100644 index 0000000000..44e6d972f4 --- /dev/null +++ b/plugins/Sessions/Src/Version.h @@ -0,0 +1,21 @@ +#define __MAJOR_VERSION 0 +#define __MINOR_VERSION 1 +#define __RELEASE_NUM 3 +#define __BUILD_NUM 0 + +#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 "Sessions" +#define __INTERNAL_NAME "Sessions" +#define __FILENAME "Sessions.dll" +#define __DESCRIPTION "Sessions Manager for Miranda IM." +#define __AUTHOR "MaD_CLuSTeR" +#define __AUTHOREMAIL "daniok@yandex.ru" +#define __AUTHORWEB "http://miranda.radicaled.ru/index.php?plugin=2" +#define __COPYRIGHT "© 2007-2008 Danil Mozhar" diff --git a/plugins/Sessions/Version.h b/plugins/Sessions/Version.h deleted file mode 100644 index ee0f3f450b..0000000000 --- a/plugins/Sessions/Version.h +++ /dev/null @@ -1,21 +0,0 @@ -#define __MAJOR_VERSION 0 -#define __MINOR_VERSION 1 -#define __RELEASE_NUM 3 -#define __BUILD_NUM 0 - -#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 "Sessions" -#define __INTERNAL_NAME "Sessions" -#define __FILENAME "Sessions.dll" -#define __DESCRIPTION "Sessions Manager for Miranda IM." -#define __AUTHOR "MaD_CLuSTeR" -#define __AUTHOREMAIL "daniok@yandex.ru" -#define __AUTHORWEB "http://nightly.miranda.im/" -#define __COPYRIGHT "© 2007-2008 Danil Mozhar" diff --git a/plugins/Sessions/Version.rc b/plugins/Sessions/Version.rc deleted file mode 100644 index d1da5e8d6a..0000000000 --- a/plugins/Sessions/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/Sessions/docs/sessions-translation.txt b/plugins/Sessions/docs/sessions-translation.txt new file mode 100644 index 0000000000..96153c70d0 --- /dev/null +++ b/plugins/Sessions/docs/sessions-translation.txt @@ -0,0 +1,58 @@ +; Common strings that belong to many files +;[Edit] +;[Save Session] +;[Sessions Manager] + +; ../../plugins/Sessions/Sessions.rc +;[&Cancel] +;[&Restore Session] +;[&Save Session] +;[Action on Exit] +;[Action on Startup] +;[Ask] +;[Cancel] +;[Choose session to restore from the list:] +;[Crash Recovery mode] +;[Del] +;[Delete] +;[Do nothing] +;[Enter session name:] +;[Exclude hidden contacts from session on exit] +;[Misc] +;[OK] +;[Only if last session present] +;[Open Sessions Manager dialog] +;[Restore Last Session] +;[Restore Session] +;[Save] +;[Save Current Session] +;[Save and Close] +;[Save only last] +;[Save your current session?] +;[Sessions] +;[Show other warnings (\"session already opened\" etc...)] +;[Startup delay] +;[User Sessions Management] +;[Warn, when some of LastSession contacts are hidden] +;[adv.] +;[ms] + +; ../../plugins/Sessions/Src/Main.cpp +;[Current session is empty!] +;[Favorite Session] +;[Last Sessions is empty] +;[Load Session] +;[Load last Session] +;[No contacts to open] +;[No sessions to open] +;[Not favorite Session] +;[Session name is empty, enter the name and try again] +;[This Session already opened] +;[This Session already opened(but probably hidden)\nDo you want to show hidden contacts?] + +; ../../plugins/Sessions/Src/Options.cpp +;[Message Sessions] +;[View] + +; ../../plugins/Sessions/Src/Utils.cpp +;[Session Before Last Crash] diff --git a/plugins/Sessions/res/Checked.ico b/plugins/Sessions/res/Checked.ico new file mode 100644 index 0000000000..e19208cdb3 Binary files /dev/null and b/plugins/Sessions/res/Checked.ico differ diff --git a/plugins/Sessions/res/Load.ico b/plugins/Sessions/res/Load.ico new file mode 100644 index 0000000000..448a2e907d Binary files /dev/null and b/plugins/Sessions/res/Load.ico differ diff --git a/plugins/Sessions/res/Loadlast.ico b/plugins/Sessions/res/Loadlast.ico new file mode 100644 index 0000000000..a86082e547 Binary files /dev/null and b/plugins/Sessions/res/Loadlast.ico differ diff --git a/plugins/Sessions/res/Save.ico b/plugins/Sessions/res/Save.ico new file mode 100644 index 0000000000..9d19bff626 Binary files /dev/null and b/plugins/Sessions/res/Save.ico differ diff --git a/plugins/Sessions/res/Sessions.ico b/plugins/Sessions/res/Sessions.ico new file mode 100644 index 0000000000..823c49aa17 Binary files /dev/null and b/plugins/Sessions/res/Sessions.ico differ diff --git a/plugins/Sessions/res/Sessions.rc b/plugins/Sessions/res/Sessions.rc new file mode 100644 index 0000000000..746831c05a --- /dev/null +++ b/plugins/Sessions/res/Sessions.rc @@ -0,0 +1,236 @@ +// Microsoft Visual C++ generated resource script. +// +#include "..\src\resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#include + +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// Neutral resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_NEU) +#ifdef _WIN32 +LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL +#pragma code_page(1251) +#endif //_WIN32 + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "..\\src\\resource.h\0" +END + +2 TEXTINCLUDE +BEGIN + "#include \r\n" + "\0" +END + +3 TEXTINCLUDE +BEGIN + "\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + + +///////////////////////////////////////////////////////////////////////////// +// +// Dialog +// + +IDD_OPTIONS DIALOGEX 0, 0, 303, 246 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_VISIBLE +EXSTYLE WS_EX_CONTROLPARENT +FONT 8, "MS Shell Dlg", 0, 0, 0x1 +BEGIN + GROUPBOX "Action on Startup",IDC_STATIC,6,11,157,75 + CONTROL "Open Sessions Manager dialog",IDC_STARTDIALOG,"Button",BS_AUTORADIOBUTTON | WS_GROUP,9,21,144,10 + CONTROL "Restore Last Session",IDC_RLOADLAST,"Button",BS_AUTORADIOBUTTON,9,42,144,10 + CONTROL "Do nothing",IDC_RNOTHING,"Button",BS_AUTORADIOBUTTON,9,54,144,10 + CONTROL "Only if last session present",IDC_CHECKLAST,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,27,31,126,10 + EDITTEXT IDC_STARTDELAY,105,70,26,12,ES_AUTOHSCROLL | ES_NUMBER + LTEXT "Startup delay",IDC_STATICOP,51,72,54,8 + LTEXT "ms",IDC_STATICMS,136,72,16,8 + GROUPBOX "User Sessions Management",IDC_STATIC,6,96,157,129 + PUSHBUTTON "Edit",IDC_EDIT,119,132,42,13,WS_DISABLED + COMBOBOX IDC_LIST,9,107,107,30,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP + LISTBOX IDC_OPCLIST,9,122,107,100,LBS_NOINTEGRALHEIGHT | LBS_NOSEL | WS_VSCROLL + PUSHBUTTON "Delete",IDC_DEL,119,107,42,13 + PUSHBUTTON "Save",IDC_SAVE,119,145,42,13,WS_DISABLED + GROUPBOX "Action on Exit",IDC_STATIC,170,11,128,75 + CONTROL "Ask",IDC_REXASK,"Button",BS_AUTORADIOBUTTON | WS_GROUP,173,23,122,10 + CONTROL "Save Current Session",IDC_REXSAVE,"Button",BS_AUTORADIOBUTTON,173,37,122,10 + CONTROL "Do nothing",IDC_REXDSAVE,"Button",BS_AUTORADIOBUTTON,173,50,122,10 + EDITTEXT IDC_TRACK,224,70,27,12,ES_AUTOHSCROLL | ES_READONLY | ES_NUMBER + CONTROL "",IDC_SPIN1,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_TABSTOP,241,62,10,14 + LTEXT "Save only last",IDC_EXSTATIC1,173,72,48,8 + LTEXT "Sessions",IDC_EXSTATIC2,253,72,28,8 + GROUPBOX "Misc",IDC_STATIC,170,96,128,95 + CONTROL "Exclude hidden contacts from session on exit",IDC_EXCLHIDDEN, + "Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,173,104,122,16 + CONTROL "Warn, when some of LastSession contacts are hidden",IDC_LASTHIDDENWARN, + "Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,173,121,122,20 + CONTROL "Show other warnings (""session already opened"" etc...)",IDC_WARNINGS, + "Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,173,143,122,17 + CONTROL "Crash Recovery mode",IDC_CRASHRECOVERY,"Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,173,162,122,17 +END + + +///////////////////////////////////////////////////////////////////////////// +// +// DESIGNINFO +// + +#ifdef APSTUDIO_INVOKED +GUIDELINES DESIGNINFO +BEGIN + IDD_OPTIONS, DIALOG + BEGIN + LEFTMARGIN, 3 + RIGHTMARGIN, 298 + VERTGUIDE, 9 + VERTGUIDE, 116 + VERTGUIDE, 119 + VERTGUIDE, 161 + VERTGUIDE, 170 + VERTGUIDE, 173 + VERTGUIDE, 285 + TOPMARGIN, 6 + BOTTOMMARGIN, 243 + HORZGUIDE, 96 + HORZGUIDE, 225 + END +END +#endif // APSTUDIO_INVOKED + +#endif // Neutral resources +///////////////////////////////////////////////////////////////////////////// + + +///////////////////////////////////////////////////////////////////////////// +// Russian resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_RUS) +#ifdef _WIN32 +LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT +#pragma code_page(1251) +#endif //_WIN32 + +///////////////////////////////////////////////////////////////////////////// +// +// Dialog +// + +IDD_WLCMDIALOG DIALOGEX 0, 0, 169, 80 +STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU +CAPTION "Restore Session" +FONT 8, "MS Shell Dlg", 400, 0, 0x1 +BEGIN + DEFPUSHBUTTON "&Restore Session",IDOK,46,58,61,14 + PUSHBUTTON "&Cancel",IDCANCEL,110,58,52,14 + LTEXT "Choose session to restore from the list:",IDC_STATIC,10,16,149,11 + COMBOBOX IDC_LIST,12,30,126,65,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP + PUSHBUTTON "Del",IDC_SESSDEL,140,31,22,11 +END + +IDD_SAVEDIALOG DIALOGEX 0, 0, 169, 80 +STYLE DS_SETFONT | DS_MODALFRAME | DS_SETFOREGROUND | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU +CAPTION "Save Session" +FONT 8, "MS Shell Dlg", 400, 0, 0x1 +BEGIN + DEFPUSHBUTTON "&Save Session",IDOK,44,58,61,14 + PUSHBUTTON "&Cancel",IDCANCEL,107,58,52,14 + LTEXT "Enter session name:",IDC_STATIC,13,16,123,11 + COMBOBOX IDC_LIST,12,30,148,65,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP + CONTROL "Save and Close",IDC_SANDCCHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,19,46,137,10 + CONTROL "adv.",IDC_SELCONTACTS,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | BS_FLAT | WS_TABSTOP,136,4,24,10 +END + +IDD_EXDIALOG DIALOGEX 0, 0, 170, 70 +STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU +CAPTION "Sessions Manager" +FONT 8, "MS Shell Dlg", 400, 0, 0x1 +BEGIN + DEFPUSHBUTTON "OK",IDOK,61,49,50,14 + PUSHBUTTON "Cancel",IDCANCEL,113,49,50,14 + LTEXT "Save your current session?",IDC_STATIC,15,22,135,8 +END + + +///////////////////////////////////////////////////////////////////////////// +// +// DESIGNINFO +// + +#ifdef APSTUDIO_INVOKED +GUIDELINES DESIGNINFO +BEGIN + IDD_WLCMDIALOG, DIALOG + BEGIN + LEFTMARGIN, 7 + RIGHTMARGIN, 162 + VERTGUIDE, 12 + TOPMARGIN, 7 + BOTTOMMARGIN, 73 + END + + IDD_SAVEDIALOG, DIALOG + BEGIN + RIGHTMARGIN, 168 + END + + IDD_EXDIALOG, DIALOG + BEGIN + LEFTMARGIN, 7 + RIGHTMARGIN, 163 + TOPMARGIN, 7 + BOTTOMMARGIN, 63 + END +END +#endif // APSTUDIO_INVOKED + + +///////////////////////////////////////////////////////////////////////////// +// +// Icon +// + +// Icon with lowest ID value placed first to ensure application icon +// remains consistent on all systems. +IDI_SESSIONS ICON "sessions.ico" +IDI_SESSIONS_LOAD ICON "load.ico" +IDD_SESSIONS_SAVE ICON "save.ico" +IDD_SESSIONS_LOADLAST ICON "loadlast.ico" +IDD_SESSION_CHECKED ICON "checked.ico" +IDD_SESSION_UNCHECKED ICON "unchecked.ico" + + +#endif // Russian resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/plugins/Sessions/res/Unchecked.ico b/plugins/Sessions/res/Unchecked.ico new file mode 100644 index 0000000000..30331f14d8 Binary files /dev/null and b/plugins/Sessions/res/Unchecked.ico differ diff --git a/plugins/Sessions/res/Version.rc b/plugins/Sessions/res/Version.rc new file mode 100644 index 0000000000..d741488c4f --- /dev/null +++ b/plugins/Sessions/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/Sessions/sessions-translation.txt b/plugins/Sessions/sessions-translation.txt deleted file mode 100644 index 96153c70d0..0000000000 --- a/plugins/Sessions/sessions-translation.txt +++ /dev/null @@ -1,58 +0,0 @@ -; Common strings that belong to many files -;[Edit] -;[Save Session] -;[Sessions Manager] - -; ../../plugins/Sessions/Sessions.rc -;[&Cancel] -;[&Restore Session] -;[&Save Session] -;[Action on Exit] -;[Action on Startup] -;[Ask] -;[Cancel] -;[Choose session to restore from the list:] -;[Crash Recovery mode] -;[Del] -;[Delete] -;[Do nothing] -;[Enter session name:] -;[Exclude hidden contacts from session on exit] -;[Misc] -;[OK] -;[Only if last session present] -;[Open Sessions Manager dialog] -;[Restore Last Session] -;[Restore Session] -;[Save] -;[Save Current Session] -;[Save and Close] -;[Save only last] -;[Save your current session?] -;[Sessions] -;[Show other warnings (\"session already opened\" etc...)] -;[Startup delay] -;[User Sessions Management] -;[Warn, when some of LastSession contacts are hidden] -;[adv.] -;[ms] - -; ../../plugins/Sessions/Src/Main.cpp -;[Current session is empty!] -;[Favorite Session] -;[Last Sessions is empty] -;[Load Session] -;[Load last Session] -;[No contacts to open] -;[No sessions to open] -;[Not favorite Session] -;[Session name is empty, enter the name and try again] -;[This Session already opened] -;[This Session already opened(but probably hidden)\nDo you want to show hidden contacts?] - -; ../../plugins/Sessions/Src/Options.cpp -;[Message Sessions] -;[View] - -; ../../plugins/Sessions/Src/Utils.cpp -;[Session Before Last Crash] -- cgit v1.2.3