summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-25 09:05:39 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-25 09:05:39 +0000
commitd6ed23e489d106cd4b06a03c820706467e853f49 (patch)
treeb0d17dcee8b9b6b561d20f7fec02b426423f0d9d /protocols
parent7487284ac14c755d0cf34b510f75c5a3dead96e6 (diff)
end of version zoo
git-svn-id: http://svn.miranda-ng.org/main/trunk@7880 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/AimOscar/src/version.h24
-rw-r--r--protocols/EmLanProto/src/Version.h26
-rw-r--r--protocols/FacebookRM/src/version.h29
-rw-r--r--protocols/GTalkExt/src/Version.h10
-rw-r--r--protocols/Gadu-Gadu/src/version.h15
-rw-r--r--protocols/IRCG/src/version.h14
-rw-r--r--protocols/IcqOscarJ/src/UI/userinfotab.cpp12
-rw-r--r--protocols/IcqOscarJ/src/version.h4
-rw-r--r--protocols/JabberG/src/version.h4
-rw-r--r--protocols/MRA/src/version.h2
-rw-r--r--protocols/MSN/src/version.h4
-rw-r--r--protocols/Omegle/src/version.h36
-rw-r--r--protocols/Skype/src/version.h31
-rw-r--r--protocols/SkypeClassic/src/version.h31
-rw-r--r--protocols/Tlen/src/version.h28
-rw-r--r--protocols/Twitter/src/version.h31
-rw-r--r--protocols/VKontakte/src/version.h2
-rw-r--r--protocols/WhatsApp/src/version.h26
-rw-r--r--protocols/Xfire/src/version.h24
-rw-r--r--protocols/Yahoo/src/version.h5
20 files changed, 158 insertions, 200 deletions
diff --git a/protocols/AimOscar/src/version.h b/protocols/AimOscar/src/version.h
index 51c4a84305..e6aa62988c 100644
--- a/protocols/AimOscar/src/version.h
+++ b/protocols/AimOscar/src/version.h
@@ -1,14 +1,14 @@
-#define __MAJOR_VERSION 0
-#define __MINOR_VERSION 11
-#define __RELEASE_NUM 0
-#define __BUILD_NUM 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
+#include <stdver.h>
-#define __PLUGIN_NAME "AIM protocol"
-#define __FILENAME "AIM.dll"
-#define __DESCRIPTION "AOL Instant Messenger (AIM) protocol support for Miranda NG."
-#define __AUTHOR "Boris Krasnovskiy, Aaron Myles Landwehr"
-#define __AUTHOREMAIL "borkra@miranda-im.org"
-#define __AUTHORWEB "http://miranda-ng.org/p/AIM/"
-#define __COPYRIGHT "© 2008-2011 Boris Krasnovskiy, 2005-2006 Aaron Myles Landwehr"
+#define __PLUGIN_NAME "AIM protocol"
+#define __FILENAME "AIM.dll"
+#define __DESCRIPTION "AOL Instant Messenger (AIM) protocol support for Miranda NG."
+#define __AUTHOR "Boris Krasnovskiy, Aaron Myles Landwehr"
+#define __AUTHOREMAIL "borkra@miranda-im.org"
+#define __AUTHORWEB "http://miranda-ng.org/p/AIM/"
+#define __COPYRIGHT "© 2008-2011 Boris Krasnovskiy, 2005-2006 Aaron Myles Landwehr"
diff --git a/protocols/EmLanProto/src/Version.h b/protocols/EmLanProto/src/Version.h
index 0d785b1bc9..4f8387fa25 100644
--- a/protocols/EmLanProto/src/Version.h
+++ b/protocols/EmLanProto/src/Version.h
@@ -1,15 +1,15 @@
-#define __MAJOR_VERSION 0
-#define __MINOR_VERSION 0
-#define __RELEASE_NUM 1
-#define __BUILD_NUM 2
+#define __MAJOR_VERSION 0
+#define __MINOR_VERSION 0
+#define __RELEASE_NUM 1
+#define __BUILD_NUM 2
-#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
-#define __FILEVERSION_DWORD PLUGIN_MAKE_VERSION(__MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM)
+#include <stdver.h>
+#define __FILEVERSION_DWORD PLUGIN_MAKE_VERSION(__MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM)
-#define __PLUGIN_NAME "E-mage LAN protocol"
-#define __FILENAME "EmLanProto.dll"
-#define __DESCRIPTION "E-mage LAN protocol support for Miranda NG."
-#define __AUTHOR "kva"
-#define __AUTHOREMAIL "kva@fromru.com"
-#define __AUTHORWEB "http://miranda-ng.org/p/EmLanProto/"
-#define __COPYRIGHT "© Viktor Kuzmin"
+#define __PLUGIN_NAME "E-mage LAN protocol"
+#define __FILENAME "EmLanProto.dll"
+#define __DESCRIPTION "E-mage LAN protocol support for Miranda NG."
+#define __AUTHOR "kva"
+#define __AUTHOREMAIL "kva@fromru.com"
+#define __AUTHORWEB "http://miranda-ng.org/p/EmLanProto/"
+#define __COPYRIGHT "© Viktor Kuzmin"
diff --git a/protocols/FacebookRM/src/version.h b/protocols/FacebookRM/src/version.h
index b3c70da666..937c576226 100644
--- a/protocols/FacebookRM/src/version.h
+++ b/protocols/FacebookRM/src/version.h
@@ -1,19 +1,14 @@
-#define __MAJOR_VERSION 0
-#define __MINOR_VERSION 2
-#define __RELEASE_NUM 2
-#define __BUILD_NUM 1
+#define __MAJOR_VERSION 0
+#define __MINOR_VERSION 2
+#define __RELEASE_NUM 2
+#define __BUILD_NUM 1
-#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
-#define __FILEVERSION_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM
+#include <stdver.h>
-#define __STRINGIFY_IMPL(x) #x
-#define __STRINGIFY(x) __STRINGIFY_IMPL(x)
-#define __VERSION_STRING __STRINGIFY(__FILEVERSION_DOTS)
-
-#define __PLUGIN_NAME "Facebook RM"
-#define __FILENAME "Facebook.dll"
-#define __DESCRIPTION "Facebook protocol support for Miranda NG."
-#define __AUTHOR "Michal Zelinka, Robert P\xf6" "sel"
-#define __AUTHOREMAIL "robyer@seznam.cz"
-#define __AUTHORWEB "http://miranda-ng.org/p/Facebook/"
-#define __COPYRIGHT "© 2009-11 Michal Zelinka, 2011-13 Robert P\xf6" "sel"
+#define __PLUGIN_NAME "Facebook RM"
+#define __FILENAME "Facebook.dll"
+#define __DESCRIPTION "Facebook protocol support for Miranda NG."
+#define __AUTHOR "Michal Zelinka, Robert P\xf6" "sel"
+#define __AUTHOREMAIL "robyer@seznam.cz"
+#define __AUTHORWEB "http://miranda-ng.org/p/Facebook/"
+#define __COPYRIGHT "© 2009-11 Michal Zelinka, 2011-13 Robert P\xf6" "sel"
diff --git a/protocols/GTalkExt/src/Version.h b/protocols/GTalkExt/src/Version.h
index 0e7b6cc41e..4b485aca5d 100644
--- a/protocols/GTalkExt/src/Version.h
+++ b/protocols/GTalkExt/src/Version.h
@@ -1,9 +1,9 @@
-#define __MAJOR_VERSION 0
-#define __MINOR_VERSION 1
-#define __RELEASE_NUM 0
-#define __BUILD_NUM 2
+#define __MAJOR_VERSION 0
+#define __MINOR_VERSION 1
+#define __RELEASE_NUM 0
+#define __BUILD_NUM 2
-#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
+#include <stdver.h>
#define __PLUGIN_NAME "GTalk Extension"
#define __FILENAME "GTalkExt.dll"
diff --git a/protocols/Gadu-Gadu/src/version.h b/protocols/Gadu-Gadu/src/version.h
index cf7f4a0404..509aa1a224 100644
--- a/protocols/Gadu-Gadu/src/version.h
+++ b/protocols/Gadu-Gadu/src/version.h
@@ -18,19 +18,16 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
////////////////////////////////////////////////////////////////////////////////
-#define __MAJOR_VERSION 0
-#define __MINOR_VERSION 11
-#define __RELEASE_NUM 0
+#define __MAJOR_VERSION 0
+#define __MINOR_VERSION 11
+#define __RELEASE_NUM 0
#define __BUILD_NUM 3
-#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
-#define __TOSTRING(x) #x
-#define __VERSION_STRING __TOSTRING(__FILEVERSION_STRING)
+#include <stdver.h>
-#define __PLUGIN_NAME "Gadu-Gadu Protocol"
+#define __PLUGIN_NAME "Gadu-Gadu Protocol"
#define __DESCRIPTION "Gadu-Gadu protocol support for Miranda NG."
#define __AUTHOR "Bartosz Bialek, Adam Strzelecki"
-#define __AUTHOREMAIL "dezred"/*antispam*/"@"/*antispam*/"gmail"/*antispam*/"."/*antispam*/"com"
+#define __AUTHOREMAIL "dezred"/*antispam*/"@"/*antispam*/"gmail"/*antispam*/"."/*antispam*/"com"
#define __COPYRIGHT "© 2009-2012 Bartosz Bialek, 2003-2009 Adam Strzelecki"
#define __AUTHORWEB "http://miranda-ng.org/p/GG/"
-
diff --git a/protocols/IRCG/src/version.h b/protocols/IRCG/src/version.h
index 5ab18e5aa4..9f7aa15098 100644
--- a/protocols/IRCG/src/version.h
+++ b/protocols/IRCG/src/version.h
@@ -1,13 +1,11 @@
-#define __MAJOR_VERSION 0
-#define __MINOR_VERSION 11
-#define __RELEASE_NUM 0
-#define __BUILD_NUM 2
+#define __MAJOR_VERSION 0
+#define __MINOR_VERSION 11
+#define __RELEASE_NUM 0
+#define __BUILD_NUM 2
-#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
-#define __TOSTRING(x) #x
-#define __VERSION_STRING __TOSTRING(__FILEVERSION_STRING)
+#include <stdver.h>
-#define __DESC "Internet Relay Chat (IRC) protocol support for Miranda NG."
+#define __DESC "Internet Relay Chat (IRC) protocol support for Miranda NG."
#define __AUTHOR "Miranda team"
#define __AUTHOREMAIL "ghazan@miranda.im"
#define __COPYRIGHT "c 2003-2013 Jurgen Persson, George Hazan"
diff --git a/protocols/IcqOscarJ/src/UI/userinfotab.cpp b/protocols/IcqOscarJ/src/UI/userinfotab.cpp
index 979cb22714..8610e15f08 100644
--- a/protocols/IcqOscarJ/src/UI/userinfotab.cpp
+++ b/protocols/IcqOscarJ/src/UI/userinfotab.cpp
@@ -1,22 +1,22 @@
// ---------------------------------------------------------------------------80
// ICQ plugin for Miranda Instant Messenger
// ________________________________________
-//
+//
// Copyright © 2000-2001 Richard Hughes, Roland Rabien, Tristan Van de Vreede
// Copyright © 2001-2002 Jon Keating, Richard Hughes
// Copyright © 2002-2004 Martin Öberg, Sam Kothari, Robert Rainwater
// Copyright © 2004-2010 Joe Kucera
-//
+//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
-//
+//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
-//
+//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
@@ -252,7 +252,7 @@ static INT_PTR CALLBACK IcqDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM
char str[MAX_PATH];
WORD v[4];
CallService(MS_SYSTEM_GETFILEVERSION, 0, (LPARAM)&v);
- mir_snprintf(str, SIZEOF(str), "Miranda NG %d.%d.%d.%d (ICQ %d.%d.%d.%d)", v[0], v[1], v[2], v[3], __FILEVERSION_STRING);
+ mir_snprintf(str, SIZEOF(str), "Miranda NG %d.%d.%d.%d (ICQ %s)", v[0], v[1], v[2], v[3], __VERSION_STRING);
SetValue(ppro, hwndDlg, IDC_PORT, hContact, (char*)DBVT_WORD, (char*)ppro->wListenPort, SVS_ZEROISUNSPEC);
SetValue(ppro, hwndDlg, IDC_VERSION, hContact, (char*)DBVT_WORD, (char*)ICQ_VERSION, SVS_ICQVERSION);
@@ -277,7 +277,7 @@ static INT_PTR CALLBACK IcqDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM
break;
}
- return FALSE;
+ return FALSE;
}
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/protocols/IcqOscarJ/src/version.h b/protocols/IcqOscarJ/src/version.h
index f49017ee7f..7038a62cee 100644
--- a/protocols/IcqOscarJ/src/version.h
+++ b/protocols/IcqOscarJ/src/version.h
@@ -3,9 +3,7 @@
#define __RELEASE_NUM 1
#define __BUILD_NUM 0
-#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
-#define __TOSTRING(x) #x
-#define __VERSION_STRING __TOSTRING(__FILEVERSION_STRING)
+#include <stdver.h>
#define __PLUGIN_NAME "IcqOscarJ Protocol"
#define __DESCRIPTION "ICQ protocol support for Miranda NG."
diff --git a/protocols/JabberG/src/version.h b/protocols/JabberG/src/version.h
index 4d6d34d675..857ab210d3 100644
--- a/protocols/JabberG/src/version.h
+++ b/protocols/JabberG/src/version.h
@@ -3,9 +3,7 @@
#define __RELEASE_NUM 0
#define __BUILD_NUM 4
-#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
-#define __TOSTRING(x) #x
-#define __VERSION_STRING __TOSTRING(__FILEVERSION_STRING)
+#include <stdver.h>
#define __PLUGIN_NAME "Jabber Protocol"
#define __DESCRIPTION "Jabber protocol support for Miranda NG."
diff --git a/protocols/MRA/src/version.h b/protocols/MRA/src/version.h
index 5a6b04d9e4..b89f3376be 100644
--- a/protocols/MRA/src/version.h
+++ b/protocols/MRA/src/version.h
@@ -3,7 +3,7 @@
#define __RELEASE_NUM 0
#define __BUILD_NUM 6
-#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
+#include <stdver.h>
#define __PLUGIN_NAME "MRA"
#define __FILENAME "MRA.dll"
diff --git a/protocols/MSN/src/version.h b/protocols/MSN/src/version.h
index 7afcf80876..c8e4da5cd9 100644
--- a/protocols/MSN/src/version.h
+++ b/protocols/MSN/src/version.h
@@ -23,9 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define __RELEASE_NUM 0
#define __BUILD_NUM 2
-#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
-#define __TOSTRING(x) #x
-#define __VERSION_STRING __TOSTRING(__FILEVERSION_STRING)
+#include <stdver.h>
#define __PLUGIN_NAME "MSN Protocol"
#define __DESCRIPTION "Microsoft Network (MSN) protocol support for Miranda NG."
diff --git a/protocols/Omegle/src/version.h b/protocols/Omegle/src/version.h
index f699b76ca6..79ebdd64ef 100644
--- a/protocols/Omegle/src/version.h
+++ b/protocols/Omegle/src/version.h
@@ -1,21 +1,15 @@
-#define __MAJOR_VERSION 0
-#define __MINOR_VERSION 1
-#define __RELEASE_NUM 2
-#define __BUILD_NUM 0
-
-#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
-#define __FILEVERSION_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM
-
-#define __STRINGIFY_IMPL(x) #x
-#define __STRINGIFY(x) __STRINGIFY_IMPL(x)
-#define __VERSION_STRING __STRINGIFY(__FILEVERSION_DOTS)
-
-#define __PLUGIN_NAME "Omegle Protocol"
-#define __INTERNAL_NAME "Omegle Protocol"
-#define __FILENAME "Omegle.dll"
-#define __DESCRIPTION "Omegle protocol support for Miranda NG."
-#define __AUTHOR "Robert P\xf6" "sel"
-#define __AUTHOREMAIL "robyer@seznam.cz"
-#define __AUTHORWEB "http://miranda-ng.org/p/Omegle/"
-#define __COPYRIGHT "© 2011-13 Robert P\xf6" "sel"
-
+#define __MAJOR_VERSION 0
+#define __MINOR_VERSION 1
+#define __RELEASE_NUM 2
+#define __BUILD_NUM 0
+
+#include <stdver.h>
+
+#define __PLUGIN_NAME "Omegle Protocol"
+#define __INTERNAL_NAME "Omegle Protocol"
+#define __FILENAME "Omegle.dll"
+#define __DESCRIPTION "Omegle protocol support for Miranda NG."
+#define __AUTHOR "Robert P\xf6" "sel"
+#define __AUTHOREMAIL "robyer@seznam.cz"
+#define __AUTHORWEB "http://miranda-ng.org/p/Omegle/"
+#define __COPYRIGHT "© 2011-13 Robert P\xf6" "sel"
diff --git a/protocols/Skype/src/version.h b/protocols/Skype/src/version.h
index 61bf7c10ba..4879a69690 100644
--- a/protocols/Skype/src/version.h
+++ b/protocols/Skype/src/version.h
@@ -1,20 +1,15 @@
-#define __MAJOR_VERSION 0
-#define __MINOR_VERSION 11
-#define __RELEASE_NUM 0
-#define __BUILD_NUM 2
+#define __MAJOR_VERSION 0
+#define __MINOR_VERSION 11
+#define __RELEASE_NUM 0
+#define __BUILD_NUM 2
-#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
-#define __FILEVERSION_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM
+#include <stdver.h>
-#define __STRINGIFY_IMPL(x) #x
-#define __STRINGIFY(x) __STRINGIFY_IMPL(x)
-#define __VERSION_STRING __STRINGIFY(__FILEVERSION_DOTS)
-
-#define __PLUGIN_NAME "Skype Protocol"
-#define __INTERNAL_NAME "Skype"
-#define __FILENAME "Skype.dll"
-#define __DESCRIPTION "Skype protocol support for Miranda NG."
-#define __AUTHOR "unsane, mataes, ghazan"
-#define __AUTHOREMAIL "mataes2007@gmail.com"
-#define __AUTHORWEB "http://miranda-ng.org/p/Skype/"
-#define __COPYRIGHT "© 2012-14 Miranda NG team"
+#define __PLUGIN_NAME "Skype Protocol"
+#define __INTERNAL_NAME "Skype"
+#define __FILENAME "Skype.dll"
+#define __DESCRIPTION "Skype protocol support for Miranda NG."
+#define __AUTHOR "unsane, mataes, ghazan"
+#define __AUTHOREMAIL "mataes2007@gmail.com"
+#define __AUTHORWEB "http://miranda-ng.org/p/Skype/"
+#define __COPYRIGHT "© 2012-14 Miranda NG team"
diff --git a/protocols/SkypeClassic/src/version.h b/protocols/SkypeClassic/src/version.h
index bf9270771a..0b5f4bb13d 100644
--- a/protocols/SkypeClassic/src/version.h
+++ b/protocols/SkypeClassic/src/version.h
@@ -1,20 +1,15 @@
-#define __MAJOR_VERSION 0
-#define __MINOR_VERSION 0
-#define __RELEASE_NUM 0
-#define __BUILD_NUM 54
+#define __MAJOR_VERSION 0
+#define __MINOR_VERSION 0
+#define __RELEASE_NUM 0
+#define __BUILD_NUM 54
-#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
-#define __FILEVERSION_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM
+#include <stdver.h>
-#define __STRINGIFY_IMPL(x) #x
-#define __STRINGIFY(x) __STRINGIFY_IMPL(x)
-#define __VERSION_STRING __STRINGIFY(__FILEVERSION_DOTS)
-
-#define __PLUGIN_NAME "Skype Protocol (Classic)"
-#define __INTERNAL_NAME "SkypeClassic"
-#define __FILENAME "SkypeClassic.dll"
-#define __DESCRIPTION "Skype protocol support for Miranda NG. Classic implementation which requires running original Skype client."
-#define __AUTHOR "leecher, tweety, jls17"
-#define __AUTHOREMAIL "leecher@dose.0wnz.at; tweety@user.berlios.de"
-#define __AUTHORWEB "http://miranda-ng.org/p/SkypeClassic/"
-#define __COPYRIGHT "© 2004-2012 leecher, tweety"
+#define __PLUGIN_NAME "Skype Protocol (Classic)"
+#define __INTERNAL_NAME "SkypeClassic"
+#define __FILENAME "SkypeClassic.dll"
+#define __DESCRIPTION "Skype protocol support for Miranda NG. Classic implementation which requires running original Skype client."
+#define __AUTHOR "leecher, tweety, jls17"
+#define __AUTHOREMAIL "leecher@dose.0wnz.at; tweety@user.berlios.de"
+#define __AUTHORWEB "http://miranda-ng.org/p/SkypeClassic/"
+#define __COPYRIGHT "© 2004-2012 leecher, tweety"
diff --git a/protocols/Tlen/src/version.h b/protocols/Tlen/src/version.h
index 8d419d309d..9eb24c1f87 100644
--- a/protocols/Tlen/src/version.h
+++ b/protocols/Tlen/src/version.h
@@ -1,17 +1,17 @@
-#define __MAJOR_VERSION 2
-#define __MINOR_VERSION 1
-#define __RELEASE_NUM 0
-#define __BUILD_NUM 0
+#define __MAJOR_VERSION 2
+#define __MINOR_VERSION 1
+#define __RELEASE_NUM 0
+#define __BUILD_NUM 0
-#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
+#include <stdver.h>
-#define TLENMUCC_VERSION_STRING "2.1.0.0"
-#define TLEN_VERSION_STRING TLENMUCC_VERSION_STRING
+#define TLENMUCC_VERSION_STRING "2.1.0.0"
+#define TLEN_VERSION_STRING TLENMUCC_VERSION_STRING
-#define __PLUGIN_NAME "Tlen Protocol"
-#define __FILENAME "Tlen.dll"
-#define __DESCRIPTION "Tlen protocol support for Miranda NG."
-#define __AUTHOR "Santithorn Bunchua, Adam Strzelecki, Piotr Piastucki"
-#define __AUTHOREMAIL "the_leech@users.berlios.de"
-#define __AUTHORWEB "http://miranda-ng.org/p/Tlen/"
-#define __COPYRIGHT "(c) 2002-2012 Santithorn Bunchua, Piotr Piastucki"
+#define __PLUGIN_NAME "Tlen Protocol"
+#define __FILENAME "Tlen.dll"
+#define __DESCRIPTION "Tlen protocol support for Miranda NG."
+#define __AUTHOR "Santithorn Bunchua, Adam Strzelecki, Piotr Piastucki"
+#define __AUTHOREMAIL "the_leech@users.berlios.de"
+#define __AUTHORWEB "http://miranda-ng.org/p/Tlen/"
+#define __COPYRIGHT "(c) 2002-2012 Santithorn Bunchua, Piotr Piastucki"
diff --git a/protocols/Twitter/src/version.h b/protocols/Twitter/src/version.h
index aabcc4c74f..f01becbf7f 100644
--- a/protocols/Twitter/src/version.h
+++ b/protocols/Twitter/src/version.h
@@ -1,20 +1,15 @@
-#define __MAJOR_VERSION 1
-#define __MINOR_VERSION 1
-#define __RELEASE_NUM 0
-#define __BUILD_NUM 1
+#define __MAJOR_VERSION 1
+#define __MINOR_VERSION 1
+#define __RELEASE_NUM 0
+#define __BUILD_NUM 1
-#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
-#define __FILEVERSION_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM
+#include <stdver.h>
-#define __STRINGIFY_IMPL(x) #x
-#define __STRINGIFY(x) __STRINGIFY_IMPL(x)
-#define __VERSION_STRING __STRINGIFY(__FILEVERSION_DOTS)
-
-#define __PLUGIN_NAME "Twitter"
-#define __INTERNAL_NAME "Twitter"
-#define __FILENAME "Twitter.dll"
-#define __DESCRIPTION "Twitter protocol support for Miranda NG."
-#define __AUTHOR "dentist, omniwolf, Thief"
-#define __AUTHOREMAIL ""
-#define __AUTHORWEB "http://miranda-ng.org/p/Twitter/"
-#define __COPYRIGHT "© 2009-2010 dentist, 2010-2012 omniwolf and Thief"
+#define __PLUGIN_NAME "Twitter"
+#define __INTERNAL_NAME "Twitter"
+#define __FILENAME "Twitter.dll"
+#define __DESCRIPTION "Twitter protocol support for Miranda NG."
+#define __AUTHOR "dentist, omniwolf, Thief"
+#define __AUTHOREMAIL ""
+#define __AUTHORWEB "http://miranda-ng.org/p/Twitter/"
+#define __COPYRIGHT "© 2009-2010 dentist, 2010-2012 omniwolf and Thief"
diff --git a/protocols/VKontakte/src/version.h b/protocols/VKontakte/src/version.h
index 131344c505..bd40c52852 100644
--- a/protocols/VKontakte/src/version.h
+++ b/protocols/VKontakte/src/version.h
@@ -3,7 +3,7 @@
#define __RELEASE_NUM 0
#define __BUILD_NUM 8
-#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
+#include <stdver.h>
#define __PLUGIN_NAME "VKontakte protocol"
#define __FILENAME "VKontakte.dll"
diff --git a/protocols/WhatsApp/src/version.h b/protocols/WhatsApp/src/version.h
index c98b0f9c6b..18378f4a9d 100644
--- a/protocols/WhatsApp/src/version.h
+++ b/protocols/WhatsApp/src/version.h
@@ -1,16 +1,14 @@
-#define __MAJOR_VERSION 0
-#define __MINOR_VERSION 0
-#define __RELEASE_NUM 2
-#define __BUILD_NUM 1
+#define __MAJOR_VERSION 0
+#define __MINOR_VERSION 0
+#define __RELEASE_NUM 2
+#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)
+#include <stdver.h>
-#define __PLUGIN_NAME "WhatsApp protocol"
-#define __FILENAME "WhatsApp.dll"
-#define __DESCRIPTION "WhatsApp protocol support for Miranda NG."
-#define __AUTHOR "Uli Hecht"
-#define __AUTHOREMAIL ""
-#define __AUTHORWEB "http://miranda-ng.org/p/WhatsApp/"
-#define __COPYRIGHT "© 2013-14 Uli Hecht"
+#define __PLUGIN_NAME "WhatsApp protocol"
+#define __FILENAME "WhatsApp.dll"
+#define __DESCRIPTION "WhatsApp protocol support for Miranda NG."
+#define __AUTHOR "Uli Hecht"
+#define __AUTHOREMAIL ""
+#define __AUTHORWEB "http://miranda-ng.org/p/WhatsApp/"
+#define __COPYRIGHT "© 2013-14 Uli Hecht"
diff --git a/protocols/Xfire/src/version.h b/protocols/Xfire/src/version.h
index 85b8ac0c24..dbee257230 100644
--- a/protocols/Xfire/src/version.h
+++ b/protocols/Xfire/src/version.h
@@ -1,14 +1,14 @@
-#define __MAJOR_VERSION 0
-#define __MINOR_VERSION 1
-#define __RELEASE_NUM 9
-#define __BUILD_NUM 0
+#define __MAJOR_VERSION 0
+#define __MINOR_VERSION 1
+#define __RELEASE_NUM 9
+#define __BUILD_NUM 0
-#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
+#include <stdver.h>
-#define __PLUGIN_NAME "Xfire Protocol"
-#define __FILENAME "Xfire.dll"
-#define __DESCRIPTION "Xfire protocol support for Miranda NG."
-#define __AUTHOR "dufte"
-#define __AUTHOREMAIL "dufte@justmail.de"
-#define __AUTHORWEB "http://miranda-ng.org/p/XFire/"
-#define __COPYRIGHT "(c) 2012 Xfirelib by Herbert Poul, Xfire Miranda protocol plugin by dufte"
+#define __PLUGIN_NAME "Xfire Protocol"
+#define __FILENAME "Xfire.dll"
+#define __DESCRIPTION "Xfire protocol support for Miranda NG."
+#define __AUTHOR "dufte"
+#define __AUTHOREMAIL "dufte@justmail.de"
+#define __AUTHORWEB "http://miranda-ng.org/p/XFire/"
+#define __COPYRIGHT "(c) 2012 Xfirelib by Herbert Poul, Xfire Miranda protocol plugin by dufte"
diff --git a/protocols/Yahoo/src/version.h b/protocols/Yahoo/src/version.h
index a703fdee06..5022a3cdf4 100644
--- a/protocols/Yahoo/src/version.h
+++ b/protocols/Yahoo/src/version.h
@@ -3,9 +3,7 @@
#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)
+#include <stdver.h>
#define __PLUGIN_NAME "Yahoo Protocol"
#define __DESCRIPTION "Yahoo Protocol support for Miranda NG."
@@ -13,4 +11,3 @@
#define __AUTHOREMAIL "gena01@miranda-im.org"
#define __COPYRIGHT "© 2003-2010 Gennady Feldman, Laurent Marechal"
#define __AUTHORWEB "http://miranda-ng.org/p/Yahoo/"
-