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

多媒体编程

开发平台:

Visual C++

  1. /*
  2.      File:       Packages.h
  3.  
  4.      Contains:   Package Manager Interfaces.
  5.  
  6.      Version:    Technology: System 7.5
  7.                  Release:    QuickTime 6.0.2
  8.  
  9.      Copyright:  (c) 1985-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 __PACKAGES__
  18. #define __PACKAGES__
  19. #ifndef __MACTYPES__
  20. #include "MacTypes.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. enum {
  39.     listMgr                     = 0,                            /* list manager */
  40.     dskInit                     = 2,                            /* Disk Initializaton */
  41.     stdFile                     = 3,                            /* Standard File */
  42.     flPoint                     = 4,                            /* Floating-Point Arithmetic */
  43.     trFunc                      = 5,                            /* Transcendental Functions */
  44.     intUtil                     = 6,                            /* International Utilities */
  45.     bdConv                      = 7,                            /* Binary/Decimal Conversion */
  46.     editionMgr                  = 11                            /* Edition Manager */
  47. };
  48. #if CALL_NOT_IN_CARBON
  49. EXTERN_API( void )
  50. InitPack                        (short                  packID)                             ONEWORDINLINE(0xA9E5);
  51. EXTERN_API( void )
  52. InitAllPacks                    (void)                                                      ONEWORDINLINE(0xA9E6);
  53. #endif  /* CALL_NOT_IN_CARBON */
  54. #if PRAGMA_STRUCT_ALIGN
  55.     #pragma options align=reset
  56. #elif PRAGMA_STRUCT_PACKPUSH
  57.     #pragma pack(pop)
  58. #elif PRAGMA_STRUCT_PACK
  59.     #pragma pack()
  60. #endif
  61. #ifdef PRAGMA_IMPORT_OFF
  62. #pragma import off
  63. #elif PRAGMA_IMPORT
  64. #pragma import reset
  65. #endif
  66. #ifdef __cplusplus
  67. }
  68. #endif
  69. #endif /* __PACKAGES__ */