summaryrefslogtreecommitdiff
path: root/plugins/Ping/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Ping/src/stdafx.h')
-rw-r--r--plugins/Ping/src/stdafx.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/plugins/Ping/src/stdafx.h b/plugins/Ping/src/stdafx.h
index 14049e295f..3e1c99c68f 100644
--- a/plugins/Ping/src/stdafx.h
+++ b/plugins/Ping/src/stdafx.h
@@ -12,7 +12,6 @@
#include <Icmpapi.h>
#include <list>
-#define __NO_CMPLUGIN_NEEDED
#include <newpluginapi.h>
#include <m_options.h>
#include <m_langpack.h>
@@ -55,6 +54,12 @@
#define MAX_PINGADDRESS_STRING_LENGTH 256
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(PLUG)
+ {}
+};
typedef struct {
int ping_period, ping_timeout;
@@ -105,13 +110,12 @@ struct PINGADDRESS {
};
#include "options.h"
+
typedef Map<DWORD, HistoryList> HistoryMap;
typedef std::list<PINGADDRESS> PINGLIST;
typedef std::list<PINGADDRESS>::iterator pinglist_it;
-
extern HNETLIBUSER hNetlibUser;
-extern HINSTANCE hInst;
extern bool use_raw_ping;