Re: Sleep notifications
Re: Sleep notifications
- Subject: Re: Sleep notifications
- From: Ryan McGann <email@hidden>
- Date: Wed, 27 Aug 2003 23:31:02 -0700
On Wednesday, August 27, 2003, at 10:00 PM,
email@hidden wrote:
In Panther the notifications for wake/sleep in Cocoa are:
NSWorkspaceWillSleepNotification and NSWorkspaceDidWakeNotification.
Previous to Panther you need to use IOKit.
On a somewhat related note, will Panther implement the
WillRestart/WillPowerDown IOKit messages? Those seem to never be sent
in Jaguar, but they could be useful to a process that needs to tell the
difference between a restart/power state change & the user killing the
process.
Thanks,
Ryan
Ryan McGann
email@hidden
I'd give my right arm to be ambidextrous.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.