
/*© Copyright 1993 UserLand Software, Inc.  All Rights Reserved.*/

#ifndef osacomponentinclude
#define osacomponentinclude

#ifdef MACVERSION
#ifndef __COMPONENTS__
	#include <Components.h>
#endif

#ifndef __OSA__
	#include <OSA.h>
#endif
#endif

/*globals*/

extern Component osacomponent;


/*prototypes*/

extern boolean havecomponentmanager (void);

extern boolean osagetcode (Handle, OSType, boolean, tyvaluerecord *);

extern boolean osagetsource (const tyvaluerecord *, OSType *, tyvaluerecord *);

extern boolean isosascriptnode (hdltreenode, tyvaluerecord *);

extern ComponentInstance getosaserver (OSType);

extern boolean evaluateosascript (const tyvaluerecord *, hdltreenode, bigstring, tyvaluerecord *);

extern boolean evaluateosascriptevent (const tyvaluerecord *, const AppleEvent *, AppleEvent *);

extern boolean osacomponentstart (void);

extern boolean osacomponentverifyshutdown (void);

extern void osacomponentshutdown (void);


#endif






