From a7d5cce8e2cea97d52a35a1769d0e87e84e5502a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 23 May 2018 16:11:59 +0300 Subject: we don't need MirandaPluginInfoEx() anymore. farewell, my lovely --- plugins/HistoryPlusPlus/historypp.dpr | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) (limited to 'plugins/HistoryPlusPlus/historypp.dpr') diff --git a/plugins/HistoryPlusPlus/historypp.dpr b/plugins/HistoryPlusPlus/historypp.dpr index 746459a1a6..6f5a19d9da 100644 --- a/plugins/HistoryPlusPlus/historypp.dpr +++ b/plugins/HistoryPlusPlus/historypp.dpr @@ -128,21 +128,6 @@ function OnEventDeleted(wParam: WPARAM; lParam: LPARAM): Integer; cdecl; forward function OnMetaDefaultChanged(wParam: WPARAM; lParam: LPARAM): Integer; cdecl; forward; function OnPreshutdown(wParam: WPARAM; lParam: LPARAM): Integer; cdecl; forward; -// tell Miranda about this plugin ExVersion -function MirandaPluginInfoEx(mirandaVersion:DWORD): PPLUGININFOEX; cdecl; -begin - PluginInfo.cbSize:= SizeOf(TPLUGININFOEX); - PluginInfo.shortName:= hppShortNameV; - PluginInfo.version:= hppVersion; - PluginInfo.description:= hppDescription; - PluginInfo.author:= hppAuthor; - PluginInfo.copyright:= hppCopyright; - PluginInfo.homepage:= hppHomePageURL; - PluginInfo.flags:= UNICODE_AWARE; - PluginInfo.uuid:= MIID_HISTORYPP; - Result := @PluginInfo; -end; - var PluginInterfaces: array[0..1] of TGUID; @@ -518,7 +503,6 @@ begin end; exports - MirandaPluginInfoEx, MirandaPluginInterfaces, Load, Unload; @@ -526,6 +510,16 @@ exports begin DisableThreadLibraryCalls(hInstance); + PluginInfo.cbSize:= SizeOf(TPLUGININFOEX); + PluginInfo.shortName:= hppShortNameV; + PluginInfo.version:= hppVersion; + PluginInfo.description:= hppDescription; + PluginInfo.author:= hppAuthor; + PluginInfo.copyright:= hppCopyright; + PluginInfo.homepage:= hppHomePageURL; + PluginInfo.flags:= UNICODE_AWARE; + PluginInfo.uuid:= MIID_HISTORYPP; + // decreasing ref count to oleaut32.dll as said // in plugins doc FreeLibrary(GetModuleHandle('oleaut32.dll')); -- cgit v1.2.3