On Mon, 5 Apr 2010 14:36:56 -0500, Andy O'Meara said:

>I'm looking for a Cocoa replacement for Carbon's UpdateSystemActivity()
>since it appears to be unavailable under x86_64.

Google IOPMAssertionCreate / IOPMAssertionCreateWithName

Here's a snippit from our app:

                                err = IOPMAssertionCreate (
        kIOPMAssertionTypeNoDisplaySleep,
                                                                
kIOPMAssertionLevelOn,
                                                                &_assertionID);

--
____________________________________________________________
Sean McBride, B. Eng                 [email protected]
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to