diff options
Diffstat (limited to 'plugins/HistoryLinkListPlus/src')
-rw-r--r-- | plugins/HistoryLinkListPlus/src/linklist.cpp | 4 | ||||
-rw-r--r-- | plugins/HistoryLinkListPlus/src/stdafx.h | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/plugins/HistoryLinkListPlus/src/linklist.cpp b/plugins/HistoryLinkListPlus/src/linklist.cpp index e039752b2d..634a292574 100644 --- a/plugins/HistoryLinkListPlus/src/linklist.cpp +++ b/plugins/HistoryLinkListPlus/src/linklist.cpp @@ -145,7 +145,7 @@ static INT_PTR LinkList_Main(WPARAM hContact, LPARAM) return 0;
}
-extern "C" __declspec(dllexport) int Load(void)
+int CMPlugin::Load()
{
CreateServiceFunction("Linklist/MenuCommand", LinkList_Main);
@@ -179,7 +179,7 @@ extern "C" __declspec(dllexport) int Load(void) /////////////////////////////////////////////////////////////////////////////////////////
-extern "C" __declspec(dllexport) int Unload(void)
+int CMPlugin::Unload()
{
WindowList_Destroy(hWindowList);
DestroyCursor(splitCursor);
diff --git a/plugins/HistoryLinkListPlus/src/stdafx.h b/plugins/HistoryLinkListPlus/src/stdafx.h index dd92964454..728a5b3160 100644 --- a/plugins/HistoryLinkListPlus/src/stdafx.h +++ b/plugins/HistoryLinkListPlus/src/stdafx.h @@ -130,6 +130,9 @@ typedef struct { struct CMPlugin : public PLUGIN<CMPlugin>
{
CMPlugin();
+
+ int Load() override;
+ int Unload() override;
};
#define _mstrlen(x) (_countof(x) - 1)
|