summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-05-06 23:45:28 +0000
committersje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-05-06 23:45:28 +0000
commitd90a8589d48dff0d2091298218a62bb1867e5dca (patch)
tree052d9517b7a7ab4630a6b610369703ed096b9132
parent97cbc271efbf24fb744f207a71d9a13d605fadf8 (diff)
added old MirandaPluginInfo function for backward compatibility
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@166 4f64403b-2f21-0410-a795-97e2b3489a10
-rw-r--r--last_contact/LastContact.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/last_contact/LastContact.cpp b/last_contact/LastContact.cpp
index 6cf9e09..7057b7e 100644
--- a/last_contact/LastContact.cpp
+++ b/last_contact/LastContact.cpp
@@ -52,7 +52,7 @@ void stack_update(MessageWindowEventData *data) {
PLUGININFOEX pluginInfo={
sizeof(PLUGININFOEX),
MODULE,
- PLUGIN_MAKE_VERSION(0,0,1,0),
+ PLUGIN_MAKE_VERSION(0,0,1,1),
"Re-open the last open message window using a configurable hot key.",
"Scott Ellis",
"mail@scottellis.com.au",
@@ -69,6 +69,12 @@ extern "C" BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvRese
return TRUE;
}
+extern "C" __declspec(dllexport) PLUGININFO* MirandaPluginInfo(DWORD mirandaVersion)
+{
+ pluginInfo.cbSize = sizeof(PLUGININFO);
+ return (PLUGININFO*)&pluginInfo;
+}
+
extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
{
return &pluginInfo;