summaryrefslogtreecommitdiff
path: root/protocols/ICQCorp/src
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/ICQCorp/src')
-rw-r--r--protocols/ICQCorp/src/corp.cpp4
-rw-r--r--protocols/ICQCorp/src/stdafx.h3
2 files changed, 5 insertions, 2 deletions
diff --git a/protocols/ICQCorp/src/corp.cpp b/protocols/ICQCorp/src/corp.cpp
index 497037cf06..aa7a241ec0 100644
--- a/protocols/ICQCorp/src/corp.cpp
+++ b/protocols/ICQCorp/src/corp.cpp
@@ -59,7 +59,7 @@ extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = { MIID_PROTOC
///////////////////////////////////////////////////////////////////////////////
-extern "C" __declspec(dllexport) int Load()
+int CMPlugin::Load()
{
CMStringA szDescr(FORMAT, "%s connection", protoName);
NETLIBUSER nlu = {};
@@ -74,7 +74,7 @@ extern "C" __declspec(dllexport) int Load()
///////////////////////////////////////////////////////////////////////////////
-extern "C" __declspec(dllexport) int Unload()
+int CMPlugin::Unload()
{
UnloadServices();
return 0;
diff --git a/protocols/ICQCorp/src/stdafx.h b/protocols/ICQCorp/src/stdafx.h
index 215bb0a9dc..f32175904f 100644
--- a/protocols/ICQCorp/src/stdafx.h
+++ b/protocols/ICQCorp/src/stdafx.h
@@ -60,4 +60,7 @@ extern int UnloadServices();
struct CMPlugin : public PLUGIN<CMPlugin>
{
CMPlugin();
+
+ int Load() override;
+ int Unload() override;
};