diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-23 16:58:59 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-23 16:59:09 +0300 |
commit | 73fb69da548b2469514784b08e0bfddb12e5121b (patch) | |
tree | 1af7566f04cea7636bd5ef77c77dcf749f0e7f64 | |
parent | ad35fcc2fb47b1468ce865e3e6db3ab3512df64d (diff) |
cosmetic fixes for testdll.dpr
-rw-r--r-- | include/delphi/testdll.dpr | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/include/delphi/testdll.dpr b/include/delphi/testdll.dpr index 358bb15ed6..49d9670385 100644 --- a/include/delphi/testdll.dpr +++ b/include/delphi/testdll.dpr @@ -6,16 +6,6 @@ uses var
PluginInterfaces:array [0..1] of MUUID;
- PluginInfo.cbSize :=SizeOf(TPLUGININFOEX);
- PluginInfo.shortName :='Plugin Template';
- PluginInfo.version :=$00000001;
- PluginInfo.description:='The long description of your plugin, to go in the plugin options dialog';
- PluginInfo.author :='J. Random Hacker';
- PluginInfo.copyright :='(c) 2003 J. Random Hacker';
- PluginInfo.homepage :='http://miranda-icq.sourceforge.net/';
- PluginInfo.flags :=UNICODE_AWARE;
- PluginInfo.uuid :=MIID_TESTPLUGIN;//'{08B86253-EC6E-4d09-B7A9-64ACDF0627B8}';
-
function PluginMenuCommand(wParam: WPARAM; lParam: LPARAM):int_ptr; cdecl;
begin
Result:=0;
@@ -24,9 +14,6 @@ begin MessageBox(0, 'Just groovy, baby!', 'Plugin-o-rama', MB_OK);
end;
-var
- onloadhook:THANDLE;
-
function OnModulesLoaded(wParam:WPARAM;lParam:LPARAM):int;cdecl;
var
mi:TCListMenuItem;
@@ -48,7 +35,7 @@ end; function Load():int; cdecl;
begin
Langpack_register;
- onloadhook:=HookEvent(ME_SYSTEM_MODULESLOADED,@OnModulesLoaded);
+ HookEvent(ME_SYSTEM_MODULESLOADED,@OnModulesLoaded);
Result:=0;
end;
@@ -70,4 +57,14 @@ exports MirandaPluginInterfaces;
begin
+ PluginInfo.cbSize :=SizeOf(TPLUGININFOEX);
+ PluginInfo.shortName :='Plugin Template';
+ PluginInfo.version :=$00000001;
+ PluginInfo.description:='The long description of your plugin, to go in the plugin options dialog';
+ PluginInfo.author :='J. Random Hacker';
+ PluginInfo.copyright :='(c) 2003 J. Random Hacker';
+ PluginInfo.homepage :='http://miranda-icq.sourceforge.net/';
+ PluginInfo.flags :=UNICODE_AWARE;
+ PluginInfo.uuid :=MIID_TESTPLUGIN;//'{08B86253-EC6E-4d09-B7A9-64ACDF0627B8}';
+
end.
|