• 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: UpdateSystemActivity replacement in Cocoa?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UpdateSystemActivity replacement in Cocoa?


  • Subject: Re: UpdateSystemActivity replacement in Cocoa?
  • From: "Sean McBride" <email@hidden>
  • Date: Mon, 5 Apr 2010 16:43:15 -0400
  • Organization: Rogue Research Inc.

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@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

References: 
 >UpdateSystemActivity replacement in Cocoa? (From: Andy O'Meara <email@hidden>)

  • Prev by Date: Re: Bindings & ivars
  • Next by Date: Re: Modal Window with dynamic nstextfield
  • Previous by thread: Re: UpdateSystemActivity replacement in Cocoa?
  • Next by thread: Problems with repetetive execution of netstat using NSTask and NSTimer
  • Index(es):
    • Date
    • Thread