diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-25 09:05:39 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-25 09:05:39 +0000 |
commit | d6ed23e489d106cd4b06a03c820706467e853f49 (patch) | |
tree | b0d17dcee8b9b6b561d20f7fec02b426423f0d9d /plugins/ConnectionNotify | |
parent | 7487284ac14c755d0cf34b510f75c5a3dead96e6 (diff) |
end of version zoo
git-svn-id: http://svn.miranda-ng.org/main/trunk@7880 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ConnectionNotify')
-rw-r--r-- | plugins/ConnectionNotify/res/ConnectionNotify.rc | 4 | ||||
-rw-r--r-- | plugins/ConnectionNotify/src/ConnectionNotify.cpp | 2 | ||||
-rw-r--r-- | plugins/ConnectionNotify/src/version.h | 9 |
3 files changed, 4 insertions, 11 deletions
diff --git a/plugins/ConnectionNotify/res/ConnectionNotify.rc b/plugins/ConnectionNotify/res/ConnectionNotify.rc index 9ef822c374..52b0b59c5a 100644 --- a/plugins/ConnectionNotify/res/ConnectionNotify.rc +++ b/plugins/ConnectionNotify/res/ConnectionNotify.rc @@ -109,8 +109,8 @@ IDI_ICON6 ICON ".\\add.ico" //
LANGUAGE LANG_NEUTRAL, SUBLANG_SYS_DEFAULT
VS_VERSION_INFO VERSIONINFO
- FILEVERSION __PLUGINVERSION_STRING
- PRODUCTVERSION __PLUGINVERSION_STRING
+ FILEVERSION __FILEVERSION_STRING
+ PRODUCTVERSION __FILEVERSION_STRING
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
diff --git a/plugins/ConnectionNotify/src/ConnectionNotify.cpp b/plugins/ConnectionNotify/src/ConnectionNotify.cpp index 609ddb1675..0f1c3d0005 100644 --- a/plugins/ConnectionNotify/src/ConnectionNotify.cpp +++ b/plugins/ConnectionNotify/src/ConnectionNotify.cpp @@ -43,7 +43,7 @@ TCHAR *tcpStates[]={_T("CLOSED"),_T("LISTEN"),_T("SYN_SENT"),_T("SYN_RCVD"),_T(" PLUGININFOEX pluginInfo={
sizeof(PLUGININFOEX),
PLUGINNAME,
- VERSION,
+ __VERSION_DWORD,
__DESCRIPTION,
__AUTHOR,
__AUTHOREMAIL,
diff --git a/plugins/ConnectionNotify/src/version.h b/plugins/ConnectionNotify/src/version.h index 69773892d3..b99d9e4b44 100644 --- a/plugins/ConnectionNotify/src/version.h +++ b/plugins/ConnectionNotify/src/version.h @@ -26,20 +26,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define __RELEASE_NUM 0
#define __BUILD_NUM 5
-#define VERSION PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM)
-
-#define __PLUGINVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
-#define __PLUGINVERSION_STRING_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM
-#define __STRINGIFY_(x) #x
-#define __STRINGIFY(x) __STRINGIFY_(x)
-#define __VERSION_STRING __STRINGIFY(__PLUGINVERSION_STRING_DOTS)
+#include <stdver.h>
#define __DESCRIPTION "Notify with popup if some connection established"
#define __AUTHOR "MaKaR"
#define __AUTHOREMAIL "makar@poczta.of.pl"
#define __COPYRIGHT "© 2011-2013 MaKaRSoFT"
#define __AUTHORWEB "http://miranda-ng.org/p/ConnectionNotify/"
-
#define __PLUGIN_DISPLAY_NAME "ConnectionNotify"
#endif //M_EXCHANGE_VERSION_H
|