Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

99 lines
2.1 KiB

  1. /*
  2. File: OSAComp.h
  3. Contains: AppleScript Component Implementor's Interfaces.
  4. Version: QuickTime 7.3
  5. Copyright: (c) 2007 (c) 1992-2001 by Apple Computer, Inc., all rights reserved
  6. Bugs?: For bug reports, consult the following page on
  7. the World Wide Web:
  8. http://developer.apple.com/bugreporter/
  9. */
  10. #ifndef __OSACOMP__
  11. #define __OSACOMP__
  12. #ifndef __MACTYPES__
  13. #include <MacTypes.h>
  14. #endif
  15. #ifndef __AEDATAMODEL__
  16. #include <AEDataModel.h>
  17. #endif
  18. #if PRAGMA_ONCE
  19. #pragma once
  20. #endif
  21. #ifdef __cplusplus
  22. extern "C" {
  23. #endif
  24. #if PRAGMA_IMPORT
  25. #pragma import on
  26. #endif
  27. /**************************************************************************
  28. Types and Constants
  29. **************************************************************************/
  30. /**************************************************************************
  31. Routines for Associating a Storage Type with a Script Data Handle
  32. **************************************************************************/
  33. /*
  34. * OSAGetStorageType()
  35. *
  36. * Availability:
  37. * Non-Carbon CFM: in AppleScriptLib 1.1 and later
  38. * CarbonLib: in CarbonLib 1.0 and later
  39. * Mac OS X: in version 10.0 and later
  40. */
  41. EXTERN_API( OSErr )
  42. OSAGetStorageType(
  43. AEDataStorage scriptData,
  44. DescType * dscType);
  45. /*
  46. * OSAAddStorageType()
  47. *
  48. * Availability:
  49. * Non-Carbon CFM: in AppleScriptLib 1.1 and later
  50. * CarbonLib: in CarbonLib 1.0 and later
  51. * Mac OS X: in version 10.0 and later
  52. */
  53. EXTERN_API( OSErr )
  54. OSAAddStorageType(
  55. AEDataStorage scriptData,
  56. DescType dscType);
  57. /*
  58. * OSARemoveStorageType()
  59. *
  60. * Availability:
  61. * Non-Carbon CFM: in AppleScriptLib 1.1 and later
  62. * CarbonLib: in CarbonLib 1.0 and later
  63. * Mac OS X: in version 10.0 and later
  64. */
  65. EXTERN_API( OSErr )
  66. OSARemoveStorageType(AEDataStorage scriptData);
  67. #ifdef PRAGMA_IMPORT_OFF
  68. #pragma import off
  69. #elif PRAGMA_IMPORT
  70. #pragma import reset
  71. #endif
  72. #ifdef __cplusplus
  73. }
  74. #endif
  75. #endif /* __OSACOMP__ */