summaryrefslogtreecommitdiff
path: root/plugins/CyrTranslit/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CyrTranslit/src')
-rw-r--r--plugins/CyrTranslit/src/MirandaContact.cpp2
-rw-r--r--plugins/CyrTranslit/src/TransliterationMap.cpp1
-rw-r--r--plugins/CyrTranslit/src/TransliterationProtocol.cpp3
-rw-r--r--plugins/CyrTranslit/src/main.cpp1
-rw-r--r--plugins/CyrTranslit/src/plugin.h30
-rw-r--r--plugins/CyrTranslit/src/stdafx.cpp18
-rw-r--r--plugins/CyrTranslit/src/version.h18
7 files changed, 32 insertions, 41 deletions
diff --git a/plugins/CyrTranslit/src/MirandaContact.cpp b/plugins/CyrTranslit/src/MirandaContact.cpp
index 045199f45d..3240e1fe35 100644
--- a/plugins/CyrTranslit/src/MirandaContact.cpp
+++ b/plugins/CyrTranslit/src/MirandaContact.cpp
@@ -18,8 +18,6 @@
*/
#include "plugin.h"
-#include "MirandaContact.h"
-#include "TransliterationProtocol.h"
namespace CyrTranslit
{
diff --git a/plugins/CyrTranslit/src/TransliterationMap.cpp b/plugins/CyrTranslit/src/TransliterationMap.cpp
index 0e763fa854..99919a5960 100644
--- a/plugins/CyrTranslit/src/TransliterationMap.cpp
+++ b/plugins/CyrTranslit/src/TransliterationMap.cpp
@@ -18,7 +18,6 @@
*/
#include "plugin.h"
-#include "TransliterationMap.h"
namespace CyrTranslit
{
diff --git a/plugins/CyrTranslit/src/TransliterationProtocol.cpp b/plugins/CyrTranslit/src/TransliterationProtocol.cpp
index e261458934..ecb650571f 100644
--- a/plugins/CyrTranslit/src/TransliterationProtocol.cpp
+++ b/plugins/CyrTranslit/src/TransliterationProtocol.cpp
@@ -18,9 +18,6 @@
*/
#include "plugin.h"
-#include "MirandaContact.h"
-#include "TransliterationProtocol.h"
-#include "TransliterationMap.h"
namespace CyrTranslit
{
diff --git a/plugins/CyrTranslit/src/main.cpp b/plugins/CyrTranslit/src/main.cpp
index 8266dd748d..589d406e0f 100644
--- a/plugins/CyrTranslit/src/main.cpp
+++ b/plugins/CyrTranslit/src/main.cpp
@@ -18,7 +18,6 @@
*/
#include "plugin.h"
-#include "MirandaContact.h"
HINSTANCE hInst;
int hLangpack = 0;
diff --git a/plugins/CyrTranslit/src/plugin.h b/plugins/CyrTranslit/src/plugin.h
index f136504e2f..f6503b8140 100644
--- a/plugins/CyrTranslit/src/plugin.h
+++ b/plugins/CyrTranslit/src/plugin.h
@@ -16,31 +16,19 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#pragma once
-
-/****** SYSTEM OPTIONS *******************************************************/
-
-// set compatibility lever for Miranda 0.4.x
-#define MIRANDA_VER 0x0400
-
-// for windows:
#define _CRT_SECURE_NO_WARNINGS
-#pragma warning (disable : 4312) /*C4312: 'type cast' : conversion from 'int' to 'char *' of greater size */
-
-
-
-/****** INCLUDES *************************************************************/
#include <windows.h>
#include <map>
-#include <string>
-#include "newpluginapi.h"
-#include "m_database.h"
-#include "m_protomod.h"
-#include "m_protosvc.h"
-#include "m_system.h"
-#include "m_clist.h"
-#include "m_langpack.h"
+
+#include <newpluginapi.h>
+#include <m_database.h>
+#include <m_protomod.h>
+#include <m_clist.h>
+#include <m_langpack.h>
#include "version.h"
+#include "MirandaContact.h"
+#include "TransliterationMap.h"
+#include "TransliterationProtocol.h"
diff --git a/plugins/CyrTranslit/src/stdafx.cpp b/plugins/CyrTranslit/src/stdafx.cpp
new file mode 100644
index 0000000000..96747e025f
--- /dev/null
+++ b/plugins/CyrTranslit/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 "plugin.h" \ No newline at end of file
diff --git a/plugins/CyrTranslit/src/version.h b/plugins/CyrTranslit/src/version.h
index 2e0ac428da..9f6cab9081 100644
--- a/plugins/CyrTranslit/src/version.h
+++ b/plugins/CyrTranslit/src/version.h
@@ -23,19 +23,11 @@
#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 "CyrTranslit"
-#define __INTERNAL_NAME "CyrTranslit"
+#define __PLUGIN_NAME "CyrTranslit"
#define __FILENAME "CyrTranslit.dll"
-#define __DESCRIPTION "Replaces (for the selected contacts only) the Cyrillic letters in the "\
- "outgoing messages with the phonetically equivalent Latin letter "\
- "combinations."
+#define __DESCRIPTION "Replaces (for the selected contacts only) the Cyrillic letters in the outgoing messages with the phonetically equivalent Latin letter combinations."
#define __AUTHOR "ValeraVi, Ivan Krechetov"
-#define __AUTHOREMAIL "valeravi@vi-soft.com.ua"
-#define __AUTHORWEB "http://miranda-ng.org/"
-#define __COPYRIGHT "© 2005-2009 ValeraVi, Ivan Krechetov"
+#define __AUTHOREMAIL "valeravi@vi-soft.com.ua"
+#define __AUTHORWEB "http://miranda-ng.org/"
+#define __COPYRIGHT "© 2005-2009 ValeraVi, Ivan Krechetov"