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

多媒体编程

开发平台:

Visual C++

  1. /*
  2.      File:       OSAComp.h
  3.  
  4.      Contains:   AppleScript Component Implementor's Interfaces.
  5.  
  6.      Version:    Technology: AppleScript 1.1
  7.                  Release:    QuickTime 6.0.2
  8.  
  9.      Copyright:  (c) 1992-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 __OSACOMP__
  18. #define __OSACOMP__
  19. #ifndef __MACTYPES__
  20. #include "MacTypes.h"
  21. #endif
  22. #ifndef __AEDATAMODEL__
  23. #include "AEDataModel.h"
  24. #endif
  25. #if PRAGMA_ONCE
  26. #pragma once
  27. #endif
  28. #ifdef __cplusplus
  29. extern "C" {
  30. #endif
  31. #if PRAGMA_IMPORT
  32. #pragma import on
  33. #endif
  34. #if PRAGMA_STRUCT_ALIGN
  35.     #pragma options align=mac68k
  36. #elif PRAGMA_STRUCT_PACKPUSH
  37.     #pragma pack(push, 2)
  38. #elif PRAGMA_STRUCT_PACK
  39.     #pragma pack(2)
  40. #endif
  41. /**************************************************************************
  42.     Types and Constants
  43. **************************************************************************/
  44. /**************************************************************************
  45.     Routines for Associating a Storage Type with a Script Data Handle 
  46. **************************************************************************/
  47. EXTERN_API( OSErr )
  48. OSAGetStorageType               (AEDataStorage          scriptData,
  49.                                  DescType *             dscType);
  50. EXTERN_API( OSErr )
  51. OSAAddStorageType               (AEDataStorage          scriptData,
  52.                                  DescType               dscType);
  53. EXTERN_API( OSErr )
  54. OSARemoveStorageType            (AEDataStorage          scriptData);
  55. #if PRAGMA_STRUCT_ALIGN
  56.     #pragma options align=reset
  57. #elif PRAGMA_STRUCT_PACKPUSH
  58.     #pragma pack(pop)
  59. #elif PRAGMA_STRUCT_PACK
  60.     #pragma pack()
  61. #endif
  62. #ifdef PRAGMA_IMPORT_OFF
  63. #pragma import off
  64. #elif PRAGMA_IMPORT
  65. #pragma import reset
  66. #endif
  67. #ifdef __cplusplus
  68. }
  69. #endif
  70. #endif /* __OSACOMP__ */