summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/FacebookRM/src')
-rw-r--r--protocols/FacebookRM/src/main.cpp15
-rw-r--r--protocols/FacebookRM/src/version.h20
2 files changed, 28 insertions, 7 deletions
diff --git a/protocols/FacebookRM/src/main.cpp b/protocols/FacebookRM/src/main.cpp
index 5928b85499..0ba94f5974 100644
--- a/protocols/FacebookRM/src/main.cpp
+++ b/protocols/FacebookRM/src/main.cpp
@@ -21,6 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "common.h"
+#include "version.h"
// TODO: Make following as "globals" structure?
@@ -33,13 +34,13 @@ DWORD g_mirandaVersion;
PLUGININFOEX pluginInfo = {
sizeof(PLUGININFOEX),
- "Facebook Protocol RM",
- __VERSION_DWORD,
- "Provides basic support for Facebook Chat protocol.",
- "Michal Zelinka, Robert Posel",
- "robyer@seznam.cz",
- "(c) 2009-11 Michal Zelinka, 2011-12 Robert Posel",
- "http://miranda-ng.org/",
+ __PLUGIN_NAME,
+ PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
+ __DESCRIPTION,
+ __AUTHOR,
+ __AUTHOREMAIL,
+ __COPYRIGHT,
+ __AUTHORWEB,
UNICODE_AWARE,
// {8432B009-FF32-4727-AAE6-A9035038FD58}
{ 0x8432b009, 0xff32, 0x4727, { 0xaa, 0xe6, 0xa9, 0x3, 0x50, 0x38, 0xfd, 0x58 } }
diff --git a/protocols/FacebookRM/src/version.h b/protocols/FacebookRM/src/version.h
new file mode 100644
index 0000000000..e4c63007e3
--- /dev/null
+++ b/protocols/FacebookRM/src/version.h
@@ -0,0 +1,20 @@
+#define __MAJOR_VERSION 0
+#define __MINOR_VERSION 0
+#define __RELEASE_NUM 9
+#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
+
+#define __STRINGIFY_IMPL(x) #x
+#define __STRINGIFY(x) __STRINGIFY_IMPL(x)
+#define __VERSION_STRING __STRINGIFY(__FILEVERSION_DOTS)
+
+#define __PLUGIN_NAME "Facebook RM"
+#define __INTERNAL_NAME "Facebook RM"
+#define __FILENAME "Facebook.dll"
+#define __DESCRIPTION "Facebook protocol plugin for Miranda NG."
+#define __AUTHOR "Michal Zelinka, Robert Posel"
+#define __AUTHOREMAIL "robyer@seznam.cz"
+#define __AUTHORWEB "http://miranda-ng.org/"
+#define __COPYRIGHT "(c) 2009-11 Michal Zelinka, 2011-12 Robert Posel"