home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 April: Mac OS SDK / Dev.CD Apr 00 SDK1.toast / Development Kits / Mac OS / Apple Guide / Engineering / Context Check Modules / Standard CC Modules / Chooser Context / Chooser.h < prev    next >
Encoding:
Text File  |  1994-04-25  |  948 b   |  42 lines  |  [TEXT/MPS ]

  1. //    Copyright:    © 1993 Apple Computer, Inc. All rights reserved.
  2. //    Author:        Scott Searle (original)
  3. //                Victor J. Hnyp (extensions)
  4. //    Date:        15-Mar-93
  5.  
  6. // Revisions
  7. //
  8. //    03/15/93    VJH    2.04    Fixed:    isPortSelected, isPortInUse
  9. //
  10. //    02/08/93    VJH    2.03    Fixed:    AppleTalk related states
  11. //
  12. //    01/18/93    VJH    2.02    Fixed:    AppleTalk related states
  13.  
  14. #ifndef __CHOOSER__
  15. #define __CHOOSER__
  16.  
  17. #ifndef __UTILITY__
  18. #include "Utility.h"
  19. #endif
  20.  
  21. // This structure is used in testing isAppleTalk, isPortSelected, isPortInUse
  22. typedef struct
  23. {
  24.     long            filler1;                    // Context Selector
  25.     long            wantedATState;
  26. } ATStateInfo, *ATStateInfoPtr;
  27.  
  28. typedef struct
  29. {
  30.     long            filler1;                    // Context Selector
  31.     long            compareSelector;
  32.     long            compareValue;
  33. } CompareInfo, *CompareInfoPtr;
  34.  
  35. typedef struct
  36. {
  37.     long            filler1;                    // Context Selector
  38.     long            filler2;                    // Not used
  39.     StringSpec        printerName;                // Compare selector and value
  40. } PrinterInfo, *PrinterInfoPtr;
  41.  
  42. #endif