[haiku-development] Re: session manager

  • From: Clemens <clemens.zeidler@xxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 16 Aug 2011 10:56:04 +1200

On Tue, 16 Aug 2011 09:27:22 +1200, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote:


On 08/15/2011 11:21 PM, Clemens Zeidler wrote:
On Fri, 12 Aug 2011 21:24:53 +1200, Axel Dörfler
<axeld@xxxxxxxxxxxxxxxx> wrote:
I think it would be a good idea to have a look at the newest Mac OS X
which introduces a similar mechanism, which, I think goes into the
right direction, although they don't go as far to implement profiles.
Could you point me to the name of this OS X class? Can't find it.

I haven't looked at the API, so I don't have a pointer for you, sorry. I just read its description as part of a Lion review:
http://arstechnica.com/apple/reviews/2011/07/mac-os-x-10-7.ars/7

This model is certainly not exactly how we would want it, but there are some good ideas implemented there, too.


If I got that right there must be hook like
BApplication::SaveAllDocuments(where?) or
BApplication::SaveDocument(which?, where?)...

The process model is similar to android. States are saved -> app will be killed -> app restored again if needed

http://arstechnica.com/apple/reviews/2011/07/mac-os-x-10-7.ars/8

Android uses a very simple api for that:

http://developer.android.com/guide/topics/fundamentals/tasks-and-back-stack.html
http://developer.android.com/reference/android/app/Activity.html#onSaveInstanceState(android.os.Bundle)

Regards,
        Clemens

Other related posts: