diff options
Diffstat (limited to 'plugins/WebView/src')
-rw-r--r-- | plugins/WebView/src/main.cpp | 4 | ||||
-rw-r--r-- | plugins/WebView/src/webview.h | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/plugins/WebView/src/main.cpp b/plugins/WebView/src/main.cpp index 91778dffe2..2c7d70ec58 100644 --- a/plugins/WebView/src/main.cpp +++ b/plugins/WebView/src/main.cpp @@ -91,7 +91,7 @@ extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = { MIID_PROTOC /////////////////////////////////////////////////////////////////////////////////////////
-extern "C" int __declspec(dllexport) Load()
+int CMPlugin::Load()
{
HookEvent(ME_CLIST_DOUBLECLICKED, Doubleclick);
@@ -251,7 +251,7 @@ extern "C" int __declspec(dllexport) Load() /////////////////////////////////////////////////////////////////////////////////////////
-extern "C" int __declspec(dllexport) Unload(void)
+int CMPlugin::Unload()
{
ChangeContactStatus(0);
diff --git a/plugins/WebView/src/webview.h b/plugins/WebView/src/webview.h index fce570cdb1..ad69459257 100644 --- a/plugins/WebView/src/webview.h +++ b/plugins/WebView/src/webview.h @@ -247,4 +247,7 @@ extern HANDLE hHookAlertOSD; struct CMPlugin : public PLUGIN<CMPlugin>
{
CMPlugin();
+
+ int Load() override;
+ int Unload() override;
};
|