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.

106 lines
2.2 KiB

  1. /*
  2. File: Packages.h
  3. Contains: Package Manager Interfaces.
  4. Version: Technology: System 7.5
  5. Release: QuickTime 7.3
  6. Copyright: (c) 2007 (c) 1985-1993, 1995, 1997-1999 by Apple Computer, Inc., all rights reserved
  7. Bugs?: For bug reports, consult the following page on
  8. the World Wide Web:
  9. http://developer.apple.com/bugreporter/
  10. */
  11. #ifndef __PACKAGES__
  12. #define __PACKAGES__
  13. #ifndef __MACTYPES__
  14. #include <MacTypes.h>
  15. #endif
  16. #if PRAGMA_ONCE
  17. #pragma once
  18. #endif
  19. #ifdef __cplusplus
  20. extern "C" {
  21. #endif
  22. #if PRAGMA_IMPORT
  23. #pragma import on
  24. #endif
  25. #if PRAGMA_STRUCT_ALIGN
  26. #pragma options align=mac68k
  27. #elif PRAGMA_STRUCT_PACKPUSH
  28. #pragma pack(push, 2)
  29. #elif PRAGMA_STRUCT_PACK
  30. #pragma pack(2)
  31. #endif
  32. enum {
  33. listMgr = 0, /* list manager */
  34. dskInit = 2, /* Disk Initializaton */
  35. stdFile = 3, /* Standard File */
  36. flPoint = 4, /* Floating-Point Arithmetic */
  37. trFunc = 5, /* Transcendental Functions */
  38. intUtil = 6, /* International Utilities */
  39. bdConv = 7, /* Binary/Decimal Conversion */
  40. editionMgr = 11 /* Edition Manager */
  41. };
  42. #if CALL_NOT_IN_CARBON
  43. /*
  44. * InitPack()
  45. *
  46. * Availability:
  47. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  48. * CarbonLib: not available
  49. * Mac OS X: not available
  50. */
  51. EXTERN_API( void )
  52. InitPack(short packID) ONEWORDINLINE(0xA9E5);
  53. /*
  54. * InitAllPacks()
  55. *
  56. * Availability:
  57. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  58. * CarbonLib: not available
  59. * Mac OS X: not available
  60. */
  61. EXTERN_API( void )
  62. InitAllPacks(void) ONEWORDINLINE(0xA9E6);
  63. #endif /* CALL_NOT_IN_CARBON */
  64. #if PRAGMA_STRUCT_ALIGN
  65. #pragma options align=reset
  66. #elif PRAGMA_STRUCT_PACKPUSH
  67. #pragma pack(pop)
  68. #elif PRAGMA_STRUCT_PACK
  69. #pragma pack()
  70. #endif
  71. #ifdef PRAGMA_IMPORT_OFF
  72. #pragma import off
  73. #elif PRAGMA_IMPORT
  74. #pragma import reset
  75. #endif
  76. #ifdef __cplusplus
  77. }
  78. #endif
  79. #endif /* __PACKAGES__ */