summaryrefslogtreecommitdiff
path: root/plugins/CyrTranslit/plugin.h
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-06-08 22:17:41 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-06-08 22:17:41 +0000
commit76c78477a8d4fa8b1a56049ffde6b36f6205b13d (patch)
tree0567e30e783dfa4824fbe20c45912dc213dd53ea /plugins/CyrTranslit/plugin.h
parent7e61d4900d9b99958f863cd2f56fc3cd4e800600 (diff)
CyrTranslit added
git-svn-id: http://svn.miranda-ng.org/main/trunk@368 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CyrTranslit/plugin.h')
-rw-r--r--plugins/CyrTranslit/plugin.h63
1 files changed, 63 insertions, 0 deletions
diff --git a/plugins/CyrTranslit/plugin.h b/plugins/CyrTranslit/plugin.h
new file mode 100644
index 0000000000..95bddb306e
--- /dev/null
+++ b/plugins/CyrTranslit/plugin.h
@@ -0,0 +1,63 @@
+/**
+ * Plugin.H: Main common header of MirandaIM plugin
+ * Copyright 2009 Valeriy V. Vyshnyak.
+ *
+ * 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; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * 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, 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"
+
+
+
+/****** PLUGIN DEFINES *******************************************************/
+
+// pluginInfo:
+#define PLG_SHORTNAME "CyrTranslit (UNICODE)"
+#define PLG_VERSION PLUGIN_MAKE_VERSION(1, 0, 3, 0)
+#define PLG_DESCRIPTION "Replaces (for the selected contacts only) the Cyrillic letters in the "\
+ "outgoing messages with the phonetically equivalent Latin letter "\
+ "combinations."
+#define PLG_AUTHOR "ValeraVi, Ivan Krechetov"
+#define PLG_AUTHOREMAIL "valeravi@vi-soft.com.ua"
+#define PLG_COPYRIGHT "© 2005-2009 ValeraVi, Ivan Krechetov"
+#define PLG_HOMEPAGE "http://www.vi-soft.com.ua"
+#define PLG_FLAGS 0 /*UNICODE_AWARE, will be set dynamically*/
+#define PLG_REPLACESDEFMODULE 0 /*doesn't replace anything built-in*/
+#define MIID_V_CYRTRANSLIT {0xbcec0bd7, 0xca59, 0x44b2, {0x9a, 0x14, 0x3a, 0x14, 0x98, 0x0f, 0x52, 0x4a}}
+
+