Re: Preventing system sleep
Re: Preventing system sleep
- Subject: Re: Preventing system sleep
- From: "Sean McBride" <email@hidden>
- Date: Tue, 16 Feb 2010 16:27:26 -0500
- Organization: Rogue Research Inc.
On 2/16/10 4:19 PM, Joe Ranieri said:
>Curious. The header file says:
>IOReturn IOPMAssertionCreateWithName(
> CFStringRef AssertionType,
> IOPMAssertionLevel AssertionLevel,
> CFStringRef AssertionName,
> IOPMAssertionID *AssertionID)
>AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
It actually is available on 10.5 (at runtime). But it's not in the 10.5
SDK. So depends on what kind of 10.5 support you need. If you need to
compile on 10.5, then you can't use it; if you only need to deploy on
10.5, then you can use it.
--
____________________________________________________________
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