diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-02-10 14:54:43 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-02-10 14:54:43 +0000 |
commit | 864f900f46c6cf643fe44b413432cd47f2a23c90 (patch) | |
tree | 0310335b7fa73140a398105b671d590dbb3b801f /plugins/Clist_mw/src | |
parent | 3267fed9ad218524f78b5bcbf9feb7348902b80b (diff) |
added version info
git-svn-id: http://svn.miranda-ng.org/main/trunk@3531 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_mw/src')
-rw-r--r-- | plugins/Clist_mw/src/Version.h | 14 | ||||
-rw-r--r-- | plugins/Clist_mw/src/commonheaders.h | 36 | ||||
-rw-r--r-- | plugins/Clist_mw/src/init.cpp | 19 | ||||
-rw-r--r-- | plugins/Clist_mw/src/resource.h | 4 |
4 files changed, 35 insertions, 38 deletions
diff --git a/plugins/Clist_mw/src/Version.h b/plugins/Clist_mw/src/Version.h new file mode 100644 index 0000000000..1e83b27e7f --- /dev/null +++ b/plugins/Clist_mw/src/Version.h @@ -0,0 +1,14 @@ +#define __MAJOR_VERSION 0
+#define __MINOR_VERSION 9
+#define __RELEASE_NUM 0
+#define __BUILD_NUM 0
+
+#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
+
+#define __PLUGIN_NAME "MultiWindow contact list"
+#define __FILENAME "Clist_mw.dll"
+#define __DESCRIPTION "Displays contacts, event notifications, protocol status with MW modifications."
+#define __AUTHOR ""
+#define __AUTHOREMAIL "bethoven@mailgate.ru"
+#define __AUTHORWEB "http://miranda-ng.org/"
+#define __COPYRIGHT "Copyright 2000-2010 Miranda IM project, 2012 Miranda NG project."
diff --git a/plugins/Clist_mw/src/commonheaders.h b/plugins/Clist_mw/src/commonheaders.h index 0422ce93fa..4faf052f07 100644 --- a/plugins/Clist_mw/src/commonheaders.h +++ b/plugins/Clist_mw/src/commonheaders.h @@ -24,53 +24,37 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #ifndef _COMMON_HEADERS_H_
#define _COMMON_HEADERS_H_ 1
-#define MIRANDA_VER 0x0A00
-
#define _WIN32_WINNT 0x0501
#define _WIN32_IE 0x0501
-#include "m_stdhdr.h"
-
#include <windows.h>
-#include <commctrl.h>
#include <vssym32.h>
-#include <stdio.h>
#include <time.h>
#include <stddef.h>
-#include <process.h>
-#include <io.h>
-#include <string.h>
-#include <direct.h>
-#include "resource.h"
-#include <win2k.h>
+#include <m_stdhdr.h>
#include <newpluginapi.h>
-#include <m_system.h>
-#include <m_utils.h>
#include <m_database.h>
#include <m_langpack.h>
-#include <m_button.h>
#include <m_options.h>
#include <m_protosvc.h>
-#include <m_clist.h>
#include <m_clistint.h>
#include <m_skin.h>
-#include <m_contacts.h>
#include <m_extraicons.h>
-#include "m_genmenu.h"
-#include "m_clui.h"
+#include <m_clui.h>
+#include <win2k.h>
+#include <m_icolib.h>
+#include <m_cluiframes.h>
+#include <m_fontservice.h>
+
+#include <m_metacontacts.h>
+#include "resource.h"
+#include "Version.h"
#include "clc.h"
#include "clist.h"
-#include "m_icolib.h"
-#include <m_userinfo.h>
#include "CLUIFrames/cluiframes.h"
-#include "m_cluiframes.h"
-#include "m_metacontacts.h"
#include "BkgrCfg.h"
-#include <m_file.h>
-#include <m_addcontact.h>
-#include "m_fontservice.h"
// shared vars
extern HINSTANCE g_hInst;
diff --git a/plugins/Clist_mw/src/init.cpp b/plugins/Clist_mw/src/init.cpp index cbb0c062ad..2d89519ac4 100644 --- a/plugins/Clist_mw/src/init.cpp +++ b/plugins/Clist_mw/src/init.cpp @@ -77,16 +77,16 @@ extern int BGModuleUnload(); PLUGININFOEX pluginInfo = {
sizeof(PLUGININFOEX),
- "MultiWindow Contact List",
- PLUGIN_MAKE_VERSION(0,9,0,0),
- "Displays contacts, event notifications, protocol status with MW modifications.",
- "",
- "bethoven@mailgate.ru" ,
- "Copyright 2000-2010 Miranda IM project, 2012 Miranda NG project.",
- "http://miranda-ng.org/",
+ __PLUGIN_NAME,
+ PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
+ __DESCRIPTION,
+ __AUTHOR,
+ __AUTHOREMAIL,
+ __COPYRIGHT,
+ __AUTHORWEB,
UNICODE_AWARE,
- //{2A417AB9-16F2-472d-9AE3-415103C78A64}
- {0x2a417ab9, 0x16f2, 0x472d, { 0x9a, 0xe3, 0x41, 0x51, 0x3, 0xc7, 0x8a, 0x64 }}
+ // {2A417AB9-16F2-472D-9AE3-415103C78A64}
+ {0x2a417ab9, 0x16f2, 0x472d, {0x9a, 0xe3, 0x41, 0x51, 0x3, 0xc7, 0x8a, 0x64}}
};
BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD dwReason, LPVOID reserved)
@@ -209,7 +209,6 @@ extern "C" int __declspec(dllexport) CListInitialise() extern "C" int __declspec(dllexport) Load(void)
{
OutputDebugStringA("Load ClistMW\r\n");
- MessageBoxA(0,"You Running Old Miranda, use >30-10-2004 version!","MultiWindow Clist",0);
CListInitialise();
return 1;
}
diff --git a/plugins/Clist_mw/src/resource.h b/plugins/Clist_mw/src/resource.h index 5f7d9332d3..a726d14957 100644 --- a/plugins/Clist_mw/src/resource.h +++ b/plugins/Clist_mw/src/resource.h @@ -1,6 +1,6 @@ //{{NO_DEPENDENCIES}}
-// Microsoft Visual C++ generated include file.
-// Used by resource.rc
+// Включаемый файл, созданный в Microsoft Visual C++.
+// Используется d:\MNG_orig\plugins\Clist_mw\res\resource.rc
//
#define IDC_AUTHICON 1
#define IDC_NOTOALL 3
|