summaryrefslogtreecommitdiff
path: root/plugins/ClientChangeNotify/src
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-10-20 17:37:53 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-10-20 17:37:53 +0000
commit13ff5e8e9ff54af333a2d11d439122515addb0b5 (patch)
tree4d0cf8fba7d104070f72a8d2c8fb34dd0c7fde81 /plugins/ClientChangeNotify/src
parent761b24e09c32b49cabbebb97106da55459d112e7 (diff)
version info standartization
git-svn-id: http://svn.miranda-ng.org/main/trunk@2001 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ClientChangeNotify/src')
-rw-r--r--plugins/ClientChangeNotify/src/ClientChangeNotify.cpp28
-rw-r--r--plugins/ClientChangeNotify/src/Common.h21
-rw-r--r--plugins/ClientChangeNotify/src/OptDlg.cpp2
-rw-r--r--plugins/ClientChangeNotify/src/Version.h (renamed from plugins/ClientChangeNotify/src/VersionNo.h)9
4 files changed, 30 insertions, 30 deletions
diff --git a/plugins/ClientChangeNotify/src/ClientChangeNotify.cpp b/plugins/ClientChangeNotify/src/ClientChangeNotify.cpp
index e376ef2d17..23d19e31c5 100644
--- a/plugins/ClientChangeNotify/src/ClientChangeNotify.cpp
+++ b/plugins/ClientChangeNotify/src/ClientChangeNotify.cpp
@@ -18,17 +18,6 @@
*/
#include "Common.h"
-#include "Misc.h"
-#include "VersionNo.h"
-#include "m_message.h"
-#include "m_userinfo.h"
-#include "m_history.h"
-#include "m_protocols.h"
-#include "m_protosvc.h"
-#include "m_metacontacts.h"
-#include "m_icolib.h"
-#include "m_genmenu.h"
-#include "m_ContactSettings.h"
HINSTANCE g_hInstance;
HANDLE g_hMainThread;
@@ -39,13 +28,13 @@ COptPage *g_PreviewOptPage; // we need to show popup even for the NULL contact i
PLUGININFOEX pluginInfo = {
sizeof(PLUGININFOEX),
- "ClientChangeNotify",
+ __PLUGIN_NAME,
PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
- "ClientChangeNotify plugin for Miranda IM.",
- "Deathdemon",
- "dchervov@yahoo.com",
- "© 2006-2008 Chervov Dmitry",
- "http://miranda-ng.org/",
+ __DESCRIPTION,
+ __AUTHOR,
+ __AUTHOREMAIL,
+ __COPYRIGHT,
+ __AUTHORWEB,
UNICODE_AWARE,
// {B68A8906-748B-435d-930E-21CC6E8F3B3F}
{0xb68a8906, 0x748b, 0x435d, {0x93, 0xe, 0x21, 0xcc, 0x6e, 0x8f, 0x3b, 0x3f}}
@@ -57,11 +46,6 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
return TRUE;
}
-#define MIID_CLIENTCHANGENOTIFY {0xe9d1f0d4, 0xd65d, 0x4840, {0x87, 0xbd, 0x59, 0xd7, 0xb4, 0x70, 0x2c, 0x47}}
-// {E9D1F0D4-D65D-4840-87BD-59D7B4702C47}
-
-extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = {MIID_CLIENTCHANGENOTIFY, MIID_LAST};
-
extern "C" __declspec(dllexport) PLUGININFOEX *MirandaPluginInfoEx(DWORD mirandaVersion)
{
return &pluginInfo;
diff --git a/plugins/ClientChangeNotify/src/Common.h b/plugins/ClientChangeNotify/src/Common.h
index 62d41732a7..478c982bbf 100644
--- a/plugins/ClientChangeNotify/src/Common.h
+++ b/plugins/ClientChangeNotify/src/Common.h
@@ -31,7 +31,6 @@
#include <shellapi.h>
#include <commdlg.h>
-#include "resource.h"
#include "newpluginapi.h"
#include "statusmodes.h"
#include "m_popup.h"
@@ -41,17 +40,27 @@
#include "m_clist.h"
#include "m_LogService.h"
#include "m_system.h"
+#include "m_message.h"
+#include "m_userinfo.h"
+#include "m_history.h"
+#include "m_protocols.h"
+#include "m_protosvc.h"
+#include "m_icolib.h"
+#include "m_genmenu.h"
+#include "win2k.h"
+
#include "m_fingerprint.h"
+#include "m_metacontacts.h"
+#include "m_ContactSettings.h"
+
#include "..\CommonLibs\TMyArray.h"
#include "..\CommonLibs\Options.h"
#include "..\CommonLibs\CString.h"
#include "..\CommonLibs\pcre.h"
-#pragma comment(lib,"comctl32.lib")
-
-#ifndef lengthof
-#define lengthof(s) (sizeof(s) / sizeof((s)[0]))
-#endif
+#include "resource.h"
+#include "Misc.h"
+#include "Version.h"
// Actions on popup click
#define PCA_OPENMESSAGEWND 0 // open message window
diff --git a/plugins/ClientChangeNotify/src/OptDlg.cpp b/plugins/ClientChangeNotify/src/OptDlg.cpp
index 164e51e795..ac196f72c7 100644
--- a/plugins/ClientChangeNotify/src/OptDlg.cpp
+++ b/plugins/ClientChangeNotify/src/OptDlg.cpp
@@ -18,8 +18,6 @@
*/
#include "Common.h"
-#include "Misc.h"
-
// ================================================ Popup options ================================================
diff --git a/plugins/ClientChangeNotify/src/VersionNo.h b/plugins/ClientChangeNotify/src/Version.h
index 13ba7afb9f..5e8d556bcb 100644
--- a/plugins/ClientChangeNotify/src/VersionNo.h
+++ b/plugins/ClientChangeNotify/src/Version.h
@@ -9,3 +9,12 @@
#define __STRINGIFY_IMPL(x) #x
#define __STRINGIFY(x) __STRINGIFY_IMPL(x)
#define __VERSION_STRING __STRINGIFY(__FILEVERSION_DOTS)
+
+#define __PLUGIN_NAME "Client Change Notify"
+#define __INTERNAL_NAME "ClientChangeNotify"
+#define __FILENAME "ClientChangeNotify.dll"
+#define __DESCRIPTION "ClientChangeNotify plugin for Miranda NG."
+#define __AUTHOR "Deathdemon"
+#define __AUTHOREMAIL "dchervov@yahoo.com"
+#define __AUTHORWEB "http://miranda-ng.org/"
+#define __COPYRIGHT "© 2006-2008 Chervov Dmitry"