Re: How to tell if system shutdown is in process
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com 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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Quinn "The Eskimo!"