Hi,
I created a interface definition as show below. Note that both Getter
methods are still missing.
IMVPModel = interface(IInterface)
['{85223140-B263-4413-89E3-BFA37E9D3112}']
property CommandSet: ICommandSet read GetCommandSet;
property CurrentSelection: ISelection read GetCurrentSelection;
end;
I then pressed Ctrl+Shift+c in the Lazarus editor to complete the
definition. Lazarus then inserted the Getter methods above the GUID.
It's not a biggy, just a little bit annoying. ;-)
IMVPModel = interface(IInterface)
function GetCommandSet: ICommandSet;
function GetCurrentSelection: ISelection;
['{85223140-B263-4413-89E3-BFA37E9D3112}']
property CommandSet: ICommandSet read GetCommandSet;
property CurrentSelection: ISelection read GetCurrentSelection;
end;
Above code should have looked as follows:
IMVPModel = interface(IInterface)
['{85223140-B263-4413-89E3-BFA37E9D3112}']
function GetCommandSet: ICommandSet;
function GetCurrentSelection: ISelection;
property CommandSet: ICommandSet read GetCommandSet;
property CurrentSelection: ISelection read GetCurrentSelection;
end;
Regards,
- Graeme -
_______________________________________________________
fpGUI - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus