summaryrefslogtreecommitdiff
path: root/worldtime/WorldTime.h
diff options
context:
space:
mode:
authorsje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2006-11-01 14:57:13 +0000
committersje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2006-11-01 14:57:13 +0000
commit610f48f080c6ae8c298a032cd92bb2ca9948aded (patch)
treefc8f9cdd046fa5219776dc2a9fc74cb6ed700e6a /worldtime/WorldTime.h
parent75c65a6f461f71e2c94aac46d3e08e4475e4a450 (diff)
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@23 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'worldtime/WorldTime.h')
-rw-r--r--worldtime/WorldTime.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/worldtime/WorldTime.h b/worldtime/WorldTime.h
new file mode 100644
index 0000000..5300f73
--- /dev/null
+++ b/worldtime/WorldTime.h
@@ -0,0 +1,44 @@
+// © 2004 Scott Ellis
+#ifndef _WORLD_TIME_H
+#define _WORLD_TIME_H
+
+// 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 PINGPLUG_VC6_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
+// PINGPLUG_VC6_API functions as being imported from a DLL, wheras this DLL sees symbols
+// defined with this macro as being exported.
+#ifdef WORLDTIME_EXPORTS
+#define WORLDTIME_API __declspec(dllexport)
+#else
+#define WORLDTIME_API __declspec(dllimport)
+#endif
+
+#include "plugwin.h"
+#include "timezone.h"
+
+//#include "../../include/newpluginapi.h"
+#include "../../include/m_clui.h"
+#include "../../include/m_system.h"
+#include "../../include/m_options.h"
+#include "../../include/m_protocols.h"
+#include "../../include/m_protomod.h"
+#include "../../include/m_protosvc.h"
+
+#include "../../include/m_updater.h"
+
+//#include "../../include/m_clist.h"
+//#include "../../include/m_skin.h"
+//#include "../../include/m_cluiframes.h"
+//#include "../../include/m_netlib.h"
+
+
+extern HINSTANCE hInst;
+extern PLUGINLINK *pluginLink;
+extern PLUGININFO pluginInfo;
+
+extern "C" WORLDTIME_API PLUGININFO* MirandaPluginInfo(DWORD mirandaVersion);
+extern "C" WORLDTIME_API int Load(PLUGINLINK *link);
+extern "C" WORLDTIME_API int Unload(void);
+
+#endif \ No newline at end of file