summaryrefslogtreecommitdiff
path: root/plugins/ImportTXT/importtxt.dpr
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ImportTXT/importtxt.dpr')
-rw-r--r--plugins/ImportTXT/importtxt.dpr30
1 files changed, 12 insertions, 18 deletions
diff --git a/plugins/ImportTXT/importtxt.dpr b/plugins/ImportTXT/importtxt.dpr
index 8a7959a197..5953497e9d 100644
--- a/plugins/ImportTXT/importtxt.dpr
+++ b/plugins/ImportTXT/importtxt.dpr
@@ -49,21 +49,6 @@ var
hwndWizard:HWND;
hwndDialog:HWND;
-function MirandaPluginInfoEx(mirandaVersion:DWORD):PPLUGININFOEX; cdecl;
-begin
- PluginInfo.cbSize :=sizeof(TPLUGININFOEX);
- PluginInfo.shortName :='Import TXT';
- PluginInfo.version :=$0000010A;
- PluginInfo.description:='Imports history saved in TXT files from other clients.';
- PluginInfo.author :='Abyss';
- PluginInfo.copyright :='© 2008 Abyss';
- PluginInfo.homepage :='https://miranda-ng.org/p/ImportTXT/';
- PluginInfo.flags :=UNICODE_AWARE;
- PluginInfo.uuid :=MIID_IMPORTTEXT;
-
- result := @PluginInfo;
-end;
-
function ContactMenuCommand(wParam: wParam; lParam: lParam): int_ptr; cdecl;
begin
result := 0;
@@ -153,9 +138,18 @@ begin
end;
exports
- Load, Unload, MirandaPluginInfoEx;
+ Load, Unload;
-initialization
- DisableThreadLibraryCalls(hInstance);
+begin
+ PluginInfo.cbSize :=sizeof(TPLUGININFOEX);
+ PluginInfo.shortName :='Import TXT';
+ PluginInfo.version :=$0000010A;
+ PluginInfo.description:='Imports history saved in TXT files from other clients.';
+ PluginInfo.author :='Abyss';
+ PluginInfo.copyright :='© 2008 Abyss';
+ PluginInfo.homepage :='https://miranda-ng.org/p/ImportTXT/';
+ PluginInfo.flags :=UNICODE_AWARE;
+ PluginInfo.uuid :=MIID_IMPORTTEXT;
+ DisableThreadLibraryCalls(hInstance);
end.