[haiku-development] Re: Best way to store settings in Haiku?

On 2012-08-07 at 08:18:32 [+0200], Fredrik Modèen <fredrik@xxxxxxxxx> wrote:
> 
> > On Mon, Aug 6, 2012 at 6:00 PM, François Revol <revol@xxxxxxx> wrote:
> >>
> >> Another option is to serialize BMessage to text, as ThemeManager does,
> >> but the code in there is not really robust.
> >> The format used comes from the format Dano0 used when PrintToStream()ing
> >> messages, and is actually quite alike to the driver setting syntax,
> >> maybe we could have a common framework doing both ?
> >
> > Having looked at the ThemeManager files, I will say they do look quite
> > nice and are very readable, certainly much more than dumped BMessages
> > ;)
> >
> > If those classes could be cleaned up and made more robust and maybe
> > combined with the driver settings stuff, it would probably be pretty
> > good.
> François : sound's that good?
> 
> Where should it be located?

The real question is: Do you really need it? Do your settings files have to 
be human-readable?

And just to mention another human-readable format we do already support: 
rdef files.

CU, Ingo

Other related posts: