[openbeos] Re: Preferences/File Help

  • From: "Jonathan Tarbox" <jtarbox@xxxxxxxxxxxxx>
  • To: <openbeos@xxxxxxxxxxxxx>
  • Date: Tue, 15 Jan 2002 19:02:21 -0600

I agree, and as this is more of an internal thing, let's either conform to a
standard on this.  Personally, the BMessage thing is a more BeOS thing, but
an XML settings file is kinda nice too.

-jtarbox

----- Original Message -----
From: "Michael Phipps" <mphipps1@xxxxxxxxxxxxxxxx>
To: <openbeos@xxxxxxxxxxxxx>
Sent: Tuesday, January 15, 2002 6:54 PM
Subject: [openbeos] Re: Preferences/File Help


> It may be that each developer at Be did something different.
> I snagged a copy of ViewIt from BeBits (http://www.bebits.com/app/315) in
the
> GEB's Goodies collection. The ScreenSaver preferences were all stored in a
BMessage
> that was flattened. I made that work very quickly and easily. The code is
> in source control (as all good should be! :-) ), at least in the
preferences app.
> I liked Marco's daemon idea. It is very Be-like. But, really, if you make
your
> app read the preferences from a BMessage, it is very easy to deal with
that message
> whether sent from an open preferences panel, or read from a flattened
file.
>
> >Hi,
> >
> >>OBOS could do something similar, that way, all preferences are
> >>tweakable via a text file, but all applications actually write to /
> >>read from that file via a single daemon interface by BMessages.
> >
> >This is indeed a very powerful approach. Macro N. implemented this
> >once, please take a look at his work on this: http://www.xs4all.nl/
> >~marcone/be.html#prefserver
> >
> >Regards,
> >
> >Ithamar.
> >
> >
> >
> >
>
>
>
>


Other related posts: