From 1749350c4ae58f48b034aa373941dcf0edf8c969 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 8 Mar 2013 10:59:29 +0000 Subject: added precompiled header added version info git-svn-id: http://svn.miranda-ng.org/main/trunk@3915 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Rate/src/Version.h | 14 ++++++++++++++ plugins/Rate/src/commonheaders.h | 23 ++++------------------- plugins/Rate/src/main.cpp | 18 +++++++++--------- plugins/Rate/src/stdafx.cpp | 18 ++++++++++++++++++ 4 files changed, 45 insertions(+), 28 deletions(-) create mode 100644 plugins/Rate/src/Version.h create mode 100644 plugins/Rate/src/stdafx.cpp (limited to 'plugins/Rate/src') diff --git a/plugins/Rate/src/Version.h b/plugins/Rate/src/Version.h new file mode 100644 index 0000000000..90fe5313dd --- /dev/null +++ b/plugins/Rate/src/Version.h @@ -0,0 +1,14 @@ +#define __MAJOR_VERSION 0 +#define __MINOR_VERSION 0 +#define __RELEASE_NUM 2 +#define __BUILD_NUM 1 + +#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM + +#define __PLUGIN_NAME "Contact`s rate" +#define __FILENAME "Rate.dll" +#define __DESCRIPTION "Shows rating of contact in contact list (if presents)." +#define __AUTHOR "Kildor, Thief" +#define __AUTHOREMAIL "kostia@ngs.ru" +#define __AUTHORWEB "http://miranda-ng.org/" +#define __COPYRIGHT " 2006-2009 Kostia Romanov, based on AuthState by Alexander Turyak" diff --git a/plugins/Rate/src/commonheaders.h b/plugins/Rate/src/commonheaders.h index bdced5d33b..8fe6e4011b 100644 --- a/plugins/Rate/src/commonheaders.h +++ b/plugins/Rate/src/commonheaders.h @@ -16,12 +16,6 @@ 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 - - File name : $URL: http://svn.mirandaim.ru/mainrepo/authstate/trunk/commonheaders.h $ - Revision : $Rev: 222 $ - Last change on : $Date: 2006-09-26 05:54:03 +0700 (Вт, 26 сен 2006) $ - Last change by : $Author: Thief $ - */ #ifndef COMMHEADERS_H @@ -29,26 +23,17 @@ #define _CRT_SECURE_NO_WARNINGS -//Miranda API headers #include + #include #include #include -#include -//#include -#include -#include -#include #include -#include -#include "resource.h" - -//external SDK headers #include -#define MODULENAME "Rate" +#include "resource.h" +#include "Version.h" -/* 0e2866a8-6f4c-4132-98ae-6afdb8766c48 */ -#define MIID_CONTACTSRATE {0x0e2866a8, 0x6f4c, 0x4132, {0x98, 0xae, 0x6a, 0xfd, 0xb8, 0x76, 0x6c, 0x48}} +#define MODULENAME "Rate" #endif //COMMHEADERS_H diff --git a/plugins/Rate/src/main.cpp b/plugins/Rate/src/main.cpp index 0d00e56a9b..364a10214f 100644 --- a/plugins/Rate/src/main.cpp +++ b/plugins/Rate/src/main.cpp @@ -43,19 +43,19 @@ int hLangpack; PLUGININFOEX pluginInfo={ sizeof(PLUGININFOEX), - "Contact`s Rate", - PLUGIN_MAKE_VERSION(0,0,2,1), - "Shows rating of contact in contact list (if presents).", - "Kildor, Thief", - "kostia@ngs.ru", - " 2006-2009 Kostia Romanov, based on AuthState by Alexander Turyak", - "http://miranda-ng.org/", + __PLUGIN_NAME, + PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM), + __DESCRIPTION, + __AUTHOR, + __AUTHOREMAIL, + __COPYRIGHT, + __AUTHORWEB, UNICODE_AWARE, - // 45230488-977b-405b-856d-ea276d7083b7 + // {45230488-977B-405B-856D-EA276D7083B7} {0x45230488, 0x977b, 0x405b, {0x85, 0x6d, 0xea, 0x27, 0x6d, 0x70, 0x83, 0xb7}} }; -extern "C" BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved) +BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) { g_hInst = hinstDLL; return TRUE; diff --git a/plugins/Rate/src/stdafx.cpp b/plugins/Rate/src/stdafx.cpp new file mode 100644 index 0000000000..e7e41dae3c --- /dev/null +++ b/plugins/Rate/src/stdafx.cpp @@ -0,0 +1,18 @@ +/* +Copyright (C) 2012-13 Miranda NG Project (http://miranda-ng.org) + +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 version 2 +of the License. + +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, see . +*/ + +#include "commonheaders.h" \ No newline at end of file -- cgit v1.2.3