home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.1 (Developer) [x86] / NeXT Step 3.1 Intel dev.cdr.dmg / NextDeveloper / Headers / bsd / dev / i386 / IODisplay.h < prev    next >
Encoding:
Text File  |  1993-04-30  |  1.2 KB  |  52 lines

  1. /*     Copyright (c) 1992 NeXT Computer, Inc.  All rights reserved. 
  2.  *
  3.  * IODisplay.h - Abstract superclass for all Display objects.
  4.  *
  5.  *
  6.  * HISTORY
  7.  * 01 Sep 92    Joe Pasqua
  8.  *      Created. 
  9.  */
  10.  
  11. // Notes:
  12. // * This module defines an abstract superclass on which Display objects
  13. //   can be built.
  14.  
  15. #import <driverkit/IODevice.h>
  16. #import <driverkit/IODirectDevice.h>
  17. #import    <bsd/dev/i386/ConsoleSupport.h>
  18. #import    <bsd/dev/i386/displayDefs.h>
  19. #import    <bsd/dev/EventProtocols.h>
  20.  
  21. @interface IODisplay: IODirectDevice <evScreen>
  22. {
  23. @private
  24.     IODisplayInfo    _display;    // parameters describing the display
  25.     int            _token;
  26. }
  27.  
  28. - (IODisplayInfo *)displayInfo;
  29. // Description:    Returns a pointer to an IODisplayInfo describing the display.
  30.  
  31. - (int)token;
  32. // Returns the registration token for this display.
  33.  
  34. - (void)setToken:(int)token;
  35. // Sets the token for this display
  36.  
  37. - (IOConsoleInfo *)allocateConsoleInfo;
  38. // Description:    Allocates a console support info structure based on this
  39. //        display. This structure, and the functions in it, are used
  40. //        to display alert and console windows.
  41.  
  42.  
  43. // evScreen protocol methods reimplemented by this class
  44. - (port_t) devicePort;
  45.  
  46. @end
  47.  
  48.  
  49.  
  50.  
  51.  
  52.