From 1e92bf5cf72665b5fec103a0a70d734340725539 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Tue, 24 Jul 2012 09:26:39 +0000 Subject: StopSpamPlus, TipperYM, TooltipNotify, TopToolBar, TranslitSwitcher, UserGuide: changed folder structure git-svn-id: http://svn.miranda-ng.org/main/trunk@1159 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- .../Docs/translitswitcher-translation.txt | 10 +++++ plugins/TranslitSwitcher/Res/Resource.rc | 48 ++++++++++++++++++++++ plugins/TranslitSwitcher/Res/Version.rc | 42 +++++++++++++++++++ plugins/TranslitSwitcher/Resource.h | 18 -------- plugins/TranslitSwitcher/Resource.rc | 48 ---------------------- plugins/TranslitSwitcher/Src/Resource.h | 18 ++++++++ plugins/TranslitSwitcher/Src/TranslitSwitcher.h | 4 +- plugins/TranslitSwitcher/Src/Version.h | 20 +++++++++ .../TranslitSwitcher/TranslitSwitcher_10.vcxproj | 20 ++++----- .../TranslitSwitcher_10.vcxproj.filters | 8 ++-- plugins/TranslitSwitcher/Version.h | 20 --------- plugins/TranslitSwitcher/Version.rc | 42 ------------------- .../translitswitcher-translation.txt | 10 ----- 13 files changed, 152 insertions(+), 156 deletions(-) create mode 100644 plugins/TranslitSwitcher/Docs/translitswitcher-translation.txt create mode 100644 plugins/TranslitSwitcher/Res/Resource.rc create mode 100644 plugins/TranslitSwitcher/Res/Version.rc delete mode 100644 plugins/TranslitSwitcher/Resource.h delete mode 100644 plugins/TranslitSwitcher/Resource.rc create mode 100644 plugins/TranslitSwitcher/Src/Resource.h create mode 100644 plugins/TranslitSwitcher/Src/Version.h delete mode 100644 plugins/TranslitSwitcher/Version.h delete mode 100644 plugins/TranslitSwitcher/Version.rc delete mode 100644 plugins/TranslitSwitcher/translitswitcher-translation.txt (limited to 'plugins/TranslitSwitcher') diff --git a/plugins/TranslitSwitcher/Docs/translitswitcher-translation.txt b/plugins/TranslitSwitcher/Docs/translitswitcher-translation.txt new file mode 100644 index 0000000000..a505626cde --- /dev/null +++ b/plugins/TranslitSwitcher/Docs/translitswitcher-translation.txt @@ -0,0 +1,10 @@ +; Common strings that belong to many files +;[] + +; ../../plugins/TranslitSwitcher/Src/Layoutproc.cpp +;[TranslitSwitcher] + +; ../../plugins/TranslitSwitcher/Src/TranslitSwitcher.cpp +;[Invert Case and Send] +;[SwitchLayout and Send] +;[Translit and Send] diff --git a/plugins/TranslitSwitcher/Res/Resource.rc b/plugins/TranslitSwitcher/Res/Resource.rc new file mode 100644 index 0000000000..3019bbb1f4 --- /dev/null +++ b/plugins/TranslitSwitcher/Res/Resource.rc @@ -0,0 +1,48 @@ +// 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_SWITCHSEND ICON "SwitchSend.ico" +IDI_TRANSLITSEND ICON "TranslitSend.ico" +IDI_INVERTSEND ICON "InvertSend.ico" + + +#endif // Русский (Россия) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/plugins/TranslitSwitcher/Res/Version.rc b/plugins/TranslitSwitcher/Res/Version.rc new file mode 100644 index 0000000000..472bfbfe38 --- /dev/null +++ b/plugins/TranslitSwitcher/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 \ No newline at end of file diff --git a/plugins/TranslitSwitcher/Resource.h b/plugins/TranslitSwitcher/Resource.h deleted file mode 100644 index b98a6590c2..0000000000 --- a/plugins/TranslitSwitcher/Resource.h +++ /dev/null @@ -1,18 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by resources.rc -// -#define IDI_SWITCHSEND 101 -#define IDI_TRANSLITSEND 102 -#define IDI_INVERTSEND 103 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 104 -#define _APS_NEXT_COMMAND_VALUE 40001 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/plugins/TranslitSwitcher/Resource.rc b/plugins/TranslitSwitcher/Resource.rc deleted file mode 100644 index b405fa8e86..0000000000 --- a/plugins/TranslitSwitcher/Resource.rc +++ /dev/null @@ -1,48 +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_SWITCHSEND ICON "res/SwitchSend.ico" -IDI_TRANSLITSEND ICON "res/TranslitSend.ico" -IDI_INVERTSEND ICON "res/InvertSend.ico" - - -#endif // Русский (Россия) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/plugins/TranslitSwitcher/Src/Resource.h b/plugins/TranslitSwitcher/Src/Resource.h new file mode 100644 index 0000000000..b98a6590c2 --- /dev/null +++ b/plugins/TranslitSwitcher/Src/Resource.h @@ -0,0 +1,18 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by resources.rc +// +#define IDI_SWITCHSEND 101 +#define IDI_TRANSLITSEND 102 +#define IDI_INVERTSEND 103 + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 104 +#define _APS_NEXT_COMMAND_VALUE 40001 +#define _APS_NEXT_CONTROL_VALUE 1001 +#define _APS_NEXT_SYMED_VALUE 101 +#endif +#endif diff --git a/plugins/TranslitSwitcher/Src/TranslitSwitcher.h b/plugins/TranslitSwitcher/Src/TranslitSwitcher.h index 540a0cd1bd..ea29c2c7bf 100644 --- a/plugins/TranslitSwitcher/Src/TranslitSwitcher.h +++ b/plugins/TranslitSwitcher/Src/TranslitSwitcher.h @@ -38,8 +38,8 @@ Boston, MA 02111-1307, USA. #include "m_msg_buttonsbar.h" #include "m_popup.h" -#include "..\version.h" -#include "..\resource.h" +#include "version.h" +#include "resource.h" #include "m_smileyadd.h" #include "m_ieview.h" #include "m_popup2.h" diff --git a/plugins/TranslitSwitcher/Src/Version.h b/plugins/TranslitSwitcher/Src/Version.h new file mode 100644 index 0000000000..c186a42101 --- /dev/null +++ b/plugins/TranslitSwitcher/Src/Version.h @@ -0,0 +1,20 @@ +#define __MAJOR_VERSION 0 +#define __MINOR_VERSION 0 +#define __RELEASE_NUM 1 +#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 "Switch Layout or Transliterate" +#define __INTERNAL_NAME "TranslitSwitcher" +#define __FILENAME "TranslitSwitcher.dll" +#define __DESCRIPTION "Allows to switch a layout or transliterate or invert case of the entered text in the message window with SmileyAdd support." +#define __AUTHOR "Mataes, tico-tico, Tim" +#define __AUTHOREMAIL "mataes2007@gmail.com" +#define __AUTHORWEB "http://nightly.miranda.im/" +#define __COPYRIGHT "© 2011-2010 Mataes, tico-tico © 2007 Dmitry Titkov" diff --git a/plugins/TranslitSwitcher/TranslitSwitcher_10.vcxproj b/plugins/TranslitSwitcher/TranslitSwitcher_10.vcxproj index 3a775cda5c..905ac38d84 100644 --- a/plugins/TranslitSwitcher/TranslitSwitcher_10.vcxproj +++ b/plugins/TranslitSwitcher/TranslitSwitcher_10.vcxproj @@ -73,13 +73,12 @@ Disabled ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_WINDOWS;_USRDLL;TRANSLITSWIITCHER_EXPORTS;%(PreprocessorDefinitions) + WIN32;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) true EnableFastChecks MultiThreadedDebugDLL Level3 EditAndContinue - 4996 true @@ -97,11 +96,10 @@ Disabled ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - WIN64;_DEBUG;_WINDOWS;_USRDLL;TRANSLITSWIITCHER_EXPORTS;%(PreprocessorDefinitions) + WIN64;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL Level3 - 4996 true @@ -121,13 +119,12 @@ OnlyExplicitInline Size ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_WINDOWS;_USRDLL;TRANSLITSWIITCHER_EXPORTS;%(PreprocessorDefinitions) + WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) true false true Fast Level3 - 4996 Windows @@ -149,13 +146,12 @@ OnlyExplicitInline Size ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - WIN64;NDEBUG;_WINDOWS;_USRDLL;TRANSLITSWIITCHER_EXPORTS;%(PreprocessorDefinitions) + WIN64;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) true false true Fast Level3 - 4996 Windows @@ -172,17 +168,17 @@ - + - + - - + + diff --git a/plugins/TranslitSwitcher/TranslitSwitcher_10.vcxproj.filters b/plugins/TranslitSwitcher/TranslitSwitcher_10.vcxproj.filters index 409eda7983..4b7b7aa2a6 100644 --- a/plugins/TranslitSwitcher/TranslitSwitcher_10.vcxproj.filters +++ b/plugins/TranslitSwitcher/TranslitSwitcher_10.vcxproj.filters @@ -15,13 +15,13 @@ - + Header Files Header Files - + Header Files @@ -34,10 +34,10 @@ - + Resource Files - + Resource Files diff --git a/plugins/TranslitSwitcher/Version.h b/plugins/TranslitSwitcher/Version.h deleted file mode 100644 index c186a42101..0000000000 --- a/plugins/TranslitSwitcher/Version.h +++ /dev/null @@ -1,20 +0,0 @@ -#define __MAJOR_VERSION 0 -#define __MINOR_VERSION 0 -#define __RELEASE_NUM 1 -#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 "Switch Layout or Transliterate" -#define __INTERNAL_NAME "TranslitSwitcher" -#define __FILENAME "TranslitSwitcher.dll" -#define __DESCRIPTION "Allows to switch a layout or transliterate or invert case of the entered text in the message window with SmileyAdd support." -#define __AUTHOR "Mataes, tico-tico, Tim" -#define __AUTHOREMAIL "mataes2007@gmail.com" -#define __AUTHORWEB "http://nightly.miranda.im/" -#define __COPYRIGHT "© 2011-2010 Mataes, tico-tico © 2007 Dmitry Titkov" diff --git a/plugins/TranslitSwitcher/Version.rc b/plugins/TranslitSwitcher/Version.rc deleted file mode 100644 index f331bd1100..0000000000 --- a/plugins/TranslitSwitcher/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 \ No newline at end of file diff --git a/plugins/TranslitSwitcher/translitswitcher-translation.txt b/plugins/TranslitSwitcher/translitswitcher-translation.txt deleted file mode 100644 index a505626cde..0000000000 --- a/plugins/TranslitSwitcher/translitswitcher-translation.txt +++ /dev/null @@ -1,10 +0,0 @@ -; Common strings that belong to many files -;[] - -; ../../plugins/TranslitSwitcher/Src/Layoutproc.cpp -;[TranslitSwitcher] - -; ../../plugins/TranslitSwitcher/Src/TranslitSwitcher.cpp -;[Invert Case and Send] -;[SwitchLayout and Send] -;[Translit and Send] -- cgit v1.2.3