Re: Finding header files
Re: Finding header files
- Subject: Re: Finding header files
- From: Uli Kusterer <email@hidden>
- Date: Sat, 9 Jul 2005 19:48:23 +0200
On Jul 9, 2005, at 15:25 , Saqib Shaikh wrote:
Sorry for the potentially stupid question but it's my first time
programming
on the Mac. I need to find the definition of the struct
VoiceDescription in
the header file SpeechSynthesis.h. If I type SpeechSynthesis.h into
Spotlight
Spotlight doesn't index system headers by default. IMHO that's a good
thing, though it would be nice to have several "packages" to be
searched through for the case where you do want to find them. If you
want to find code definitions, your best bet is to use Xcode's
documentation browse (Help menu). Of course, you might be able to use
mdimport to forcibly import /System/Library/Frameworks into
Spotlight, or make an alias to it in your home folder, which might
also cause it to be indexed.
the only thing it finds is
/Developer/Headers/FlatCarbon/SpeechSynthesis.h. I open this file
and find
that it is one line long and includes
ApplicationServices/ApplicationServices.h. I noticed that there
was a file
/Developer/HeadersFlatCarbon/ApplicationServices.h and so open it.
But
again this only has one line and seems to include itself!
FlatCarbon is a hack by Metrowerks to allow older (non-framework)
code to compile under MacOS X code and find the needed frameworks.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden