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/MSN | |
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/MSN')
-rw-r--r-- | protocols/MSN/src/msn.cpp | 2 | ||||
-rw-r--r-- | protocols/MSN/src/version.h | 23 |
2 files changed, 15 insertions, 10 deletions
diff --git a/protocols/MSN/src/msn.cpp b/protocols/MSN/src/msn.cpp index 9978aef0b8..77ac325ac5 100644 --- a/protocols/MSN/src/msn.cpp +++ b/protocols/MSN/src/msn.cpp @@ -45,7 +45,7 @@ static const PLUGININFOEX pluginInfo = {
sizeof(PLUGININFOEX),
__PLUGIN_NAME,
- __VERSION_DWORD,
+ PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
__DESCRIPTION,
__AUTHOR,
__AUTHOREMAIL,
diff --git a/protocols/MSN/src/version.h b/protocols/MSN/src/version.h index 07d00b7ca6..7afcf80876 100644 --- a/protocols/MSN/src/version.h +++ b/protocols/MSN/src/version.h @@ -18,13 +18,18 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#define __FILEVERSION_STRING 0,11,0,3
-#define __VERSION_STRING "0.11.0.3"
-#define __VERSION_DWORD PLUGIN_MAKE_VERSION(0, 11, 0, 3)
+#define __MAJOR_VERSION 0
+#define __MINOR_VERSION 11
+#define __RELEASE_NUM 0
+#define __BUILD_NUM 2
-#define __PLUGIN_NAME "MSN Protocol"
-#define __DESCRIPTION "Microsoft Network (MSN) protocol support for Miranda NG."
-#define __AUTHOR "Boris Krasnovskiy, George Hazan, Richard Hughes"
-#define __AUTHOREMAIL "borkra@miranda-im.org"
-#define __COPYRIGHT "© 2001-2012 Richard Hughes, George Hazan, Boris Krasnovskiy"
-#define __AUTHORWEB "http://miranda-ng.org/p/MSN/"
+#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
+#define __TOSTRING(x) #x
+#define __VERSION_STRING __TOSTRING(__FILEVERSION_STRING)
+
+#define __PLUGIN_NAME "MSN Protocol"
+#define __DESCRIPTION "Microsoft Network (MSN) protocol support for Miranda NG."
+#define __AUTHOR "Boris Krasnovskiy, George Hazan, Richard Hughes"
+#define __AUTHOREMAIL "borkra@miranda-im.org"
+#define __COPYRIGHT "© 2001-2012 Richard Hughes, George Hazan, Boris Krasnovskiy"
+#define __AUTHORWEB "http://miranda-ng.org/p/MSN/"
|