summaryrefslogtreecommitdiff
path: root/worldtime_protocol/worldtimeproto.h
blob: bab115474d59a49143bf701bedcea67f3ca1eee5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
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"

// globals
extern PLUGINLINK *pluginLink;
extern PLUGININFOEX 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