summaryrefslogtreecommitdiff
path: root/worldtime_protocol/worldtimeproto.cpp
diff options
context:
space:
mode:
authorsje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-06-01 07:26:00 +0000
committersje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-06-01 07:26:00 +0000
commite632de12c947e1843cf3d83ce219987ca90c7703 (patch)
treea8eeaf6b935d3c13c29b0e86505a802234dc0699 /worldtime_protocol/worldtimeproto.cpp
parent499c6dd7340130332361c3b873c8f1c5151d4028 (diff)
loadable with pre 0.7
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@189 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'worldtime_protocol/worldtimeproto.cpp')
-rw-r--r--worldtime_protocol/worldtimeproto.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/worldtime_protocol/worldtimeproto.cpp b/worldtime_protocol/worldtimeproto.cpp
index 8301014..5ee4724 100644
--- a/worldtime_protocol/worldtimeproto.cpp
+++ b/worldtime_protocol/worldtimeproto.cpp
@@ -112,7 +112,7 @@ int GetStatus(WPARAM wParam,LPARAM lParam)
PLUGININFOEX pluginInfo={
sizeof(PLUGININFOEX),
"World Time Protocol",
- PLUGIN_MAKE_VERSION(0, 1, 0, 0),
+ PLUGIN_MAKE_VERSION(0, 1, 0, 1),
"Adds 'contacts' showing the time at specified locations around the world.",
"Scott Ellis",
"mail@scottellis.com.au",
@@ -134,6 +134,12 @@ extern "C" WORLDTIMEPROTO_API PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVer
return &pluginInfo;
}
+extern "C" WORLDTIMEPROTO_API PLUGININFO* MirandaPluginInfo(DWORD mirandaVersion)
+{
+ pluginInfo.cbSize = sizeof(PLUGININFO);
+ return (PLUGININFO*)&pluginInfo;
+}
+
static const MUUID interfaces[] = {MIID_PROTOCOL, MIID_WORLDTIME, MIID_LAST};
extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void)
{