[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: |
Fri, 07 Oct 2005 12:32:00 +0400 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.2 (windows-nt) |
"Chris Vetter" <cbv@gmx.net> writes:
>> I think we should provide a (documented) mechanism to shut down an
>> application for GNUstep. This should probably be some message that the
>> application will respond to like -powerOff, which will send a local
>> NSWorkspaceWillPowerOffNotification within the receiving application and
>> then call [NSApp terminate].
> Might be a good idea. However what if you (you in general) explicitly *want*
> your application to *ignore* NSWorkspaceWillPowerOffNotification (for
> whatever reason)?
[NSApp terminate] should be called anyway (at least according to Mac OS X
docs); observing NSWorkspaceWillPowerOffNotification is up to programmer.
> OTOH, why not just have (sort of a forced) observer for
> NSWorkspaceWillPowerOffNotification in NSApplication that just calls
> -terminate: on it's respective delegate?
In that case we should ensure that all user-defined observers are notified
before this one, which seems to be problematic.
--
With regards, Roman.
- Re: GNUstep and session management, (continued)
Re: GNUstep and session management, Richard Frith-Macdonald, 2005/10/06
Re: GNUstep and session management, Markus Hitter, 2005/10/06
Re: GNUstep and session management, Sašo Kiselkov, 2005/10/07
- Re: GNUstep and session management, Adrian Robert, 2005/10/07
- Re: GNUstep and session management, Gregory John Casamento, 2005/10/08
- Re: GNUstep and session management, Richard Frith-Macdonald, 2005/10/09
- Re: GNUstep and session management, Enrico Sersale, 2005/10/09
- Re: GNUstep and session management, Richard Frith-Macdonald, 2005/10/10