summaryrefslogtreecommitdiff
path: root/plugins/Import/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Import/src/main.cpp')
-rw-r--r--plugins/Import/src/main.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/plugins/Import/src/main.cpp b/plugins/Import/src/main.cpp
index f24d4a1cb2..10f22c7568 100644
--- a/plugins/Import/src/main.cpp
+++ b/plugins/Import/src/main.cpp
@@ -132,7 +132,7 @@ static INT_PTR ImportCommand(WPARAM, LPARAM)
return 0;
}
-extern "C" __declspec(dllexport) int Load(void)
+int CMPlugin::Load()
{
CreateServiceFunction(IMPORT_SERVICE, ImportCommand);
CreateServiceFunction(MS_SERVICEMODE_LAUNCH, ServiceMode);
@@ -151,11 +151,3 @@ extern "C" __declspec(dllexport) int Load(void)
return 0;
}
-
-/////////////////////////////////////////////////////////////////////////////////////////
-// Unload a plugin
-
-extern "C" __declspec(dllexport) int Unload(void)
-{
- return 0;
-}