home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.2 (Developer) / NS_dev_3.2.iso / NextDeveloper / Headers / driverkit / IODisplay.h < prev    next >
Text File  |  1993-08-14  |  1KB  |  54 lines

  1. /*     Copyright (c) 1992 NeXT Computer, Inc.  All rights reserved. 
  2.  *
  3.  * IODisplay.h - Abstract superclass for all IODisplay objects.
  4.  *
  5.  *
  6.  * HISTORY
  7.  * 01 Sep 92    Joe Pasqua
  8.  *      Created. 
  9.  * 24 Jun 93    Derek B Clegg
  10.  *    Moved to driverkit; minor cleanup.
  11.  * 4  Aug 1993      Erik Kay at NeXT
  12.  *    minor API cleanup
  13.  */
  14.  
  15. #ifndef __IODISPLAY_H__
  16. #define __IODISPLAY_H__
  17.  
  18. #import <driverkit/IODevice.h>
  19. #import <driverkit/IODirectDevice.h>
  20. #import    <driverkit/displayDefs.h>
  21. #import    <driverkit/eventProtocols.h>
  22.  
  23. @interface IODisplay: IODirectDevice <IOScreenEvents>
  24. {
  25. @private
  26.     IODisplayInfo _display;    /* Parameters describing the display. */
  27.     int _token;            /* Token. */
  28.  
  29.     /* Reserved for future expansion. */
  30.     unsigned int _IODisplay_reserved[18];
  31. }
  32.  
  33. // Returns a pointer to an IODisplayInfo describing the display.
  34. - (IODisplayInfo *)displayInfo;
  35.  
  36. // Handles NeXT-internal parameters specific to IODisplays; forwards
  37. // the handling of all other parameters to `super'.
  38. - (IOReturn)getIntValues        : (unsigned *)parameterArray
  39.                forParameter : (IOParameterName)parameterName
  40.                       count : (unsigned *)count;
  41.  
  42. // Returns the registration token for this display.
  43. - (int)token;
  44.  
  45. // Sets the registration token for this display.
  46. - (void)setToken:(int)token;
  47.  
  48. // `IOScreenEvents' protocol methods reimplemented by this class.
  49. - (port_t)devicePort;
  50.  
  51. @end
  52.  
  53. #endif    /* __IODISPLAY_H__ */
  54.