summaryrefslogtreecommitdiff
path: root/plugins/Clist_blind/src
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-02-10 12:03:30 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-02-10 12:03:30 +0000
commit145d0ad77f759772dc58676500d14ab6364e5da3 (patch)
treec4f41d40fc3a6cd6f828eb0d8e7d09dc9bc1e89a /plugins/Clist_blind/src
parentb4ff82df0b826fa17d6e5dd1f3b337995b6fe8d1 (diff)
added version info
git-svn-id: http://svn.miranda-ng.org/main/trunk@3527 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_blind/src')
-rw-r--r--plugins/Clist_blind/src/Version.h14
-rw-r--r--plugins/Clist_blind/src/commonheaders.h28
-rw-r--r--plugins/Clist_blind/src/init.cpp21
-rw-r--r--plugins/Clist_blind/src/resource.h1
4 files changed, 27 insertions, 37 deletions
diff --git a/plugins/Clist_blind/src/Version.h b/plugins/Clist_blind/src/Version.h
new file mode 100644
index 0000000000..3777609f59
--- /dev/null
+++ b/plugins/Clist_blind/src/Version.h
@@ -0,0 +1,14 @@
+#define __MAJOR_VERSION 0
+#define __MINOR_VERSION 8
+#define __RELEASE_NUM 0
+#define __BUILD_NUM 1
+
+#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
+
+#define __PLUGIN_NAME "BClist"
+#define __FILENAME "Clist_blind.dll"
+#define __DESCRIPTION "A contact list for blind folks."
+#define __AUTHOR "Ricardo Pescuma Domenecci, based on previous work from Miranda IM project"
+#define __AUTHOREMAIL ""
+#define __AUTHORWEB "http://miranda-ng.org/"
+#define __COPYRIGHT "Copyright 2000-2009 Miranda IM project, Ricardo Pescuma Domenecci, 2013 Miranda NG project, George Hazan"
diff --git a/plugins/Clist_blind/src/commonheaders.h b/plugins/Clist_blind/src/commonheaders.h
index 9aef2da53b..7fe4329c30 100644
--- a/plugins/Clist_blind/src/commonheaders.h
+++ b/plugins/Clist_blind/src/commonheaders.h
@@ -21,46 +21,24 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define MIRANDA_VER 0x0A00
-
#define _WIN32_WINNT 0x0600
#define _WIN32_IE 0x0501
-#include "m_stdhdr.h"
-
#include <windows.h>
#include <vssym32.h>
-#include <commctrl.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 <newpluginapi.h>
-#include <m_clist.h>
-#include <m_clc.h>
#include <m_clistint.h>
#include <m_clui.h>
-#include <m_system.h>
#include <m_database.h>
#include <m_langpack.h>
-#include <m_button.h>
#include <m_options.h>
-#include <m_protocols.h>
#include <m_protosvc.h>
-#include <m_utils.h>
-#include <m_skin.h>
-#include <m_contacts.h>
-#include <m_file.h>
-#include <m_addcontact.h>
-#include <m_utils.h>
-
#include <win2k.h>
+#include "resource.h"
+#include "Version.h"
+
struct ClcContact : public ClcContactBase {};
struct ClcData : public ClcDataBase
diff --git a/plugins/Clist_blind/src/init.cpp b/plugins/Clist_blind/src/init.cpp
index 8146574a30..70fb9e2865 100644
--- a/plugins/Clist_blind/src/init.cpp
+++ b/plugins/Clist_blind/src/init.cpp
@@ -22,7 +22,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "commonheaders.h"
-#include <m_icolib.h>
int hLangpack;
HINSTANCE g_hInst = 0;
@@ -77,17 +76,17 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD dwReason, LPVOID reserved)
// returns the plugin information
PLUGININFOEX pluginInfo = {
- sizeof(pluginInfo ),
- "BClist",
- PLUGIN_MAKE_VERSION(0, 8, 0, 1),
- "A contact list for blind folks.",
- "Ricardo Pescuma Domenecci, based on previous work from Miranda IM project",
- "",
- "Copyright 2000-2009 Miranda IM project, Ricardo Pescuma Domenecci, 2013 Miranda NG project, George Hazan",
- "http://pescuma.org/miranda/bclist",
+ sizeof(pluginInfo),
+ __PLUGIN_NAME,
+ PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
+ __DESCRIPTION,
+ __AUTHOR,
+ __AUTHOREMAIL,
+ __COPYRIGHT,
+ __AUTHORWEB,
UNICODE_AWARE,
- // {53E095A3-2695-490a-9DAD-D20479093831}
- { 0x53e095a3, 0x2695, 0x490a, { 0x9d, 0xad, 0xd2, 0x4, 0x79, 0x9, 0x38, 0x31 } }
+ // {53E095A3-2695-490A-9DAD-D20479093831}
+ {0x53e095a3, 0x2695, 0x490a, {0x9d, 0xad, 0xd2, 0x4, 0x79, 0x9, 0x38, 0x31}}
};
extern "C" __declspec(dllexport) PLUGININFOEX *MirandaPluginInfoEx(DWORD mirandaVersion)
diff --git a/plugins/Clist_blind/src/resource.h b/plugins/Clist_blind/src/resource.h
index 03fef64694..1e2641be4e 100644
--- a/plugins/Clist_blind/src/resource.h
+++ b/plugins/Clist_blind/src/resource.h
@@ -148,7 +148,6 @@
#define POPUP_NEWGROUP 40050
#define POPUP_RENAMEGROUP 40052
#define POPUP_DELETEGROUP 40053
-#define IDC_STATIC -1
// Next default values for new objects
//