Re: How to tell if system shutdown is in process
Re: How to tell if system shutdown is in process
- Subject: Re: How to tell if system shutdown is in process
- From: "Quinn \"The Eskimo!\"" <email@hidden>
- Date: Thu, 24 Mar 2011 09:16:21 +0000
On 24 Mar 2011, at 01:51, Antoine Missout wrote:
> What is the mechanism used by NSWorkspace exactly ?
I'm not sure what more you want than what I wrote in my previous email:
>> AppKit sends [NSWorkspaceWillPowerOffNotification]in response to a 'quit' Apple event that has the 'why?' attribute, implying that the app is being quit by loginwindow in preparation for restart or shutdown.
> What is the proper answer to the original question, ie getting the shutdown event in a global context daemon ?
I don't have a good answer.
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden