10.6 Snow Leopard API for blocking screensaver/idle?

2011-02-14 Thread Eric Wing
Is there an API in Snow Leopard to suppress/block/prevent the screensaver from coming up? (I work with a lot of games/multimedia where I don't want the screen to go to screensaver and the input devices in use may not reset the idle counter.) For some reason I thought there might have been a new

Re: 10.6 Snow Leopard API for blocking screensaver/idle?

2011-02-14 Thread Sean McBride
On Mon, 14 Feb 2011 14:03:36 -0800, Eric Wing said: Is there an API in Snow Leopard to suppress/block/prevent the screensaver from coming up? (I work with a lot of games/multimedia where I don't want the screen to go to screensaver and the input devices in use may not reset the idle counter.) For

Re: 10.6 Snow Leopard API for blocking screensaver/idle?

2011-02-14 Thread Jean-Daniel Dupas
Le 14 févr. 2011 à 23:03, Eric Wing a écrit : Is there an API in Snow Leopard to suppress/block/prevent the screensaver from coming up? The new API is supposed to be IOPMAssertionCreateWithName() with kIOPMAssertionTypeNoDisplaySleep, but AFAIK, it does not prevent screen saver (at least it

Re: 10.6 Snow Leopard API for blocking screensaver/idle?

2011-02-14 Thread Nathan Sims
http://developer.apple.com/library/mac/#qa/qa2004/qa1160.html - Nate On Feb 14, 2011, at 2:38 PM, Jean-Daniel Dupas wrote: Le 14 févr. 2011 à 23:03, Eric Wing a écrit : Is there an API in Snow Leopard to suppress/block/prevent the screensaver from coming up? The new API is supposed to

Re: 10.6 Snow Leopard API for blocking screensaver/idle?

2011-02-14 Thread Ron Fleckner
On 15/02/2011, at 9:03 AM, Eric Wing wrote: Is there an API in Snow Leopard to suppress/block/prevent the screensaver from coming up? (I work with a lot of games/multimedia where I don't want the screen to go to screensaver and the input devices in use may not reset the idle counter.) For

Re: 10.6 Snow Leopard API for blocking screensaver/idle?

2011-02-14 Thread Eric Wing
Thanks for all the replies! That was what I needed to know. -Eric -- Beginning iPhone Games Development http://playcontrol.net/iphonegamebook/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator