diff options
Diffstat (limited to 'plugins/SkypeStatusChange/src')
-rw-r--r-- | plugins/SkypeStatusChange/src/main.cpp | 9 | ||||
-rw-r--r-- | plugins/SkypeStatusChange/src/stdafx.h | 2 |
2 files changed, 3 insertions, 8 deletions
diff --git a/plugins/SkypeStatusChange/src/main.cpp b/plugins/SkypeStatusChange/src/main.cpp index bba4628908..9ddbc28fcd 100644 --- a/plugins/SkypeStatusChange/src/main.cpp +++ b/plugins/SkypeStatusChange/src/main.cpp @@ -265,7 +265,7 @@ int SSC_OnPreShutdown(WPARAM/* wParam*/, LPARAM/* lParam*/) /******************************* INSTALLATION PROCEDURES *****************************/
-extern "C" int __declspec(dllexport) Load()
+int CMPlugin::Load()
{
g_MsgIDSkypeControlAPIAttach = ::RegisterWindowMessage(L"SkypeControlAPIAttach");
g_MsgIDSkypeControlAPIDiscover = ::RegisterWindowMessage(L"SkypeControlAPIDiscover");
@@ -296,10 +296,3 @@ extern "C" int __declspec(dllexport) Load() HookEvent(ME_OPT_INITIALISE, SSC_OptInitialise);
return 0;
}
-
-/////////////////////////////////////////////////////////////////////////////////////////
-
-extern "C" __declspec(dllexport) int Unload(void) // Executed on DLL unload
-{
- return 0;
-}
diff --git a/plugins/SkypeStatusChange/src/stdafx.h b/plugins/SkypeStatusChange/src/stdafx.h index 90dfeb1b32..d33c1cef9f 100644 --- a/plugins/SkypeStatusChange/src/stdafx.h +++ b/plugins/SkypeStatusChange/src/stdafx.h @@ -20,6 +20,8 @@ struct CMPlugin : public PLUGIN<CMPlugin>
{
CMPlugin();
+
+ int Load() override;
};
class COptions
|