diff options
Diffstat (limited to 'plugins/HistoryStats/src')
-rw-r--r-- | plugins/HistoryStats/src/_globals.h | 2 | ||||
-rw-r--r-- | plugins/HistoryStats/src/main.cpp | 24 | ||||
-rw-r--r-- | plugins/HistoryStats/src/main.h | 2 | ||||
-rw-r--r-- | plugins/HistoryStats/src/stdafx.cpp | 18 | ||||
-rw-r--r-- | plugins/HistoryStats/src/version.h | 14 |
5 files changed, 47 insertions, 13 deletions
diff --git a/plugins/HistoryStats/src/_globals.h b/plugins/HistoryStats/src/_globals.h index a4368cf083..0b9e033a63 100644 --- a/plugins/HistoryStats/src/_globals.h +++ b/plugins/HistoryStats/src/_globals.h @@ -14,6 +14,8 @@ #include "mu_common.h"
+#include "version.h"
+
/*
* essential includes
*/
diff --git a/plugins/HistoryStats/src/main.cpp b/plugins/HistoryStats/src/main.cpp index 509d5f53a1..6250d5af43 100644 --- a/plugins/HistoryStats/src/main.cpp +++ b/plugins/HistoryStats/src/main.cpp @@ -17,18 +17,18 @@ int hLangpack; static const int g_pluginFileListID = 2535;
-const PLUGININFOEX g_pluginInfoEx = {
- /* .cbSize = */ sizeof(PLUGININFOEX),
- /* .shortName = */ muA("HistoryStats"),
- /* .version = */ PLUGIN_MAKE_VERSION(0, 1, 5, 3),
- /* .description = */ muA("Creates nice statistics using your message history.\r\n")
- muA("(Requires Miranda IM ") MU_DO_BOTH(muA("0.6.7"), muA("0.6.7 Unicode")) muA(" or above.)"),
- /* .author = */ muA("Martin Afanasjew"),
- /* .authorEmail = */ muA("miranda@dark-passage.de"),
- /* .copyright = */ muA("2005-2007 by Martin Afanasjew (see README for further credits)"),
- /* .homepage = */ muA("http://addons.miranda-im.org/details.php?action=viewfile&id=") MU_DO_BOTH(muA("2534"), muA("2535")),
- /* .flags = */ UNICODE_AWARE,
- /* .uuid = */ { 0xf184f5a0, 0xc198, 0x4454, { 0xa9, 0xb4, 0xf6, 0xe2, 0xfd, 0x53, 0x41, 0x33 } },
+PLUGININFOEX g_pluginInfoEx = {
+ sizeof(PLUGININFOEX),
+ __PLUGIN_NAME,
+ PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
+ __DESCRIPTION,
+ __AUTHOR,
+ __AUTHOREMAIL,
+ __COPYRIGHT,
+ __AUTHORWEB,
+ UNICODE_AWARE,
+ // {F184F5A0-C198-4454-A9B4-F6E2FD534133}
+ {0xf184f5a0, 0xc198, 0x4454, {0xa9, 0xb4, 0xf6, 0xe2, 0xfd, 0x53, 0x41, 0x33}},
};
SettingsSerializer* g_pSettings = NULL;
diff --git a/plugins/HistoryStats/src/main.h b/plugins/HistoryStats/src/main.h index cc0292adb9..51b5ea21f9 100644 --- a/plugins/HistoryStats/src/main.h +++ b/plugins/HistoryStats/src/main.h @@ -9,7 +9,7 @@ extern HINSTANCE g_hInst;
-extern const PLUGININFOEX g_pluginInfoEx;
+extern PLUGININFOEX g_pluginInfoEx;
extern SettingsSerializer* g_pSettings;
diff --git a/plugins/HistoryStats/src/stdafx.cpp b/plugins/HistoryStats/src/stdafx.cpp new file mode 100644 index 0000000000..26e3a4ab34 --- /dev/null +++ b/plugins/HistoryStats/src/stdafx.cpp @@ -0,0 +1,18 @@ +/*
+Copyright (C) 2012-14 Miranda NG project (http://miranda-ng.org)
+
+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 version 2
+of the License.
+
+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, see <http://www.gnu.org/licenses/>.
+*/
+
+#include "_globals.h"
\ No newline at end of file diff --git a/plugins/HistoryStats/src/version.h b/plugins/HistoryStats/src/version.h new file mode 100644 index 0000000000..28c23a27c4 --- /dev/null +++ b/plugins/HistoryStats/src/version.h @@ -0,0 +1,14 @@ +#define __MAJOR_VERSION 0
+#define __MINOR_VERSION 1
+#define __RELEASE_NUM 5
+#define __BUILD_NUM 3
+
+#include <stdver.h>
+
+#define __PLUGIN_NAME "HistoryStats"
+#define __FILENAME "HistoryStats.dll"
+#define __DESCRIPTION "Creates nice statistics using your message history."
+#define __AUTHOR "Martin Afanasjew"
+#define __AUTHOREMAIL "miranda@dark-passage.de"
+#define __AUTHORWEB "http://miranda-ng.org/p/HistoryStats/"
+#define __COPYRIGHT "© 2005-2007 by Martin Afanasjew (see README for further credits)"
|