summaryrefslogtreecommitdiff
path: root/plugins/CyrTranslit/plugin.h
blob: 95bddb306ef246a186bcc793c3d414dca4169b95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
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}}