Re: NSWorkspaceWillPowerOffNotification from a daemon
Re: NSWorkspaceWillPowerOffNotification from a daemon
- Subject: Re: NSWorkspaceWillPowerOffNotification from a daemon
- From: Nick Zitzmann <email@hidden>
- Date: Thu, 12 Mar 2009 18:45:39 -0600
On Mar 12, 2009, at 6:11 PM, Matthew Mashyna wrote:
The sleep calls work fine but the PowerOff doesn't work ever. Is
there another way to catch shutdown ? Can I catch some signal to
handle it ?
Did you remember to call NSApplicationLoad() before using NSWorkspace?
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden