summaryrefslogtreecommitdiff
path: root/protocols/EmLanProto/src/amdproto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-28 22:38:35 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-28 22:39:22 +0300
commitca55ac7905e8ffd1ee979b5b5fe7121fa7a03a5d (patch)
tree2fc218f22e6fb28baa5b5efc02ab652daae97d73 /protocols/EmLanProto/src/amdproto.cpp
parent9250a0caadc93ec7a92b99deea151ab7a1c403da (diff)
all plugins => CMPlugin virtual functions
Diffstat (limited to 'protocols/EmLanProto/src/amdproto.cpp')
-rw-r--r--protocols/EmLanProto/src/amdproto.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/EmLanProto/src/amdproto.cpp b/protocols/EmLanProto/src/amdproto.cpp
index 6c02c60c61..61e215590c 100644
--- a/protocols/EmLanProto/src/amdproto.cpp
+++ b/protocols/EmLanProto/src/amdproto.cpp
@@ -327,7 +327,7 @@ INT_PTR CALLBACK EMPDlgProcMessage(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARA
return FALSE;
}
-extern "C" int __declspec(dllexport) __cdecl Load()
+int CMPlugin::Load()
{
g_lan = new CMLan();
@@ -356,7 +356,7 @@ extern "C" int __declspec(dllexport) __cdecl Load()
return 0;
}
-extern "C" int __declspec(dllexport) __cdecl Unload()
+int CMPlugin::Unload()
{
delete g_lan;
return 0;