Skip navigation.
 
mlRe: Searching Header Files
FROM : Joey Coyle
DATE : Sun Nov 21 17:02:00 2004

thanks Nick,

>

>> Does this just mean the header file is not public for us to view??

>
> No, it means that you might not be including the right frameworks. A 
> quick BBEdit search shows that CGDirectDisplayID is defined in 
> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/
> Frameworks/CoreGraphics.framework/Versions/A/Headers/
> CGDirectDisplay.h.


You are right...  ApplicationServices is not listed in my Frameworks in 
my XCode project.  The question arises then, how is my project 
compiling if I don't have CGDirectDisplay.h included???  And if it is 
included in some automatic way,  wouldn't I want XCode to search those 
Header files also, when I do a Search??

joey

########################################
Also

thanks Ben

> here's a useful command line search to tell you all the headers that a 
> particular phrase appears in:
>
> find /System/Library/Frameworks -name \*.h -exec grep -li 
> "CGDirectDisplayID" {} \;
>


It seems I will need this... since XCode can't do the search.

thanks everyone,
joey

Related mailsAuthorDate
mlSearching Header Files Joey Coyle Nov 20, 23:36
mlRe: Searching Header Files Markus Spath Nov 21, 01:07
mlRe: Searching Header Files Joey Coyle Nov 21, 02:51
mlRe: Searching Header Files Nick Zitzmann Nov 21, 06:30
mlRe: Searching Header Files Ben Dougall Nov 21, 13:22
mlRe: Searching Header Files Joey Coyle Nov 21, 17:02
mlRe: Searching Header Files Nick Zitzmann Nov 21, 18:06
mlRe: Searching Header Files David Dunham Nov 21, 22:40
mlRe: Searching Header Files Joey Coyle Nov 22, 00:30
mlRe: Searching Header Files David Dunham Nov 24, 01:36