home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 500-599 / ff589.lza / Term / TermSrc.lha / PreInclude.c < prev    next >
C/C++ Source or Header  |  1991-12-01  |  3KB  |  143 lines

  1. /* $Revision Header * Header built automatically - do not edit! *************
  2.  *
  3.  *    (C) Copyright 1991 by Olaf 'Olsen' Barthel & MXM
  4.  *
  5.  *    Name .....: PreInclude.c
  6.  *    Created ..: Monday 21-Jan-91 20:12
  7.  *    Revision .: 0
  8.  *
  9.  *    Date            Author          Comment
  10.  *    =========       ========        ====================
  11.  *    21-Jan-91       Olsen           Created this file!
  12.  *
  13.  * $Revision Header ********************************************************/
  14.  
  15.     /* System includes (just a few). */
  16.  
  17. #include <intuition/intuitionbase.h>
  18. #include <libraries/commodities.h>
  19. #include <intuition/gadgetclass.h>
  20. #include <libraries/translator.h>
  21. #include <workbench/workbench.h>
  22. #include <libraries/gadtools.h>
  23. #include <libraries/iffparse.h>
  24. #include <devices/inputevent.h>
  25. #include <graphics/gfxmacros.h>
  26. #include <devices/clipboard.h>
  27. #include <intuition/sghooks.h>
  28. #include <intuition/cghooks.h>
  29. #include <devices/narrator.h>
  30. #include <graphics/gfxbase.h>
  31. #include <hardware/intbits.h>
  32. #include <hardware/dmabits.h>
  33. #include <hardware/custom.h>
  34. #include <devices/console.h>
  35. #include <devices/conunit.h>
  36. #include <dos/filehandler.h>
  37. #include <devices/serial.h>
  38. #include <graphics/scale.h>
  39. #include <dos/dosextens.h>
  40. #include <libraries/asl.h>
  41. #include <devices/audio.h>
  42. #include <devices/input.h>
  43. #include <devices/timer.h>
  44. #include <exec/execbase.h>
  45. #include <exec/devices.h>
  46. #include <dos/datetime.h>
  47. #include <dos/doshunks.h>
  48. #include <exec/memory.h>
  49. #include <rexx/rxslib.h>
  50. #include <rexx/errors.h>
  51. #include <dos/dostags.h>
  52. #include <dos/rdargs.h>
  53. #include <dos/dosasl.h>
  54. #include <dos/var.h>
  55.  
  56.     /* These two are `misdefined', so we'll skip them. */
  57.  
  58. #define FPrintf    foo1
  59. #define Printf    foo2
  60.  
  61.     /* Function prototypes. */
  62.  
  63. #include <clib/commodities_protos.h>
  64. #include <clib/translator_protos.h>
  65. #include <clib/intuition_protos.h>
  66. #include <clib/graphics_protos.h>
  67. #include <clib/gadtools_protos.h>
  68. #include <clib/iffparse_protos.h>
  69. #include <clib/utility_protos.h>
  70. #include <clib/layers_protos.h>
  71. #include <clib/alib_protos.h>
  72. #include <clib/icon_protos.h>
  73. #include <clib/exec_protos.h>
  74. #include <clib/dos_protos.h>
  75. #include <clib/asl_protos.h>
  76. #include <clib/wb_protos.h>
  77.  
  78.     /* Include the following direct library interface definitions. */
  79.  
  80. #ifdef LATTICE
  81. #include <pragmas/utility.h>
  82. #include <pragmas/timer.h>
  83. #include <pragmas/exec.h>
  84. #endif    /* LATTICE */
  85.  
  86. #undef FPrintf
  87. #undef Printf
  88.  
  89.     /* Standard `C' includes. */
  90.  
  91. #include <string.h>
  92. #include <stdarg.h>
  93.  
  94.     /* Special character codes. */
  95.  
  96. #define XOF '\21'
  97. #define XON '\23'
  98.  
  99. #define BEL '\a'
  100. #define VTB '\v'
  101. #define TAB '\t'
  102. #define BKS '\b'
  103. #define ENT '\n'
  104. #define RET '\r'
  105. #define ESC '\033'
  106. #define DEL '\177'
  107. #define FFD '\f'
  108.  
  109.     /* Internally handled control keys. */
  110.  
  111. #define CUP 150
  112. #define CDN 151
  113. #define CFW 152
  114. #define CBK 153
  115.  
  116. #define FN1 128
  117. #define FN2 129
  118. #define FN3 130
  119. #define FN4 131
  120. #define FN5 132
  121. #define FN6 133
  122. #define FN7 134
  123. #define FN8 135
  124. #define FN9 136
  125. #define F10 137
  126.  
  127. #define HLP 149
  128.  
  129.     /* Control sequence introducer. */
  130.  
  131. #define CSI 155
  132.  
  133.     /* The following definition will allow us to add string gadget editing
  134.      * hooks to gadtools objects in a system-integrated manner. 
  135.      * Note that while this feature is officially supported in
  136.      * gadtools.library 37.110 it has not been listed in the autodocs 37.1
  137.      * yet.
  138.      */
  139.  
  140. #ifndef GTST_EditHook
  141. #define GTST_EditHook (GT_TagBase+55)
  142. #endif    /* GTST_EditHook */
  143.