• 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: Finding header files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Prev by Date: Re: Documentation frustrations
  • Next by Date: Re: Importance of thread safety and performance.
  • Previous by thread: Re: Cannot perform operation without a managed object context
  • Next by thread: NSSliderCell don't change my data.
  • Index(es):
    • Date
    • Thread