AEPackObject.h
上传用户:xjjlds
上传日期:2015-12-05
资源大小:22823k
文件大小:3k
源码类别:

多媒体编程

开发平台:

Visual C++

  1. /*
  2.      File:       AEPackObject.h
  3.  
  4.      Contains:   AppleEvents object packing Interfaces.
  5.  
  6.      Version:    Technology: System 7.5
  7.                  Release:    QuickTime 6.0.2
  8.  
  9.      Copyright:  (c) 1991-2001 by Apple Computer, Inc., all rights reserved
  10.  
  11.      Bugs?:      For bug reports, consult the following page on
  12.                  the World Wide Web:
  13.  
  14.                      http://developer.apple.com/bugreporter/
  15.  
  16. */
  17. #ifndef __AEPACKOBJECT__
  18. #define __AEPACKOBJECT__
  19. #ifndef __APPLEEVENTS__
  20. #include "AppleEvents.h"
  21. #endif
  22. #if PRAGMA_ONCE
  23. #pragma once
  24. #endif
  25. #ifdef __cplusplus
  26. extern "C" {
  27. #endif
  28. #if PRAGMA_IMPORT
  29. #pragma import on
  30. #endif
  31. #if PRAGMA_STRUCT_ALIGN
  32.     #pragma options align=mac68k
  33. #elif PRAGMA_STRUCT_PACKPUSH
  34.     #pragma pack(push, 2)
  35. #elif PRAGMA_STRUCT_PACK
  36.     #pragma pack(2)
  37. #endif
  38. /* These are the object packing routines.  */
  39. EXTERN_API( OSErr )
  40. CreateOffsetDescriptor          (long                   theOffset,
  41.                                  AEDesc *               theDescriptor);
  42. EXTERN_API( OSErr )
  43. CreateCompDescriptor            (DescType               comparisonOperator,
  44.                                  AEDesc *               operand1,
  45.                                  AEDesc *               operand2,
  46.                                  Boolean                disposeInputs,
  47.                                  AEDesc *               theDescriptor);
  48. EXTERN_API( OSErr )
  49. CreateLogicalDescriptor         (AEDescList *           theLogicalTerms,
  50.                                  DescType               theLogicOperator,
  51.                                  Boolean                disposeInputs,
  52.                                  AEDesc *               theDescriptor);
  53. EXTERN_API( OSErr )
  54. CreateObjSpecifier              (DescType               desiredClass,
  55.                                  AEDesc *               theContainer,
  56.                                  DescType               keyForm,
  57.                                  AEDesc *               keyData,
  58.                                  Boolean                disposeInputs,
  59.                                  AEDesc *               objSpecifier);
  60. EXTERN_API( OSErr )
  61. CreateRangeDescriptor           (AEDesc *               rangeStart,
  62.                                  AEDesc *               rangeStop,
  63.                                  Boolean                disposeInputs,
  64.                                  AEDesc *               theDescriptor);
  65. #if PRAGMA_STRUCT_ALIGN
  66.     #pragma options align=reset
  67. #elif PRAGMA_STRUCT_PACKPUSH
  68.     #pragma pack(pop)
  69. #elif PRAGMA_STRUCT_PACK
  70.     #pragma pack()
  71. #endif
  72. #ifdef PRAGMA_IMPORT_OFF
  73. #pragma import off
  74. #elif PRAGMA_IMPORT
  75. #pragma import reset
  76. #endif
  77. #ifdef __cplusplus
  78. }
  79. #endif
  80. #endif /* __AEPACKOBJECT__ */