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/Watrack/docs/sampledll.dpr | 15 +-------------- plugins/Watrack/watrack.dpr | 27 +++++++++++---------------- 2 files changed, 12 insertions(+), 30 deletions(-) (limited to 'plugins/Watrack') diff --git a/plugins/Watrack/docs/sampledll.dpr b/plugins/Watrack/docs/sampledll.dpr index 5a6c3b0c80..acdf0088f2 100644 --- a/plugins/Watrack/docs/sampledll.dpr +++ b/plugins/Watrack/docs/sampledll.dpr @@ -106,18 +106,6 @@ begin result:=0; end; -function MirandaPluginInfo(mirandaVersion:dword):PPLUGININFO; cdecl; -begin - result:=@PluginInfo; - PluginInfo.cbSize:=SizeOf(TPLUGININFO); -end; - -function MirandaPluginInfoEx(mirandaVersion:dword):PPLUGININFOEX; cdecl; -begin - result:=@PluginInfo; - PluginInfo.cbSize:=SizeOf(TPLUGININFOEX); -end; - function Load(link: PPLUGINLINK): int; cdecl; begin PLUGINLINK := pointer(link); @@ -132,8 +120,7 @@ begin end; exports - Load, Unload, - MirandaPluginInfoEx; + Load, Unload; begin end. diff --git a/plugins/Watrack/watrack.dpr b/plugins/Watrack/watrack.dpr index b01ccf51ee..78130ec692 100644 --- a/plugins/Watrack/watrack.dpr +++ b/plugins/Watrack/watrack.dpr @@ -38,20 +38,6 @@ uses const MenuDisablePos = 500050000; -function MirandaPluginInfoEx(mirandaVersion:dword):PPLUGININFOEX; cdecl; -begin - result:=@PluginInfo; - PluginInfo.cbSize :=SizeOf(TPLUGININFOEX); - PluginInfo.shortName :=PluginName; - PluginInfo.version :=$0000060C; - PluginInfo.description:='Paste played music info into message window or status text'; - PluginInfo.author :='Awkward'; - PluginInfo.copyright :='(c) 2005-12 Awkward'; - PluginInfo.homepage :='https://miranda-ng.org/p/Watrack/'; - PluginInfo.flags :=UNICODE_AWARE; - PluginInfo.uuid :=MIID_WATRACK; -end; - {$include i_options.inc} {$include i_timer.inc} {$include i_gui.inc} @@ -675,9 +661,18 @@ begin end; exports - Load, Unload, - MirandaPluginInfoEx; + Load, Unload; begin DisableThreadLibraryCalls(hInstance); + + PluginInfo.cbSize :=SizeOf(TPLUGININFOEX); + PluginInfo.shortName :=PluginName; + PluginInfo.version :=$0000060C; + PluginInfo.description:='Paste played music info into message window or status text'; + PluginInfo.author :='Awkward'; + PluginInfo.copyright :='(c) 2005-12 Awkward'; + PluginInfo.homepage :='https://miranda-ng.org/p/Watrack/'; + PluginInfo.flags :=UNICODE_AWARE; + PluginInfo.uuid :=MIID_WATRACK; end. -- cgit v1.2.3