From 49b4d6dd9d4d35adc9f02df4010a1a6b33faba63 Mon Sep 17 00:00:00 2001 From: sje Date: Wed, 1 Nov 2006 14:44:34 +0000 Subject: git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@12 4f64403b-2f21-0410-a795-97e2b3489a10 --- ping_protocol/pingproto.h | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 ping_protocol/pingproto.h (limited to 'ping_protocol/pingproto.h') diff --git a/ping_protocol/pingproto.h b/ping_protocol/pingproto.h new file mode 100644 index 0000000..cb70bd6 --- /dev/null +++ b/ping_protocol/pingproto.h @@ -0,0 +1,43 @@ +/* +Based on the +Miranda plugin template, originally by Richard Hughes +http://miranda-icq.sourceforge.net/ + +© 2004 Scott Ellis + +*/ + +#ifndef _PINGPROTO +#define _PINGPROTO + + +// 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 PINGPROTO_EXPORTS +#define PINGPROTO_API __declspec(dllexport) +#else +#define PINGPROTO_API __declspec(dllimport) +#endif + +#include "common.h" +#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" PINGPROTO_API PLUGININFO* MirandaPluginInfo(DWORD mirandaVersion); +extern "C" PINGPROTO_API int Load(PLUGINLINK *link); +extern "C" PINGPROTO_API int Unload(void); + +#endif -- cgit v1.2.3