Sleep and Wake events
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