diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-03-03 16:16:55 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-03-03 16:16:55 +0000 |
commit | 5d3ed8e22eb8a78a84b26bf13eca8f9dc9a9d182 (patch) | |
tree | a391a885238507c147e4a1f51dbd65c42c93714f /plugins/ProfileManager/src | |
parent | 954ed085481b2e878959e442772ecc5978a1d8d8 (diff) |
added precompiled header
added version info
git-svn-id: http://svn.miranda-ng.org/main/trunk@3876 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ProfileManager/src')
-rw-r--r-- | plugins/ProfileManager/src/Common.h | 12 | ||||
-rw-r--r-- | plugins/ProfileManager/src/Version.h | 14 | ||||
-rw-r--r-- | plugins/ProfileManager/src/pmanagerEx.cpp | 32 | ||||
-rw-r--r-- | plugins/ProfileManager/src/stdafx.cpp | 18 |
4 files changed, 54 insertions, 22 deletions
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 <windows.h>
+
+#include <newpluginapi.h>
+#include <m_langpack.h>
+#include <m_genmenu.h>
+#include <m_utils.h>
+#include <win2k.h>
+
+#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 <tchar.h>
-#include <windows.h>
-
-#include <newpluginapi.h>
-#include <m_clist.h>
-#include <m_skin.h>
-#include <m_langpack.h>
-#include <m_system.h>
-#include <m_genmenu.h>
-#include <m_utils.h>
-#include <win2k.h>
-
-#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 <http://www.gnu.org/licenses/>.
+*/
+
+#include "common.h"
\ No newline at end of file |