[haiku-commits] Re: r39462 - in haiku/trunk: headers/os/app headers/private/app src/kits/app

Am 19.11.2010, 10:30 Uhr, schrieb Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>:

"Clemens Zeidler" <clemens.zeidler@xxxxxxxxxxxxxx> wrote:
Yes at least for the Archive() part its sounds reasonable. I can just
add
the geometry part to the default BApplication Archive function. One
disadvantage here is that in some cases the geometry data will be
stored
twice.
[...]

Not sure if I can follow you here. Why should an app ever need another
way than the system delivered for storing stuff the system should take
care of?
Also, why should BApplication take care of this at all? A BApplication
always has a list of all windows - I'm not sure if it's a good idea,
but you could just archive all windows with it.

Actually, store it on a per window basis was also my first idea don't know why I dropped it, will consider it again, sounds good.
        Clemens

Other related posts: