/* File: OSAComp.h Contains: AppleScript Component Implementor's Interfaces. Version: QuickTime 7.3 Copyright: (c) 2007 (c) 1992-2001 by Apple Computer, Inc., all rights reserved Bugs?: For bug reports, consult the following page on the World Wide Web: http://developer.apple.com/bugreporter/ */ #ifndef __OSACOMP__ #define __OSACOMP__ #ifndef __MACTYPES__ #include #endif #ifndef __AEDATAMODEL__ #include #endif #if PRAGMA_ONCE #pragma once #endif #ifdef __cplusplus extern "C" { #endif #if PRAGMA_IMPORT #pragma import on #endif /************************************************************************** Types and Constants **************************************************************************/ /************************************************************************** Routines for Associating a Storage Type with a Script Data Handle **************************************************************************/ /* * OSAGetStorageType() * * Availability: * Non-Carbon CFM: in AppleScriptLib 1.1 and later * CarbonLib: in CarbonLib 1.0 and later * Mac OS X: in version 10.0 and later */ EXTERN_API( OSErr ) OSAGetStorageType( AEDataStorage scriptData, DescType * dscType); /* * OSAAddStorageType() * * Availability: * Non-Carbon CFM: in AppleScriptLib 1.1 and later * CarbonLib: in CarbonLib 1.0 and later * Mac OS X: in version 10.0 and later */ EXTERN_API( OSErr ) OSAAddStorageType( AEDataStorage scriptData, DescType dscType); /* * OSARemoveStorageType() * * Availability: * Non-Carbon CFM: in AppleScriptLib 1.1 and later * CarbonLib: in CarbonLib 1.0 and later * Mac OS X: in version 10.0 and later */ EXTERN_API( OSErr ) OSARemoveStorageType(AEDataStorage scriptData); #ifdef PRAGMA_IMPORT_OFF #pragma import off #elif PRAGMA_IMPORT #pragma import reset #endif #ifdef __cplusplus } #endif #endif /* __OSACOMP__ */