Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] MBS - Questions to Options and OptionCategories

Hi Leo,
I have a question regarding Options and OptionCategories which is caused by the implementation work for the Shared Tool Options proposal. The proposal would allow Options and OptionCategories to be children of ITool and of IToolChain, depending on what is defined in .buildDefinitions.    
Now this means that we have to cater for the fact that the "parent" of these may either be ITool or IToolchain. Currently
  • IOptions defines "ITool getParent()" and
  • IOptionCategory defines "ITool getTool()"
I have essentially two choices to handle the interface: either I use getTool() and getToolChain() for both interfaces, where the invalid one returns null. Or I use "Object getParent()" and return the appropriate object.
Do you have any preferences? Note that I prefer the first approach. Also if I went for the first approach, would you be happy if I renamed IOptions::getParent() to getTool().
Best Regards
-- Lars

********************************************************************** Symbian Software Ltd is a company registered in England and Wales with registered number 4190020 and registered office at 2-6 Boundary Row, Southwark, London, SE1 8HP, UK. This message is intended only for use by the named addressee and may contain privileged and/or confidential information. If you are not the named addressee you should not disseminate, copy or take any action in reliance on it. If you have received this message in error please notify postmaster@xxxxxxxxxxx and delete the message and any attachments accompanying it immediately. Neither Symbian nor any of its subsidiaries accepts liability for any corruption, interception, amendment, tampering or viruses occurring to this message in transit or for any message sent by its employees which is not in compliance with Symbian corporate policy. **********************************************************************

Back to the top