diff options
author | Alexey Kulakov <panda75@bk.ru> | 2012-07-04 07:14:19 +0000 |
---|---|---|
committer | Alexey Kulakov <panda75@bk.ru> | 2012-07-04 07:14:19 +0000 |
commit | b5ecb07dcf78667db73b8fad9480118b4c009f8b (patch) | |
tree | 49c4e729d15133e5f21f36a3f0f425397216d567 /plugins/ImportTXT/importtxt.dpr | |
parent | 2cdbd854380cf89ef6179d20e70baf1f20931583 (diff) |
Changed to support latest PluginInfoEx structure
git-svn-id: http://svn.miranda-ng.org/main/trunk@748 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ImportTXT/importtxt.dpr')
-rw-r--r-- | plugins/ImportTXT/importtxt.dpr | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/plugins/ImportTXT/importtxt.dpr b/plugins/ImportTXT/importtxt.dpr index 5fea1c6a2b..5cc6d12864 100644 --- a/plugins/ImportTXT/importtxt.dpr +++ b/plugins/ImportTXT/importtxt.dpr @@ -42,20 +42,7 @@ uses {$R imptxt_ver.res}
-const
- PluginInfo:TPLUGININFOEX=(
- cbSize :sizeof(TPLUGININFOEX);
- shortName :'Import TXT';
- version :$0000010A;
- description:'Imports history saved in TXT files from other clients.';
- author :'Abyss';
- authorEmail:'abyss.andrey@gmail.com';
- copyright :'(C)2008 Abyss';
- homepage :'none';
- flags :UNICODE_AWARE;
- replacesDefaultModule:0;
- uuid:'{6F376B33-D3F4-4c4f-A96B-77DA08043B06}';
- );
+const MIID_IMPORTTEXT:TGUID = '{6F376B33-D3F4-4c4f-A96B-77DA08043B06}';
// Updater compatibility data
const
@@ -78,8 +65,18 @@ var 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.authorEmail:='abyss.andrey@gmail.com';
+ PluginInfo.copyright :='(C)2008 Abyss';
+ PluginInfo.homepage :='none';
+ PluginInfo.flags :=UNICODE_AWARE;
+ PluginInfo.uuid :=MIID_IMPORTTEXT;
+
result := @PluginInfo;
- // PluginInfo.cbSize:=SizeOf(TPLUGININFOEX);
end;
function ContactMenuCommand(wParam: wParam; lParam: lParam): int_ptr; cdecl;
|