summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-29 14:56:41 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-29 14:56:41 +0300
commit08aa1c5329918dcc1d3a0704efb5f81c43680a78 (patch)
tree0fe6b63fc97bf2c0f2c1d1b7f741d75120701e17 /plugins/Clist_nicer
parent51e1e489382e8f66d489b8bd68eb4e0711409cb7 (diff)
ancient perversion removed: function CListInitialise as the special entry point for contact lists (not to mix them with usual plugins)
Diffstat (limited to 'plugins/Clist_nicer')
-rw-r--r--plugins/Clist_nicer/src/init.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/plugins/Clist_nicer/src/init.cpp b/plugins/Clist_nicer/src/init.cpp
index d4132cf8a7..4bf1266d31 100644
--- a/plugins/Clist_nicer/src/init.cpp
+++ b/plugins/Clist_nicer/src/init.cpp
@@ -107,7 +107,7 @@ static int systemModulesLoaded(WPARAM, LPARAM)
return 0;
}
-extern "C" int __declspec(dllexport) CListInitialise()
+int CMPlugin::Load()
{
Clist_GetInterface();
coreCli = g_clistApi;
@@ -219,14 +219,6 @@ extern "C" int __declspec(dllexport) CListInitialise()
}
/////////////////////////////////////////////////////////////////////////////////////////
-// a plugin loader aware of CList exports will never call this.
-
-int CMPlugin::Load()
-{
- return 1;
-}
-
-/////////////////////////////////////////////////////////////////////////////////////////
int CMPlugin::Unload()
{