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.

133 lines
2.6 KiB

  1. /*
  2. File: AEPackObject.h
  3. Contains: AppleEvents object packing Interfaces.
  4. Version: QuickTime 7.3
  5. Copyright: (c) 2007 (c) 1991-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 __AEPACKOBJECT__
  11. #define __AEPACKOBJECT__
  12. #ifndef __APPLEEVENTS__
  13. #include <AppleEvents.h>
  14. #endif
  15. #if PRAGMA_ONCE
  16. #pragma once
  17. #endif
  18. #ifdef __cplusplus
  19. extern "C" {
  20. #endif
  21. #if PRAGMA_IMPORT
  22. #pragma import on
  23. #endif
  24. /* These are the object packing routines. */
  25. /*
  26. * CreateOffsetDescriptor()
  27. *
  28. * Availability:
  29. * Non-Carbon CFM: in ObjectSupportLib 1.0 and later
  30. * CarbonLib: in CarbonLib 1.0 and later
  31. * Mac OS X: in version 10.0 and later
  32. */
  33. EXTERN_API( OSErr )
  34. CreateOffsetDescriptor(
  35. long theOffset,
  36. AEDesc * theDescriptor);
  37. /*
  38. * CreateCompDescriptor()
  39. *
  40. * Availability:
  41. * Non-Carbon CFM: in ObjectSupportLib 1.0 and later
  42. * CarbonLib: in CarbonLib 1.0 and later
  43. * Mac OS X: in version 10.0 and later
  44. */
  45. EXTERN_API( OSErr )
  46. CreateCompDescriptor(
  47. DescType comparisonOperator,
  48. AEDesc * operand1,
  49. AEDesc * operand2,
  50. Boolean disposeInputs,
  51. AEDesc * theDescriptor);
  52. /*
  53. * CreateLogicalDescriptor()
  54. *
  55. * Availability:
  56. * Non-Carbon CFM: in ObjectSupportLib 1.0 and later
  57. * CarbonLib: in CarbonLib 1.0 and later
  58. * Mac OS X: in version 10.0 and later
  59. */
  60. EXTERN_API( OSErr )
  61. CreateLogicalDescriptor(
  62. AEDescList * theLogicalTerms,
  63. DescType theLogicOperator,
  64. Boolean disposeInputs,
  65. AEDesc * theDescriptor);
  66. /*
  67. * CreateObjSpecifier()
  68. *
  69. * Availability:
  70. * Non-Carbon CFM: in ObjectSupportLib 1.0 and later
  71. * CarbonLib: in CarbonLib 1.0 and later
  72. * Mac OS X: in version 10.0 and later
  73. */
  74. EXTERN_API( OSErr )
  75. CreateObjSpecifier(
  76. DescType desiredClass,
  77. AEDesc * theContainer,
  78. DescType keyForm,
  79. AEDesc * keyData,
  80. Boolean disposeInputs,
  81. AEDesc * objSpecifier);
  82. /*
  83. * CreateRangeDescriptor()
  84. *
  85. * Availability:
  86. * Non-Carbon CFM: in ObjectSupportLib 1.0 and later
  87. * CarbonLib: in CarbonLib 1.0 and later
  88. * Mac OS X: in version 10.0 and later
  89. */
  90. EXTERN_API( OSErr )
  91. CreateRangeDescriptor(
  92. AEDesc * rangeStart,
  93. AEDesc * rangeStop,
  94. Boolean disposeInputs,
  95. AEDesc * theDescriptor);
  96. #ifdef PRAGMA_IMPORT_OFF
  97. #pragma import off
  98. #elif PRAGMA_IMPORT
  99. #pragma import reset
  100. #endif
  101. #ifdef __cplusplus
  102. }
  103. #endif
  104. #endif /* __AEPACKOBJECT__ */