[comp.sys.mac.programmer] ThinkC Class Lib - novice header question

watt@eleazar.dartmouth.edu (Gill Watt) (10/05/90)

howdy,

	I have a (IMHO) simple question about TCL:

	How do the various methods call the various
	QuickDraw and Toolbox routines without actually
	#including QuickDraw.h etc?  

	For some reason, it knows that "iBeamCursor" is
	#defined or enumed to "1", which occurs in 
	ToolBoxUtil.h, but the actual file is not 
	#included in any of the objects that make these
	calls.  

	Can anyone explain this to me??

	Thanks in advance.  


-- 
---------------------------------------------------------------------
Gill Watt (watt@eleazar.dartmouth.edu)
Thayer School of Engineering, Dartmouth College, Hanover, NH  03755
---------------------------------------------------------------------

phils@chaos.cs.brandeis.edu (Phil Shapiro) (10/08/90)

In article <24922@dartvax.Dartmouth.EDU> watt@eleazar.dartmouth.edu (Gill Watt) writes:
	   How do the various methods call the various
	   QuickDraw and Toolbox routines without actually
	   #including QuickDraw.h etc?  

The TCL projects all compile with the "MacHeaders" option turned on.
This option automatically includes a precompiled version of a number
of header files, including QuickDraw.h.  Check out p.117 in the user's
manual.

	-phil shapiro, symantec tech support
--
Phil Shapiro
phils@chaos.cs.brandeis.edu