diff options
author | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2006-11-01 14:57:42 +0000 |
---|---|---|
committer | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2006-11-01 14:57:42 +0000 |
commit | d513db102812c5dd83f94084e979bb7e24345498 (patch) | |
tree | 29f599f98d2d5fb01d0e1dcb58077459ea609961 /worldtime_protocol/worldtimeproto.h | |
parent | 610f48f080c6ae8c298a032cd92bb2ca9948aded (diff) |
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@24 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'worldtime_protocol/worldtimeproto.h')
-rw-r--r-- | worldtime_protocol/worldtimeproto.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/worldtime_protocol/worldtimeproto.h b/worldtime_protocol/worldtimeproto.h new file mode 100644 index 0000000..4e80710 --- /dev/null +++ b/worldtime_protocol/worldtimeproto.h @@ -0,0 +1,42 @@ +/*
+Based on the
+Miranda plugin template, originally by Richard Hughes
+http://miranda-icq.sourceforge.net/
+
+© 2004 Scott Ellis
+
+*/
+
+#ifndef _WORLDTIMEPROTO
+#define _WORLDTIMEPROTO
+
+
+// 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 WORLDTIMEPROTO_EXPORTS
+#define WORLDTIMEPROTO_API __declspec(dllexport)
+#else
+#define WORLDTIMEPROTO_API __declspec(dllimport)
+#endif
+
+#include "options.h"
+#include "timezone.h"
+#include "time_convert.h"
+#include "timezone_list.h"
+#include "time_display.h"
+
+#include <string>
+
+// globals
+extern PLUGINLINK *pluginLink;
+extern PLUGININFO pluginInfo;
+
+extern "C" WORLDTIMEPROTO_API PLUGININFO* MirandaPluginInfo(DWORD mirandaVersion);
+extern "C" WORLDTIMEPROTO_API int Load(PLUGINLINK *link);
+extern "C" WORLDTIMEPROTO_API int Unload(void);
+
+#endif
|