Re: NSWorkspaceWillPowerOffNotification from a daemon
Re: NSWorkspaceWillPowerOffNotification from a daemon
- Subject: Re: NSWorkspaceWillPowerOffNotification from a daemon
- From: Matthew Mashyna <email@hidden>
- Date: Thu, 12 Mar 2009 21:41:27 -0400
On Mar 12, 2009, at 8:45 PM, Nick Zitzmann wrote:
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/>
Yes. I get the sleep notifications from NSWorkSpace but not the power
off.
_______________________________________________
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