home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / famapi.zip / INCLUDE.ZIP / OS2.H < prev    next >
C/C++ Source or Header  |  1993-01-13  |  2KB  |  80 lines

  1. //
  2. //    *******************************************************************
  3. //      JdeBP C++ Library Routines      General Public Licence v1.00
  4. //          Copyright (c) 1991,1992  Jonathan de Boyne Pollard
  5. //    *******************************************************************
  6. //
  7. //    Common include file for OS/2 applications
  8. //
  9.  
  10. #if !defined(__STDDEF_H_INCLUDED)
  11. #include <_stddef.h>
  12. #endif
  13. #if !defined(__API_H_INCLUDED)
  14. #include <_api.h>                // Common to DOS/Windoze/OS/2 APIs
  15. #endif
  16. #if !defined(___ATTRIB_H_INCLUDED)
  17. #include <_attrib.h>        // File attribute constants
  18. #endif
  19.  
  20. /*
  21.  *   #define:                To include:
  22.  *
  23.  *   INCL_DOSPROCESS         Process and thread support
  24.  *   INCL_DOSINFOSEG         InfoSeg support
  25.  *   INCL_DOSFILEMGR         File Management
  26.  *   INCL_DOSMEMMGR          Memory Management
  27.  *   INCL_DOSSEMAPHORES      Semaphore support
  28.  *   INCL_DOSDATETIME        Date/Time and Timer support
  29.  *   INCL_DOSMODULEMGR       Module manager
  30.  *   INCL_DOSRESOURCES       Resource support
  31.  *   INCL_DOSNLS             National Language Support
  32.  *   INCL_DOSMISC            Miscellaneous
  33.  *   INCL_DOSSIGNALS         Signals
  34.  *   INCL_DOSMONITORS        Monitors
  35.  *   INCL_DOSQUEUES          Queues
  36.  *   INCL_DOSSESMGR          Session Manager Support
  37.  *   INCL_DOSERRORS          OS/2 Errors
  38.  *   INCL_SUB                KBD, VIO, MOU
  39.  */
  40.  
  41. #if !defined(INCL_DOSPROCESS) \
  42.  && !defined(INCL_DOSINFOSEG) \
  43.  && !defined(INCL_DOSFILEMGR) \
  44.  && !defined(INCL_DOSMEMMGR) \
  45.  && !defined(INCL_DOSSEMAPHORES) \
  46.  && !defined(INCL_DOSDATETIME) \
  47.  && !defined(INCL_DOSMODULEMGR) \
  48.  && !defined(INCL_DOSRESOURCES) \
  49.  && !defined(INCL_DOSNLS) \
  50.  && !defined(INCL_DOSMISC) \
  51.  && !defined(INCL_DOSSIGNALS) \
  52.  && !defined(INCL_DOSMONITORS) \
  53.  && !defined(INCL_DOSQUEUES) \
  54.  && !defined(INCL_DOSSESMGR) \
  55.  && !defined(INCL_DOSERRORS) \
  56.  && !defined(INCL_SUB) \
  57.  && !defined(INCL_DOS)
  58. #    define INCL_ALL
  59. #endif
  60.  
  61. #if defined(INCL_BASE) || defined(INCL_ALL)
  62. #    define INCL_DOS
  63. #    define INCL_SUB
  64. #    define INCL_DOSERRORS
  65. #endif
  66.  
  67. #include <os2/doscalls.h>
  68.  
  69. #if defined(INCL_SUB)
  70. #    include <os2/kbdcalls.h>
  71. #    include <os2/viocalls.h>
  72. #    include <os2/moucalls.h>
  73. #endif
  74.  
  75. #if defined(INCL_DOSERRORS)
  76. #    include <os2/errors.h>
  77. #endif
  78.  
  79. #include <os2/pm.h>
  80.