• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Sleep notifications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Notification of Front Process Changed ?
  • Next by Date: refresh GUI problem.
  • Previous by thread: Re: Notification of Front Process Changed
  • Next by thread: about NSStringEncoding
  • Index(es):
    • Date
    • Thread