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 --- plugins/TranslitSwitcher/src/TranslitSwitcher.cpp | 3 ++- plugins/TranslitSwitcher/src/TranslitSwitcher.h | 33 ++++++++++------------- plugins/TranslitSwitcher/src/Version.h | 8 +----- plugins/TranslitSwitcher/src/stdafx.cpp | 18 +++++++++++++ 4 files changed, 35 insertions(+), 27 deletions(-) create mode 100644 plugins/TranslitSwitcher/src/stdafx.cpp (limited to 'plugins/TranslitSwitcher/src') 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