/** * 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 "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}}