home *** CD-ROM | disk | FTP | other *** search
/ QuickTime 2.0 Developer Kit / QuickTime 2.0 Developer Kit.iso / mac / MAC / Programming Stuff / Sample Code / Music Architecture / Embedding Instruments / BigEasy / BigEasyGestalt.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-12-21  |  1.6 KB  |  71 lines  |  [TEXT/KAHL]

  1. /*
  2.     File:        BigEasyGestalt.h
  3.  
  4.     Contains:    xxx put contents here xxx
  5.  
  6.     Written by:    xxx put writers here xxx
  7.  
  8.     Copyright:    © 1992 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.          <2>      1/7/93    dvb        More selectors.
  13.          <1>     1/20/92    dvb        first checked in
  14.  
  15. */
  16.  
  17. /* file: BigEasyGestalt.h
  18.  *
  19.  * Started 28 December 1991, more or less.
  20.  *
  21.  */
  22.  
  23.  
  24.  
  25. /*--------------------------
  26.     Inclusions
  27. --------------------------*/
  28.  
  29. #include <GestaltEqu.h>
  30.  
  31. /*--------------------------
  32.     Constants
  33. --------------------------*/
  34.  
  35. #define kEasyGestaltPPC 0L
  36. #define kEasyGestaltColor 1L
  37. #define kEasyGestaltQuickTime 2L
  38. #define kEasyGestaltImageCompression 3L
  39. #define kEasyGestaltComponents 4L
  40. #define kEasyGestaltFSSpecs 5L
  41. #define kEasyGestaltFPU 6L
  42. #define kEasyGestaltSoundInputDevice 7L
  43. #define kLastEasyGestaltKnownFeature 8L
  44.  
  45.  
  46. /*--------------------------
  47.     Types
  48. --------------------------*/
  49.  
  50. typedef struct
  51.     {
  52.     long type;                            /* Gestalt selector */
  53.     long mask;                            /* Mask, result must be nonzero */
  54.     Boolean canRunWithout;                /* Just warn the user, but run anyway? */
  55.     unsigned char *unpresentWarning;    /* Message for the user if this feature absent */
  56.     } EasyGestaltItem;
  57.  
  58.  
  59.  
  60. /*--------------------------
  61.     Routines
  62. --------------------------*/
  63.  
  64. Boolean CheckEasyGestaltItem(EasyGestaltItem *egi);
  65. Boolean CheckEasyGestaltItemList(long count, EasyGestaltItem egiList[]);
  66.  
  67. Boolean CheckEasyGestaltKnownFeature(Boolean canRunWithout,long feature);    /* uses enum above */
  68. Boolean CheckEasyGestaltKnownFeatures(Boolean canRunWithout,
  69.         short count,long feature1,...);    /* uses enum above */
  70.  
  71.