summaryrefslogtreecommitdiff
path: root/plugins/SimpleAR/src/Main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SimpleAR/src/Main.cpp')
-rw-r--r--plugins/SimpleAR/src/Main.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/plugins/SimpleAR/src/Main.cpp b/plugins/SimpleAR/src/Main.cpp
index 5e3d38d1be..734cee99ef 100644
--- a/plugins/SimpleAR/src/Main.cpp
+++ b/plugins/SimpleAR/src/Main.cpp
@@ -241,7 +241,7 @@ IconItem iconList[] =
{ LPGEN("Enable Auto&reply"), "Enable Auto&reply", IDI_ON }
};
-extern "C" int __declspec(dllexport)Load(void)
+int CMPlugin::Load()
{
CreateServiceFunction(MODULENAME"/ToggleEnable", ToggleEnable);
CreateServiceFunction(MODULENAME"/ToggleAutoanswer", Toggle);
@@ -268,10 +268,3 @@ extern "C" int __declspec(dllexport)Load(void)
g_plugin.registerIcon("Simple Auto Replier", iconList);
return 0;
}
-
-/////////////////////////////////////////////////////////////////////////////////////////
-
-extern "C" __declspec(dllexport)int Unload(void)
-{
- return 0;
-}