diff options
Diffstat (limited to 'src/core/stduihist')
-rw-r--r-- | src/core/stduihist/src/main.cpp | 9 | ||||
-rw-r--r-- | src/core/stduihist/src/stdafx.h | 2 |
2 files changed, 3 insertions, 8 deletions
diff --git a/src/core/stduihist/src/main.cpp b/src/core/stduihist/src/main.cpp index 1f5eeae95f..45d183f263 100644 --- a/src/core/stduihist/src/main.cpp +++ b/src/core/stduihist/src/main.cpp @@ -50,15 +50,8 @@ extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = { MIID_UIHIST /////////////////////////////////////////////////////////////////////////////////////////
-extern "C" int __declspec(dllexport) Load(void)
+int CMPlugin::Load()
{
LoadHistoryModule();
return 0;
}
-
-/////////////////////////////////////////////////////////////////////////////////////////
-
-extern "C" int __declspec(dllexport) Unload(void)
-{
- return 0;
-}
diff --git a/src/core/stduihist/src/stdafx.h b/src/core/stduihist/src/stdafx.h index 5dfae67b52..71003a491e 100644 --- a/src/core/stduihist/src/stdafx.h +++ b/src/core/stduihist/src/stdafx.h @@ -67,6 +67,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. struct CMPlugin : public PLUGIN<CMPlugin>
{
CMPlugin();
+
+ int Load() override;
};
#pragma comment(lib, "version.lib")
|