summaryrefslogtreecommitdiff
path: root/plugins/WhoUsesMyFiles/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/WhoUsesMyFiles/src')
-rw-r--r--plugins/WhoUsesMyFiles/src/stdafx.h3
-rw-r--r--plugins/WhoUsesMyFiles/src/wumfplug.cpp4
2 files changed, 5 insertions, 2 deletions
diff --git a/plugins/WhoUsesMyFiles/src/stdafx.h b/plugins/WhoUsesMyFiles/src/stdafx.h
index ac78ddc54c..31370ae51b 100644
--- a/plugins/WhoUsesMyFiles/src/stdafx.h
+++ b/plugins/WhoUsesMyFiles/src/stdafx.h
@@ -116,6 +116,9 @@ BOOL del_marked(PWumf* l);
struct CMPlugin : public PLUGIN<CMPlugin>
{
CMPlugin();
+
+ int Load() override;
+ int Unload() override;
};
extern WUMF_OPTIONS WumfOptions;
diff --git a/plugins/WhoUsesMyFiles/src/wumfplug.cpp b/plugins/WhoUsesMyFiles/src/wumfplug.cpp
index 094320ad92..fce2633623 100644
--- a/plugins/WhoUsesMyFiles/src/wumfplug.cpp
+++ b/plugins/WhoUsesMyFiles/src/wumfplug.cpp
@@ -216,7 +216,7 @@ int InitTopToolbar(WPARAM, LPARAM)
/////////////////////////////////////////////////////////////////////////////////////////
-extern "C" __declspec(dllexport) int Load(void)
+int CMPlugin::Load()
{
LoadOptions();
@@ -256,7 +256,7 @@ extern "C" __declspec(dllexport) int Load(void)
/////////////////////////////////////////////////////////////////////////////////////////
-extern "C" __declspec(dllexport) int Unload(void)
+int CMPlugin::Unload()
{
KillTimer(nullptr, 777);
if (hLogger)