diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-23 16:11:59 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-23 16:11:59 +0300 |
commit | a7d5cce8e2cea97d52a35a1769d0e87e84e5502a (patch) | |
tree | 328aa85baa74ea929faa4c09b5e4c49b0cada896 /plugins/mRadio | |
parent | 7249e4f451c89d778ce0f211eb0730e6fa3adc04 (diff) |
we don't need MirandaPluginInfoEx() anymore. farewell, my lovely
Diffstat (limited to 'plugins/mRadio')
-rw-r--r-- | plugins/mRadio/mradio.dpr | 30 |
1 files changed, 12 insertions, 18 deletions
diff --git a/plugins/mRadio/mradio.dpr b/plugins/mRadio/mradio.dpr index d7cb1dade7..4d27ccc201 100644 --- a/plugins/mRadio/mradio.dpr +++ b/plugins/mRadio/mradio.dpr @@ -27,21 +27,6 @@ uses {$include i_visual.inc}
{$include i_optdlg.inc}
-function MirandaPluginInfoEx(mirandaVersion:dword):PPLUGININFOEX; cdecl;
-begin
- result:=@PluginInfo;
- PluginInfo.cbSize :=SizeOf(TPLUGININFOEX);
- PluginInfo.shortName :='mRadio Mod';
- PluginInfo.version :=$00000204;
- PluginInfo.description:='This plugin plays and records Internet radio streams.'+
- ' Also local media files can be played.';
- PluginInfo.author :='Awkward';
- PluginInfo.copyright :='(c) 2007-14 Awkward';
- PluginInfo.homepage :='https://miranda-ng.org/p/MRadio/';
- PluginInfo.flags :=UNICODE_AWARE;
- PluginInfo.uuid :=MIID_MRADIO;
-end;
-
function OnModulesLoaded(wParam:WPARAM;lParam:LPARAM):int;cdecl;
var
nlu:TNETLIBUSER;
@@ -178,7 +163,6 @@ begin CreateServiceFunction(MS_RADIO_EXPORT ,@ExportAll);
CreateServiceFunction(MS_RADIO_IMPORT ,@ImportAll);
-
CreateProtoServices;
HookEvent(ME_SYSTEM_MODULESLOADED ,@OnModulesLoaded);
@@ -198,8 +182,7 @@ begin end;
exports
- Load, Unload,
- MirandaPluginInfoEx;
+ Load, Unload;
begin
// register protocol
@@ -207,4 +190,15 @@ begin Proto_SetUniqueId(PluginName,optStationURL);
DisableThreadLibraryCalls(hInstance);
+
+ PluginInfo.cbSize :=SizeOf(TPLUGININFOEX);
+ PluginInfo.shortName :='mRadio Mod';
+ PluginInfo.version :=$00000204;
+ PluginInfo.description:='This plugin plays and records Internet radio streams.'+
+ ' Also local media files can be played.';
+ PluginInfo.author :='Awkward';
+ PluginInfo.copyright :='(c) 2007-14 Awkward';
+ PluginInfo.homepage :='https://miranda-ng.org/p/MRadio/';
+ PluginInfo.flags :=UNICODE_AWARE;
+ PluginInfo.uuid :=MIID_MRADIO;
end.
|