From 1f3f113b2ec9edcde5122b0ea9313b98d83ba55e Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sun, 10 Mar 2013 14:55:13 +0000 Subject: added precompiled header git-svn-id: http://svn.miranda-ng.org/main/trunk@3961 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- .../TranslitSwitcher/TranslitSwitcher_10.vcxproj | 11 ++++++++ .../TranslitSwitcher_10.vcxproj.filters | 3 ++ .../TranslitSwitcher/TranslitSwitcher_11.vcxproj | 15 ++++++++-- .../TranslitSwitcher_11.vcxproj.filters | 3 ++ plugins/TranslitSwitcher/res/Version.rc | 6 +--- plugins/TranslitSwitcher/src/TranslitSwitcher.cpp | 3 +- plugins/TranslitSwitcher/src/TranslitSwitcher.h | 33 +++++++++------------- plugins/TranslitSwitcher/src/Version.h | 8 +----- plugins/TranslitSwitcher/src/stdafx.cpp | 18 ++++++++++++ 9 files changed, 66 insertions(+), 34 deletions(-) create mode 100644 plugins/TranslitSwitcher/src/stdafx.cpp (limited to 'plugins/TranslitSwitcher') diff --git a/plugins/TranslitSwitcher/TranslitSwitcher_10.vcxproj b/plugins/TranslitSwitcher/TranslitSwitcher_10.vcxproj index ac6c39209d..56e3b04329 100644 --- a/plugins/TranslitSwitcher/TranslitSwitcher_10.vcxproj +++ b/plugins/TranslitSwitcher/TranslitSwitcher_10.vcxproj @@ -80,6 +80,8 @@ Level3 EditAndContinue false + Use + TranslitSwitcher.h true @@ -102,6 +104,8 @@ MultiThreadedDebugDLL Level3 false + Use + TranslitSwitcher.h true @@ -128,6 +132,8 @@ Fast Level3 false + Use + TranslitSwitcher.h Windows @@ -157,6 +163,8 @@ Fast Level3 false + Use + TranslitSwitcher.h Windows @@ -180,6 +188,9 @@ + + Create + diff --git a/plugins/TranslitSwitcher/TranslitSwitcher_10.vcxproj.filters b/plugins/TranslitSwitcher/TranslitSwitcher_10.vcxproj.filters index 4b7b7aa2a6..48b17414cd 100644 --- a/plugins/TranslitSwitcher/TranslitSwitcher_10.vcxproj.filters +++ b/plugins/TranslitSwitcher/TranslitSwitcher_10.vcxproj.filters @@ -32,6 +32,9 @@ Source Files + + Source Files + diff --git a/plugins/TranslitSwitcher/TranslitSwitcher_11.vcxproj b/plugins/TranslitSwitcher/TranslitSwitcher_11.vcxproj index 1aea178b27..c1e3fe8685 100644 --- a/plugins/TranslitSwitcher/TranslitSwitcher_11.vcxproj +++ b/plugins/TranslitSwitcher/TranslitSwitcher_11.vcxproj @@ -84,6 +84,8 @@ Level3 EditAndContinue false + Use + TranslitSwitcher.h true @@ -106,6 +108,8 @@ MultiThreadedDebugDLL Level3 false + Use + TranslitSwitcher.h true @@ -125,13 +129,15 @@ OnlyExplicitInline Size ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) true false true Fast Level3 false + Use + TranslitSwitcher.h Windows @@ -154,13 +160,15 @@ OnlyExplicitInline Size ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - WIN64;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + WIN64;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) true false true Fast Level3 false + Use + TranslitSwitcher.h Windows @@ -184,6 +192,9 @@ + + Create + diff --git a/plugins/TranslitSwitcher/TranslitSwitcher_11.vcxproj.filters b/plugins/TranslitSwitcher/TranslitSwitcher_11.vcxproj.filters index 4b7b7aa2a6..48b17414cd 100644 --- a/plugins/TranslitSwitcher/TranslitSwitcher_11.vcxproj.filters +++ b/plugins/TranslitSwitcher/TranslitSwitcher_11.vcxproj.filters @@ -32,6 +32,9 @@ Source Files + + Source Files + diff --git a/plugins/TranslitSwitcher/res/Version.rc b/plugins/TranslitSwitcher/res/Version.rc index 472bfbfe38..5bfbab4754 100644 --- a/plugins/TranslitSwitcher/res/Version.rc +++ b/plugins/TranslitSwitcher/res/Version.rc @@ -7,10 +7,6 @@ #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 @@ -39,4 +35,4 @@ BEGIN BEGIN VALUE "Translation", 0x0, 1200 END -END \ No newline at end of file +END diff --git a/plugins/TranslitSwitcher/src/TranslitSwitcher.cpp b/plugins/TranslitSwitcher/src/TranslitSwitcher.cpp index 48f2111f44..71ea12157a 100644 --- a/plugins/TranslitSwitcher/src/TranslitSwitcher.cpp +++ b/plugins/TranslitSwitcher/src/TranslitSwitcher.cpp @@ -33,7 +33,8 @@ PLUGININFOEX pluginInfoEx = { __COPYRIGHT, __AUTHORWEB, UNICODE_AWARE, - { 0x286947d, 0x3140, 0x4222, { 0xb5, 0xad, 0x2c, 0x92, 0x31, 0x5e, 0x1c, 0x1e } } // {0286947D-3140-4222-B5AD-2C92315E1C1E} + // {0286947D-3140-4222-B5AD-2C92315E1C1E} + {0x286947d, 0x3140, 0x4222, {0xb5, 0xad, 0x2c, 0x92, 0x31, 0x5e, 0x1c, 0x1e}} }; static IconItem iconList[] = diff --git a/plugins/TranslitSwitcher/src/TranslitSwitcher.h b/plugins/TranslitSwitcher/src/TranslitSwitcher.h index e3c84eb0cb..6bcb9dab3b 100644 --- a/plugins/TranslitSwitcher/src/TranslitSwitcher.h +++ b/plugins/TranslitSwitcher/src/TranslitSwitcher.h @@ -17,34 +17,29 @@ not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#define MIRANDA_VER 0x0A00 - -#define _CRT_SECURE_NO_WARNINGS - #ifndef __TRANSLITSWIITCHER_H__ #define __TRANSLITSWIITCHER_H__ +#define _CRT_SECURE_NO_WARNINGS + #include #include -#include -#include - -#include "newpluginapi.h" -#include "m_options.h" -#include "m_langpack.h" -#include "m_database.h" -#include "m_hotkeys.h" -#include "m_protosvc.h" -#include "win2k.h" + +#include +#include +#include +#include +#include #include -#include "m_msg_buttonsbar.h" -#include "m_popup.h" +#include + +#include +#include +#include +#include #include "version.h" #include "resource.h" -#include "m_smileyadd.h" -#include "m_ieview.h" -#include "m_popup2.h" #define IDC_MESSAGE 1002 #define IDC_CHATMESSAGE 1009 diff --git a/plugins/TranslitSwitcher/src/Version.h b/plugins/TranslitSwitcher/src/Version.h index 62c32d5a7b..c37a42cc74 100644 --- a/plugins/TranslitSwitcher/src/Version.h +++ b/plugins/TranslitSwitcher/src/Version.h @@ -4,14 +4,8 @@ #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 __PLUGIN_NAME "Switch layout or transliterate" #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" diff --git a/plugins/TranslitSwitcher/src/stdafx.cpp b/plugins/TranslitSwitcher/src/stdafx.cpp new file mode 100644 index 0000000000..a3b243ddf5 --- /dev/null +++ b/plugins/TranslitSwitcher/src/stdafx.cpp @@ -0,0 +1,18 @@ +/* +Copyright (C) 2012-13 Miranda NG Project (http://miranda-ng.org) + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation version 2 +of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include "TranslitSwitcher.h" \ No newline at end of file -- cgit v1.2.3