discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNUstep and session management


From: Roman Belenov
Subject: Re: GNUstep and session management
Date: Thu, 06 Oct 2005 16:42:13 +0400
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.2 (windows-nt)

Richard Frith-Macdonald <richard@brainstorm.co.uk> writes:

> My reading of it is that it's your responsibility as a developer to have your
> code listen for the notification and call [NSApp -terminate] when you receive
> it.  I don't think the gui/AppKit does that for you.  Did you try this on
> MacOS-X?  It would be interesting to know how it actually behaves.

Mac OS X documentation (follow the link posted by Sašo) doesn't even mention
the notification - it says that applicationShouldTerminate: is invoked in any
case (so that e.g. applications that use NSDocumentController have support for
graceful termination for free withoput additional coding).
Processing of NSWorkspaceWillPowerOffNotification seems to be required only
for apps that should do some specific processing in case of poweroff
(vs. normal termination).

-- 
                                                        With regards, Roman.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]