summaryrefslogtreecommitdiff
path: root/plugins/NewEventNotify/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewEventNotify/src/stdafx.h')
-rw-r--r--plugins/NewEventNotify/src/stdafx.h17
1 files changed, 3 insertions, 14 deletions
diff --git a/plugins/NewEventNotify/src/stdafx.h b/plugins/NewEventNotify/src/stdafx.h
index 78b8021640..9262f1a608 100644
--- a/plugins/NewEventNotify/src/stdafx.h
+++ b/plugins/NewEventNotify/src/stdafx.h
@@ -32,6 +32,8 @@
#include <windows.h>
#include <time.h>
+#include <vector>
+
#include <newpluginapi.h>
#include <m_database.h>
#include <m_langpack.h>
@@ -186,25 +188,12 @@ struct CMPlugin : public PLUGIN<CMPlugin>
uint8_t iNumberMsg;
};
-struct EVENT_DATA_EX
-{
- MEVENT hEvent;
- int number;
- EVENT_DATA_EX *next;
- EVENT_DATA_EX *prev;
-};
-
struct PLUGIN_DATA : public MZeroedObject
{
- ~PLUGIN_DATA();
-
MCONTACT hContact;
UINT eventType;
HWND hWnd;
- EVENT_DATA_EX *firstEventData;
- EVENT_DATA_EX *firstShowEventData;
- EVENT_DATA_EX *lastEventData;
- long countEvent;
+ std::vector<MEVENT> events;
long iSeconds;
};