summaryrefslogtreecommitdiff
path: root/plugins/AutoRun/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AutoRun/src/main.cpp')
-rw-r--r--plugins/AutoRun/src/main.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/plugins/AutoRun/src/main.cpp b/plugins/AutoRun/src/main.cpp
index 6dc32d5244..98accc4b3f 100644
--- a/plugins/AutoRun/src/main.cpp
+++ b/plugins/AutoRun/src/main.cpp
@@ -114,15 +114,8 @@ static int AutorunOptInitialise(WPARAM wParam, LPARAM)
return 0;
}
-extern "C" __declspec(dllexport) int Load(void)
+int CMPlugin::Load()
{
HookEvent(ME_OPT_INITIALISE, AutorunOptInitialise);
return 0;
}
-
-/////////////////////////////////////////////////////////////////////////////////////////
-
-extern "C" __declspec(dllexport) int Unload(void)
-{
- return 0;
-}