home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / amiga / comms / comprgs / term232.lha / Source_Code / termSource / PreInclude.c < prev    next >
Encoding:
C/C++ Source or Header  |  1992-08-18  |  3.7 KB  |  173 lines

  1. /*
  2. **    $Id: PreInclude.c,v 1.6 92/08/15 20:13:08 olsen Sta Locker: olsen $
  3. **    $Revision: 1.6 $
  4. **    $Date: 92/08/15 20:13:08 $
  5. **
  6. **    Definition file for precompiled header file
  7. **
  8. **    Copyright ⌐ 1990-1992 by Olaf `Olsen' Barthel & MXM
  9. **        All Rights Reserved
  10. */
  11.  
  12.     /* System includes (just a few). */
  13.  
  14. #include <intuition/intuitionbase.h>
  15. #include <libraries/commodities.h>
  16. #include <intuition/gadgetclass.h>
  17. #include <libraries/translator.h>
  18. #include <workbench/workbench.h>
  19. #include <libraries/gadtools.h>
  20. #include <libraries/iffparse.h>
  21. #include <devices/inputevent.h>
  22. #include <graphics/gfxmacros.h>
  23. #include <devices/clipboard.h>
  24. #include <intuition/sghooks.h>
  25. #include <intuition/cghooks.h>
  26. #include <devices/narrator.h>
  27. #include <graphics/gfxbase.h>
  28. #include <hardware/intbits.h>
  29. #include <hardware/dmabits.h>
  30. #include <hardware/custom.h>
  31. #include <devices/console.h>
  32. #include <devices/conunit.h>
  33. #include <dos/filehandler.h>
  34. #include <devices/serial.h>
  35. #include <graphics/scale.h>
  36. #include <dos/dosextens.h>
  37. #include <libraries/asl.h>
  38. #include <devices/audio.h>
  39. #include <devices/input.h>
  40. #include <devices/timer.h>
  41. #include <exec/execbase.h>
  42. #include <hardware/cia.h>
  43. #include <utility/date.h>
  44. #include <exec/devices.h>
  45. #include <dos/datetime.h>
  46. #include <dos/doshunks.h>
  47. #include <clib/macros.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.     /* Function prototypes. */
  57.  
  58. #include <clib/commodities_protos.h>
  59. #include <clib/translator_protos.h>
  60. #include <clib/rexxsyslib_protos.h>
  61. #include <clib/intuition_protos.h>
  62. #include <clib/graphics_protos.h>
  63. #include <clib/gadtools_protos.h>
  64. #include <clib/iffparse_protos.h>
  65. #include <clib/diskfont_protos.h>
  66. #include <clib/utility_protos.h>
  67. #include <clib/layers_protos.h>
  68. #include <clib/alib_protos.h>
  69. #include <clib/icon_protos.h>
  70. #include <clib/exec_protos.h>
  71. #include <clib/dos_protos.h>
  72. #include <clib/asl_protos.h>
  73. #include <clib/wb_protos.h>
  74.  
  75.     /* Include the following direct library interface definitions. */
  76.  
  77. #include <pragmas/utility.h>
  78. #include <pragmas/timer.h>
  79. #include <pragmas/exec.h>
  80.  
  81.     /* Standard `C' includes. */
  82.  
  83. #include <string.h>
  84. #include <stdarg.h>
  85. #include <stddef.h>
  86.  
  87.     /* Are we using the new includes? */
  88.  
  89. #ifdef ASLSM_FilterFunc
  90.  
  91. #include <libraries/locale.h>
  92. #include <clib/locale_protos.h>
  93.  
  94. #endif    /* ASLSM_FilterFunc */
  95.  
  96. #include "termStrings.h"
  97.  
  98.     /* Special character codes. */
  99.  
  100. #define XOF '\21'
  101. #define XON '\23'
  102.  
  103. #define BEL '\a'
  104. #define VTB '\v'
  105. #define TAB '\t'
  106. #define BKS '\b'
  107. #define ENT '\n'
  108. #define RET '\r'
  109. #define ESC '\033'
  110. #define DEL '\177'
  111. #define FFD '\f'
  112. #define CAN '\030'
  113. #define SUB '\032'
  114. #define ENQ '\005'
  115. #define SI  '\016'
  116. #define SO  '\017'
  117.  
  118.     /* Internally handled control keys. */
  119.  
  120. #define CUP 150
  121. #define CDN 151
  122. #define CFW 152
  123. #define CBK 153
  124.  
  125. #define FN1 128
  126. #define FN2 129
  127. #define FN3 130
  128. #define FN4 131
  129. #define FN5 132
  130. #define FN6 133
  131. #define FN7 134
  132. #define FN8 135
  133. #define FN9 136
  134. #define F10 137
  135.  
  136. #define HLP 149
  137.  
  138.     /* Control sequence introducer. */
  139.  
  140. #define CSI 155
  141.  
  142.     /* Some #define values which may not yet be available in
  143.      * every include file set.
  144.      */
  145.  
  146. #ifndef GTMN_NewLookMenus
  147. #define GTMN_NewLookMenus    (GT_TagBase+67)
  148. #endif    /* GTMN_NewLookMenus */
  149.  
  150. #ifndef WA_NewLookMenus
  151. #define WA_NewLookMenus        (WA_Dummy+0x30)
  152. #endif    /* WA_NewLookMenus */
  153.  
  154. #ifndef GTCB_Scaled
  155. #define GTCB_Scaled        GT_TagBase+68
  156. #endif    /* GTCB_Scaled */
  157.  
  158. #ifndef GTMX_Scaled
  159. #define GTMX_Scaled        GT_TagBase+69
  160. #endif    /* GTMX_Scaled */
  161.  
  162. #ifndef SA_Interleaved
  163. #define SA_Interleaved        (SA_Dummy + 0x0022)
  164. #endif    /* SA_Interleaved */
  165.  
  166.     /* Use a simple address trick instead of the predefined
  167.      * address in amiga.lib.
  168.      */
  169.  
  170. #ifndef custom
  171. #define custom (*(struct Custom *)0xDFF000)
  172. #endif    /* custom */
  173.