summaryrefslogtreecommitdiff
path: root/plugins/Watrack
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-23 16:11:59 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-23 16:11:59 +0300
commita7d5cce8e2cea97d52a35a1769d0e87e84e5502a (patch)
tree328aa85baa74ea929faa4c09b5e4c49b0cada896 /plugins/Watrack
parent7249e4f451c89d778ce0f211eb0730e6fa3adc04 (diff)
we don't need MirandaPluginInfoEx() anymore. farewell, my lovely
Diffstat (limited to 'plugins/Watrack')
-rw-r--r--plugins/Watrack/docs/sampledll.dpr15
-rw-r--r--plugins/Watrack/watrack.dpr27
2 files changed, 12 insertions, 30 deletions
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.