diff options
Diffstat (limited to 'plugins/NewEventNotify/src')
-rw-r--r-- | plugins/NewEventNotify/src/Version.h | 14 | ||||
-rw-r--r-- | plugins/NewEventNotify/src/main.cpp | 16 | ||||
-rw-r--r-- | plugins/NewEventNotify/src/neweventnotify.h | 12 | ||||
-rw-r--r-- | plugins/NewEventNotify/src/stdafx.cpp | 18 |
4 files changed, 40 insertions, 20 deletions
diff --git a/plugins/NewEventNotify/src/Version.h b/plugins/NewEventNotify/src/Version.h new file mode 100644 index 0000000000..f30f01b670 --- /dev/null +++ b/plugins/NewEventNotify/src/Version.h @@ -0,0 +1,14 @@ +#define __MAJOR_VERSION 0
+#define __MINOR_VERSION 2
+#define __RELEASE_NUM 2
+#define __BUILD_NUM 3
+
+#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
+
+#define __PLUGIN_NAME "NewEventNotify"
+#define __FILENAME "NewEventNotify.dll"
+#define __DESCRIPTION "Notifies you when you receive a message, url, file or any other event by displaying a popup."
+#define __AUTHOR "icebreaker, Prezes, vj, vlko, Joe @ Whale"
+#define __AUTHOREMAIL "jokusoftware@miranda-im.org"
+#define __AUTHORWEB "http://miranda-ng.org/"
+#define __COPYRIGHT "GNU GPL"
diff --git a/plugins/NewEventNotify/src/main.cpp b/plugins/NewEventNotify/src/main.cpp index 6c2c286396..67f3efd4ab 100644 --- a/plugins/NewEventNotify/src/main.cpp +++ b/plugins/NewEventNotify/src/main.cpp @@ -36,15 +36,13 @@ PLUGIN_OPTIONS pluginOptions; int hLangpack;
PLUGININFOEX pluginInfo = {
sizeof(PLUGININFOEX),
- "NewEventNotify",
- PLUGIN_MAKE_VERSION(0, VER_MAJOR, VER_MINOR, VER_BUILD),
- "Notifies you when you receive a message, url, file or any other event by displaying a popup. Uses the PopUp-Plugin by hrk. "
- "Original plugin was written by icebreaker, modified by Prezes and some "
- "bugfixes were made by vj, vlko, Nightwish, TheLeech and others. More fixes & updates by Joe @ Whale.",
- "icebreaker, Prezes, vj, vlko, Joe @ Whale",
- "jokusoftware@miranda-im.org",
- "GNU GPL",
- "http://miranda-ng.org/",
+ __PLUGIN_NAME,
+ PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
+ __DESCRIPTION,
+ __AUTHOR,
+ __AUTHOREMAIL,
+ __COPYRIGHT,
+ __AUTHORWEB,
UNICODE_AWARE,
// {3503D584-6234-4BEF-A553-6C1B9CD471F2}
{0x3503D584, 0x6234, 0x4BEF, {0xA5, 0x53, 0x6C, 0x1B, 0x9C, 0xD4, 0x71, 0xF2}}
diff --git a/plugins/NewEventNotify/src/neweventnotify.h b/plugins/NewEventNotify/src/neweventnotify.h index bfbdd0bc07..28ad7c817a 100644 --- a/plugins/NewEventNotify/src/neweventnotify.h +++ b/plugins/NewEventNotify/src/neweventnotify.h @@ -27,33 +27,26 @@ #define _CRT_SECURE_NO_WARNINGS
#define _CRT_NONSTDC_NO_DEPRECATE
-#include <stdio.h>
#include <stddef.h>
#include <windows.h>
-#include <commctrl.h>
-#include <string.h>
#include <time.h>
-#include <malloc.h>
#include <win2k.h>
#include <newpluginapi.h>
#include <m_database.h>
#include <m_langpack.h>
-#include <m_contacts.h>
#include <m_popup.h>
#include <m_skin.h>
#include <m_clist.h>
-#include <m_system.h>
-#include <m_protocols.h>
#include <m_protosvc.h>
#include <m_message.h>
#include <m_options.h>
#include <m_icq.h>
-#include <m_utils.h>
#include <m_metacontacts.h>
#include "resource.h"
+#include "Version.h"
//VERY_PUBLIC Begin ... will be moved to m_neweventnotify.h
#define MS_NEN_MENUNOTIFY "NewEventNotify/MenuitemNotifyCommand"
@@ -65,9 +58,6 @@ //---Definitions
#define MODULE "NewEventNotify"
-#define VER_MAJOR 2
-#define VER_MINOR 2
-#define VER_BUILD 3
#define MAX_POPUPS 20
#define DEFAULT_COLBACK RGB(255,255,128)
diff --git a/plugins/NewEventNotify/src/stdafx.cpp b/plugins/NewEventNotify/src/stdafx.cpp new file mode 100644 index 0000000000..74df2166b3 --- /dev/null +++ b/plugins/NewEventNotify/src/stdafx.cpp @@ -0,0 +1,18 @@ +/*
+Copyright (C) 2012-13 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 "neweventnotify.h"
\ No newline at end of file |