[openbeos] Re: decoder config options

  • From: "François Revol" <revol@xxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Wed, 20 Feb 2008 16:50:48 +0100 CET

> On Wed, Feb 20, 2008 at 8:27 AM, Fredrik Modéen <fredrik@xxxxxxxxx> 
> wrote:
> >
> >  this are how the file looks like
> >  
> > http://www.koders.com/cpp/fid9912F17D5E757CB72B398D7E0E7AE277AEED1DA8.aspx?s=suck
> > > 
> Something like this is used in ShowImage, and other Haiku 
> applications
> have their own ways of doing it. I think having a common class, even
> if just for the included Haiku applications, would be a good idea and
> would reduce the redundancy in the code.
> 
> The only drawback is the resulting settings files are not easily
> user-editable. But this could be resolved by including a simple
> "Dumped BMessage Editor" utility for those who want to dig into them.
> Plus this would be a useful developer tool. I haven't searched BeBits
> but I suspect there is already applications like that written for
> BeOS.

We can also use my DumpMessage()/ParseMessage() pair, it gives a text 
dump of a BMessage and makes one back out of it.
Would need some fixes for robustness but it works quite well for 
themes.

François.

Other related posts: