summaryrefslogtreecommitdiff
path: root/otr
diff options
context:
space:
mode:
authorsje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-03-19 13:02:11 +0000
committersje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-03-19 13:02:11 +0000
commit44d0c3c1ac3d238386d48b10249fa0480aa54e2a (patch)
tree74d535813c7afe73fd20d23b660b196e9bc867d8 /otr
parent0a2ecd2736cf4ba2d1b6e7050b531239b385bce0 (diff)
added old-style MirandaPluginInfo function for back-compatibility with pre 0.7 cores
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@138 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'otr')
-rw-r--r--otr/dllmain.cpp6
-rw-r--r--otr/otr.mdsp2
2 files changed, 7 insertions, 1 deletions
diff --git a/otr/dllmain.cpp b/otr/dllmain.cpp
index 68fbf4b..8be1df2 100644
--- a/otr/dllmain.cpp
+++ b/otr/dllmain.cpp
@@ -60,6 +60,12 @@ extern "C" DLLIMPORT PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion) {
return &pluginInfo;
}
+extern "C" __declspec(dllexport) PLUGININFO* MirandaPluginInfo(DWORD mirandaVersion)
+{
+ pluginInfo.cbSize = sizeof(PLUGININFO);
+ return (PLUGININFO*)&pluginInfo;
+}
+
/////////////////////////
// dodgy, INNEFFICIENT, utility function
////////////////////////
diff --git a/otr/otr.mdsp b/otr/otr.mdsp
index dc3fb96..2076694 100644
--- a/otr/otr.mdsp
+++ b/otr/otr.mdsp
@@ -102,4 +102,4 @@ extraResourceOptions=
utils.cpp,6882
common.h,2043
otr_private.h,149
-dllmain.cpp,1358
+dllmain.cpp,1741