From 5d3ed8e22eb8a78a84b26bf13eca8f9dc9a9d182 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sun, 3 Mar 2013 16:16:55 +0000 Subject: added precompiled header added version info git-svn-id: http://svn.miranda-ng.org/main/trunk@3876 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ProfileManager/src/Common.h | 12 ++++++++++++ plugins/ProfileManager/src/Version.h | 14 ++++++++++++++ plugins/ProfileManager/src/pmanagerEx.cpp | 32 ++++++++++--------------------- plugins/ProfileManager/src/stdafx.cpp | 18 +++++++++++++++++ 4 files changed, 54 insertions(+), 22 deletions(-) create mode 100644 plugins/ProfileManager/src/Common.h create mode 100644 plugins/ProfileManager/src/Version.h create mode 100644 plugins/ProfileManager/src/stdafx.cpp (limited to 'plugins/ProfileManager/src') diff --git a/plugins/ProfileManager/src/Common.h b/plugins/ProfileManager/src/Common.h new file mode 100644 index 0000000000..1d8c64d6bc --- /dev/null +++ b/plugins/ProfileManager/src/Common.h @@ -0,0 +1,12 @@ +#define _CRT_SECURE_NO_WARNINGS + +#include + +#include +#include +#include +#include +#include + +#include "resource.h" +#include "Version.h" diff --git a/plugins/ProfileManager/src/Version.h b/plugins/ProfileManager/src/Version.h new file mode 100644 index 0000000000..4b36c32242 --- /dev/null +++ b/plugins/ProfileManager/src/Version.h @@ -0,0 +1,14 @@ +#define __MAJOR_VERSION 0 +#define __MINOR_VERSION 0 +#define __RELEASE_NUM 0 +#define __BUILD_NUM 5 + +#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM + +#define __PLUGIN_NAME "Miranda NG profile changer" +#define __FILENAME "PManagerEx.dll" +#define __DESCRIPTION "Adds a menu item to change or load a different profile of Miranda NG, restart or run a dbchecker." +#define __AUTHOR "Roman Gemini" +#define __AUTHOREMAIL "woobind@ukr.net" +#define __AUTHORWEB "http://miranda-ng.org/" +#define __COPYRIGHT "© 2008 - 2010 Roman Gemini" diff --git a/plugins/ProfileManager/src/pmanagerEx.cpp b/plugins/ProfileManager/src/pmanagerEx.cpp index b4e9a20329..0c186ba40e 100644 --- a/plugins/ProfileManager/src/pmanagerEx.cpp +++ b/plugins/ProfileManager/src/pmanagerEx.cpp @@ -6,21 +6,8 @@ This file is placed in the public domain. Anybody is free to use or modify it as they wish with no restriction. There is no warranty. */ -#define MIRANDA_VER 0x0A00 -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -#include "resource.h" +#include "Common.h" HINSTANCE hInst; @@ -31,15 +18,16 @@ int hLangpack; PLUGININFOEX pluginInfo={ sizeof(PLUGININFOEX), - "Miranda NG Profile Changer", - PLUGIN_MAKE_VERSION(0,0,0,5), - "Adds a menu item to change or load a different profile of Miranda NG, restart or run a dbchecker.", - "Roman Gemini", - "woobind@ukr.net", - "© 2008 - 2010 Roman Gemini", - "http://miranda-ng.org/", + __PLUGIN_NAME, + PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM), + __DESCRIPTION, + __AUTHOR, + __AUTHOREMAIL, + __COPYRIGHT, + __AUTHORWEB, UNICODE_AWARE, - {0x7eeeb55e, 0x9d83, 0x4e1a, { 0xa1, 0x2f, 0x8f, 0x13, 0xf1, 0xa1, 0x24, 0xfb } } + // {7EEEB55E-9D83-4E1A-A12F-8F13F1A124FbB} + {0x7eeeb55e, 0x9d83, 0x4e1a, {0xa1, 0x2f, 0x8f, 0x13, 0xf1, 0xa1, 0x24, 0xfb}} }; extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion) diff --git a/plugins/ProfileManager/src/stdafx.cpp b/plugins/ProfileManager/src/stdafx.cpp new file mode 100644 index 0000000000..1976d867da --- /dev/null +++ b/plugins/ProfileManager/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 "common.h" \ No newline at end of file -- cgit v1.2.3