• 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
Sleep and Wake events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sleep and Wake events


  • Subject: Sleep and Wake events
  • From: Jamie Curmi <email@hidden>
  • Date: Sun, 13 May 2001 09:47:21 +1000

Hi All,

Does OSX handle sleep and wake events (events generated if you put the machine to sleep or wake it)?

I believe OS9 did, but I can't find anything on this in the cocoa docs.

Basically, I have an application that needs to take certain action if you put the machine to sleep, and another action on wake.

If there is a way, some sample code on how to do this in Cocoa would be very welcome.

Thanks.

Jamie


  • Prev by Date: Re: gdb source code wanted
  • Next by Date: Type/Creator codes
  • Previous by thread: Re: Cocoa docs
  • Next by thread: Type/Creator codes
  • Index(es):
    • Date
    • Thread