From 1485334c199bac70572ba14fce272afabebc4c04 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Mon, 7 Oct 2013 06:16:46 +0000 Subject: Xfire: version info added git-svn-id: http://svn.miranda-ng.org/main/trunk@6387 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Xfire/src/main.cpp | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) (limited to 'protocols/Xfire/src/main.cpp') diff --git a/protocols/Xfire/src/main.cpp b/protocols/Xfire/src/main.cpp index b1249b8b69..9edf15f981 100644 --- a/protocols/Xfire/src/main.cpp +++ b/protocols/Xfire/src/main.cpp @@ -80,6 +80,7 @@ #include "Xfire_voicechat.h" #include "variables.h" +#include "version.h" #include #include @@ -127,17 +128,18 @@ extern LPtsrGetServerInfo tsrGetServerInfo; HANDLE hGameDetection = CreateEvent(NULL,FALSE,FALSE,NULL); HANDLE hConnectionClose = CreateEvent(NULL,TRUE,FALSE,NULL); -PLUGININFOEX pluginInfoEx={ - sizeof(PLUGININFOEX), - "Xfire protocol", - PLUGIN_MAKE_VERSION(0,1,8,4), - "Xfire protocol support for Miranda NG.", - "dufte", - "dufte@justmail.de", - "(c) 2012 Xfirelib by Herbert Poul, Xfire Miranda protocol plugin by dufte", - "http://miranda-ng.org", - UNICODE_AWARE, - { 0x9b8e1735, 0x970d, 0x4ce0, { 0x93, 0xc, 0xa5, 0x61, 0x95, 0x6b, 0xdc, 0xa2 } } // {9B8E1735-970D-4ce0-930C-A561956BDCA2} +PLUGININFOEX pluginInfo = { + sizeof(PLUGININFOEX), + __PLUGIN_NAME, + PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM), + __DESCRIPTION, + __AUTHOR, + __AUTHOREMAIL, + __COPYRIGHT, + __AUTHORWEB, + UNICODE_AWARE, + // {9B8E1735-970D-4ce0-930C-A561956BDCA2} + {0x9b8e1735, 0x970d, 0x4ce0, {0x93, 0xc, 0xa5, 0x61, 0x95, 0x6b, 0xdc, 0xa2}} }; static IconItem icon = { LPGEN("Protocol icon"), "XFIRE_main", IDI_TM }; @@ -758,7 +760,7 @@ void XFireClient::sendmsg(char*usr,char*cmsg) { extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD) { - return &pluginInfoEx; + return &pluginInfo; } //===================================================== @@ -1055,7 +1057,7 @@ int ExtraImageApply(WPARAM wparam, LPARAM lparam) extern "C" __declspec(dllexport) int Load(void) { - mir_getLP(&pluginInfoEx); + mir_getLP(&pluginInfo); InitializeCriticalSection(&modeMsgsMutex); InitializeCriticalSection(&connectingMutex); -- cgit v1.2.3