Re: C-Api Documentation - where?
Re: C-Api Documentation - where?
- Subject: Re: C-Api Documentation - where?
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Fri, 24 Feb 2012 23:31:04 +0700
On 24 Feb 2012, at 22:38, Sean McBride wrote:
> On Fri, 24 Feb 2012 14:46:01 +0700, Gerriet M. Denkmann said:
>
>> How to get documentation about C-Apis?
>>
>> I just asked Xcode 4.3 about "GetEventParameter" and got a document,
>> which said that I should NOT use it because of Legacy.
>>
>> So: what should I use?
>
> That's a Carbon events API... Most (though not all) of Carbon is deprecated. The recommended approach is to have a Cocoa app which would process its events with NSApplication, NSEvent, NSRunloop, etc.
This is a Cocoa app which uses NSRunloop etc. but which also wants to know about kEventAppFrontSwitched.
I just looked at CarbonEventsCore.h and it says about GetEventParameter: AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER and nothing about deprecated or legacy.
So: How do I get information about non-deprecated C-Apis?
Kind regards,
Gerriet.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden