[haiku-development] Re: ShowImageSettings

  • From: Fredrik Modèen <fredrik@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 27 Aug 2012 20:56:48 +0200 (CEST)

> On 08/27/2012 08:17 PM, Fredrik Modèen wrote:
>>> The settings class itself may well be used by add-ons as well.
>> My first thought was BSettings
>>
>> So any suggestions?
>
> BSettings isn't too bad. Another option would be to add the Get*(...,
> defaultValue) methods to BMessage directly, and only put some helper
> utility function in BApplication (like StoreSettings(BMessage&)), or
> something similar.
So would it be ok to rename it BSettings and add it to
haiku-trunk/src/kits/shared for now? It's beter than copy the code ;)

Can add a TODO in the code ;)

-- 
MVH
Fredrik Modèen


Other related posts: