summaryrefslogtreecommitdiff
path: root/ping/ping.h
diff options
context:
space:
mode:
authorsje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2006-11-01 14:44:17 +0000
committersje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2006-11-01 14:44:17 +0000
commitb61df7acc1235b3b2a66217d0d7358199c5d37f9 (patch)
tree70f74e5b04249d9ce70259ef70b38bcdf869cf64 /ping/ping.h
parent9c6d8a640911d336cc1e758310bbfccaf547d2d2 (diff)
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@11 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'ping/ping.h')
-rw-r--r--ping/ping.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/ping/ping.h b/ping/ping.h
new file mode 100644
index 0000000..f38ecca
--- /dev/null
+++ b/ping/ping.h
@@ -0,0 +1,42 @@
+/*
+Based on the
+Miranda plugin template, originally by Richard Hughes
+http://miranda-icq.sourceforge.net/
+
+© 2004 Scott Ellis
+
+*/
+
+#ifndef _PING
+#define _PING
+
+
+// The following ifdef block is the standard way of creating macros which make exporting
+// from a DLL simpler. All files within this DLL are compiled with the PINGPROTO_EXPORTS
+// symbol defined on the command line. this symbol should not be defined on any project
+// that uses this DLL. This way any other project whose source files include this file see
+// PINGPROTO_API functions as being imported from a DLL, wheras this DLL sees symbols
+// defined with this macro as being exported.
+#ifdef PING_EXPORTS
+#define PING_API __declspec(dllexport)
+#else
+#define PING_API __declspec(dllimport)
+#endif
+
+#include "utils.h"
+#include "options.h"
+#include "pinglist.h"
+#include "log.h"
+#include "pingthread.h"
+#include "menu.h"
+#include "rawping.h"
+
+// globals
+extern PLUGINLINK *pluginLink;
+extern PLUGININFO pluginInfo;
+
+extern "C" PING_API PLUGININFO* MirandaPluginInfo(DWORD mirandaVersion);
+extern "C" PING_API int Load(PLUGINLINK *link);
+extern "C" PING_API int Unload(void);
+
+#endif