diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-03 15:57:14 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-03 15:57:14 +0000 |
commit | cd4e43a5af4dcf660969bc5abada0d97cfd0cd03 (patch) | |
tree | 2cb7da25499aa1258196b6a2dc80346cfe40a2f1 /protocols/Yahoo | |
parent | 23617c95e41dc21347d4957c29fe5989a36e2a85 (diff) |
version related code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@7478 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Yahoo')
-rw-r--r-- | protocols/Yahoo/src/main.cpp | 20 | ||||
-rw-r--r-- | protocols/Yahoo/src/version.h | 22 |
2 files changed, 23 insertions, 19 deletions
diff --git a/protocols/Yahoo/src/main.cpp b/protocols/Yahoo/src/main.cpp index 41678a630a..68e9a1167a 100644 --- a/protocols/Yahoo/src/main.cpp +++ b/protocols/Yahoo/src/main.cpp @@ -28,16 +28,16 @@ CLIST_INTERFACE *pcli; int hLangpack;
PLUGININFOEX pluginInfo={
- sizeof(PLUGININFOEX),
- __PLUGIN_NAME,
- __VERSION_DWORD,
- __DESCRIPTION,
- __AUTHOR,
- __AUTHOREMAIL,
- __COPYRIGHT,
- __AUTHORWEB,
- UNICODE_AWARE, //not transient
- {0xaa7bfea, 0x1fc7, 0x45f0, {0x90, 0x6e, 0x2a, 0x46, 0xb6, 0xe1, 0x19, 0xcf}} // {0AA7BFEA-1FC7-45f0-906E-2A46B6E119CF}
+ sizeof(PLUGININFOEX),
+ __PLUGIN_NAME,
+ PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
+ __DESCRIPTION,
+ __AUTHOR,
+ __AUTHOREMAIL,
+ __COPYRIGHT,
+ __AUTHORWEB,
+ UNICODE_AWARE, //not transient
+ {0xaa7bfea, 0x1fc7, 0x45f0, {0x90, 0x6e, 0x2a, 0x46, 0xb6, 0xe1, 0x19, 0xcf}} // {0AA7BFEA-1FC7-45f0-906E-2A46B6E119CF}
};
void YmsgrLinksInit(void);
diff --git a/protocols/Yahoo/src/version.h b/protocols/Yahoo/src/version.h index 51e24d81eb..a703fdee06 100644 --- a/protocols/Yahoo/src/version.h +++ b/protocols/Yahoo/src/version.h @@ -1,12 +1,16 @@ -#define __FILEVERSION_STRING 0,11,0,1
-#define __VERSION_STRING "0.11.0.1"
-#define __VERSION_DWORD PLUGIN_MAKE_VERSION(0, 11, 0, 1)
+#define __MAJOR_VERSION 0
+#define __MINOR_VERSION 11
+#define __RELEASE_NUM 0
+#define __BUILD_NUM 1
+#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
+#define __TOSTRING(x) #x
+#define __VERSION_STRING __TOSTRING(__FILEVERSION_STRING)
-#define __PLUGIN_NAME "Yahoo Protocol"
-#define __DESCRIPTION "Yahoo Protocol support for Miranda NG."
-#define __AUTHOR "Gennady Feldman"
-#define __AUTHOREMAIL "gena01@miranda-im.org"
-#define __COPYRIGHT "© 2003-2010 Gennady Feldman, Laurent Marechal"
-#define __AUTHORWEB "http://miranda-ng.org/p/Yahoo/"
+#define __PLUGIN_NAME "Yahoo Protocol"
+#define __DESCRIPTION "Yahoo Protocol support for Miranda NG."
+#define __AUTHOR "Gennady Feldman"
+#define __AUTHOREMAIL "gena01@miranda-im.org"
+#define __COPYRIGHT "© 2003-2010 Gennady Feldman, Laurent Marechal"
+#define __AUTHORWEB "http://miranda-ng.org/p/Yahoo/"
|