[openbeos] Re: Preferences/File Help

  • From: "Michael Phipps" <mphipps1@xxxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Tue, 15 Jan 2002 20:22:20 -0500

The more I think about it, I want to put this forward as "official" policy
(because I think that we need one):

For R1, we use BMessages. With the same format as Be's if possible. With a 
sensible one, if not. For R2, well, we shall see.

Objections? Let's take it offlist. :-)

>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.



Other related posts: