summaryrefslogtreecommitdiff
path: root/plugins/TranslitSwitcher/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TranslitSwitcher/src')
-rw-r--r--plugins/TranslitSwitcher/src/TranslitSwitcher.cpp3
-rw-r--r--plugins/TranslitSwitcher/src/TranslitSwitcher.h33
-rw-r--r--plugins/TranslitSwitcher/src/Version.h8
-rw-r--r--plugins/TranslitSwitcher/src/stdafx.cpp18
4 files changed, 35 insertions, 27 deletions
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 <windows.h>
#include <commctrl.h>
-#include <richedit.h>
-#include <time.h>
-
-#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 <newpluginapi.h>
+#include <m_langpack.h>
+#include <m_database.h>
+#include <m_hotkeys.h>
+#include <win2k.h>
#include <m_icolib.h>
-#include "m_msg_buttonsbar.h"
-#include "m_popup.h"
+#include <m_popup.h>
+
+#include <m_msg_buttonsbar.h>
+#include <m_smileyadd.h>
+#include <m_ieview.h>
+#include <m_popup2.h>
#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 <http://www.gnu.org/licenses/>.
+*/
+
+#include "TranslitSwitcher.h" \ No newline at end of file