From cb4a46e7fbe62d788e66ed6121c717a2d22a4d7c Mon Sep 17 00:00:00 2001 From: watcherhd Date: Thu, 21 Apr 2011 14:14:52 +0000 Subject: svn.miranda.im is moving to a new home! git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@7 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb --- CyrTranslit/plugin.h | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 CyrTranslit/plugin.h (limited to 'CyrTranslit/plugin.h') diff --git a/CyrTranslit/plugin.h b/CyrTranslit/plugin.h new file mode 100644 index 0000000..6c6082c --- /dev/null +++ b/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 +#include +#include +#include "../../miranda/include/newpluginapi.h" +#include "../../miranda/include/m_database.h" +#include "../../miranda/include/m_protomod.h" +#include "../../miranda/include/m_protosvc.h" +#include "../../miranda/include/m_system.h" +#include "../../miranda/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}} + + -- cgit v1.2.3