diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-11-28 18:44:28 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-11-28 18:44:28 +0000 |
commit | 68fb5b69ea8403a3f9dcb70b3133eb10e1711000 (patch) | |
tree | c4e4e81724c9ea80fe7f2558991bda699961bc11 /plugins/Ping/src/ping.h | |
parent | 80d65efb84ec7500cd02ca047d0177d642eb1871 (diff) |
forgotten files
git-svn-id: http://svn.miranda-ng.org/main/trunk@2544 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Ping/src/ping.h')
-rw-r--r-- | plugins/Ping/src/ping.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/plugins/Ping/src/ping.h b/plugins/Ping/src/ping.h new file mode 100644 index 0000000000..8a1b1730bd --- /dev/null +++ b/plugins/Ping/src/ping.h @@ -0,0 +1,41 @@ +/*
+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 PLUGININFOEX pluginInfo;
+
+extern "C" PING_API PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion);
+extern "C" PING_API int Load(void);
+extern "C" PING_API int Unload(void);
+
+#endif
|