summaryrefslogtreecommitdiff
path: root/iax/dllmain.cpp
diff options
context:
space:
mode:
authorsje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-04-25 13:49:06 +0000
committersje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-04-25 13:49:06 +0000
commita44175dd565f39990ef57719313ef3a88a8d01b6 (patch)
tree957b9c8c58f21854450780bc2f29b1e0961dafdf /iax/dllmain.cpp
parent3224f00e30979b51332dac42c8652af0b2c0c748 (diff)
rebuilds for beta release - added some updater compatibility, and more GUIDs for 0.8
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@144 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'iax/dllmain.cpp')
-rw-r--r--iax/dllmain.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/iax/dllmain.cpp b/iax/dllmain.cpp
index 5e10508..f62a507 100644
--- a/iax/dllmain.cpp
+++ b/iax/dllmain.cpp
@@ -39,11 +39,16 @@ extern "C" __declspec (dllexport) PLUGININFOEX* __cdecl MirandaPluginInfoEx(DWOR
}
static const MUUID interfaces[] = {MIID_PROTOCOL, MIID_LAST};
-__declspec(dllexport) const MUUID* MirandaPluginInterfaces(void)
+extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void)
{
return interfaces;
}
+extern "C" __declspec (dllexport) PLUGININFO* __cdecl MirandaPluginInfo(DWORD mirandaVersion) {
+ pluginInfo.cbSize = sizeof(PLUGININFO);
+ return (PLUGININFO*)&pluginInfo;
+}
+
int ModulesLoaded(WPARAM wParam, LPARAM lParam) {
if(ServiceExists(MS_UPDATE_REGISTER)) {
// register with updater