home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / DC-POS24.LZX / pOS / Guide.lzx / Guide / Device / Console.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-03-11  |  2.9 KB  |  89 lines

  1. @DATABASE "Device/Console.h"
  2. @MASTER   "Work2:AD/IInc/Device/Console.h"
  3. @REMARK   This file was created by ADtoHT 2.0 on 11-Mär-97  13:33:40
  4. @REMARK   Do not edit
  5. @REMARK   ADtoHT is © 1993-1995 Christian Stieber
  6.  
  7. @NODE MAIN "Device/Console.h"
  8. @TOC "__pOS_Dev.guide/MAIN"
  9.  
  10. @{"Device/Console.h" LINK File}
  11.  
  12.  
  13. @{b}Structures@{ub}
  14.  
  15. @{"pOS_ConsoleDevice" LINK "Device/Console.h/File" 35}  @{"pOS_ConsoleInitStruct" LINK "Device/Console.h/File" 40}  @{"pOS_ConsoleStdReq" LINK "Device/Console.h/File" 54}
  16.  
  17. @ENDNODE
  18. @NODE File "Device/Console.h"
  19. #ifndef __INC_POS_DEVICE_CONSOLE_H
  20. #define __INC_POS_DEVICE_CONSOLE_H
  21. /*******************************************************************
  22.  Includes Release 24
  23.  (C) Copyright 1995-1997 proDAD
  24.      All Rights Reserved
  25.  
  26.  $AUT Holger Burkarth
  27.  $DAT >>Console.h<<   19 Nov 1996    11:09:46 - (C) ProDAD
  28. *******************************************************************/
  29. #ifndef __INC_POS_PEXEC_DEVICE_H
  30. #include "p:pExec/Device.h"
  31. #endif
  32.  
  33. enum pOS_ConsoleDeviceUnitNum
  34. {
  35. /* ---- console unit numbers for @{"pOS_OpenDevice()" LINK "pExecD/pOS_OpenDevice"} */
  36.   CONUNUM_Library=   -1, /* no unit, just fill in io_Device field */
  37.   CONUNUM_Standard=   0, /* standard unmapped console */
  38. };
  39.  
  40.  
  41.  
  42. enum pOS_ConsoleIOReqCommands
  43. {
  44.  CMDCD_AskKeyMap= CMD_NONSTD,
  45.  CMDCD_SetKeyMap,
  46.  CMDCD_AskDefaultKeyMap,
  47.  CMDCD_SetDefaultKeyMap,
  48.  CMDCD_InitStruct,
  49.  CMDCD_Slide,        /* cio_Data */
  50. };
  51.  
  52.  
  53.  struct pOS_ConsoleDevice {@{"struct pOS_Device" LINK "pExec/Device.h/File" 21} Dev; };
  54.  
  55.  
  56. /*----------------------------------
  57. -----------------------------------*/
  58. struct pOS_ConsoleInitStruct
  59. {
  60.   @{"struct pOS_Window" LINK "pScreen/Window.h/File" 18} *cis_Window;
  61.   @{"struct pOS_Gadget" LINK "pGadget/Gadget.h/File" 18} *cis_VPropGad;
  62.   @{"UWORD" LINK "pExec/Types.h/File" 93}              cis_Lines;
  63.  
  64.   @{"UBYTE" LINK "pExec/Types.h/File" 95} cis_Reserved[16];
  65. };
  66.  
  67.  
  68.  
  69.  
  70. /*----------------------------------
  71. -----------------------------------*/
  72. struct pOS_ConsoleStdReq
  73. {
  74.   @{"struct pOS_Message" LINK "pExec/MsgPort.h/File" 41}        cio_Message;
  75.   @{"struct pOS_ConsoleDevice" LINK File 35} *cio_Device;  /* device node pointer  */
  76.   struct pOS_ConsoleUnit   *cio_Unit;    /* unit (driver private) */
  77.   @{"UWORD" LINK "pExec/Types.h/File" 93}                     cio_Command; /* (enum pOS_IOReqCommands) */
  78.   @{"UBYTE" LINK "pExec/Types.h/File" 95}                     cio_Flags;   /* (enum pOS_IOReqFlags) */
  79.   @{"SBYTE" LINK "pExec/Types.h/File" 94}                     cio_Error;   /* (enum pOS_IOReqErrors) */
  80.   @{"ULONG" LINK "pExec/Types.h/File" 91}                     cio_Actual;  /* actual number of bytes transferred */
  81.   @{"ULONG" LINK "pExec/Types.h/File" 91}                     cio_Length;  /* requested number bytes transferred */
  82.   @{"APTR" LINK "pExec/Types.h/File" 87}                      cio_Data;    /* points to data area */
  83.   @{"ULONG" LINK "pExec/Types.h/File" 91}                     cio_Offset;  /* offset for block structured devices */
  84. };
  85.  
  86.  
  87. #endif
  88. @ENDNODE
  89.