home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / borhead.zip / BSE.H < prev    next >
C/C++ Source or Header  |  1994-11-09  |  2KB  |  74 lines

  1. /****************************** Module Header ******************************\
  2. *
  3. * Module Name: BSE.H
  4. *
  5. * This file includes the definitions necessary for writing Base OS/2 applications.
  6. *
  7. * Copyright (c) 1987, 1992  IBM Corporation
  8. *
  9. *
  10. *
  11. * ===========================================================================
  12. *
  13. * The following symbols are used in this file for conditional sections.
  14. *
  15. *   INCL_BASE      -  ALL of OS/2 Base
  16. *   INCL_DOS       -  OS/2 DOS Kernel
  17. *   INCL_SUB       -  OS/2 VIO/KBD/MOU
  18. *   INCL_DOSERRORS -  OS/2 Errors         - only included if symbol defined
  19. *   INCL_ORDINALS  -  OS/2 Ordinals       - only included if symbol defined
  20. \***************************************************************************/
  21.  
  22. #if defined(__IBMC__)
  23. #pragma info( none )
  24.    #ifndef __CHKHDR__
  25.       #pragma info( none )
  26.    #endif
  27. #pragma info( restore )
  28. #endif    /* __IBMC__ */
  29.  
  30. #ifdef __cplusplus
  31.       extern "C" {
  32. #endif
  33.  
  34. #ifndef __BSE__
  35. #define __BSE__
  36.  
  37. #define INCL_BASEINCLUDED
  38.  
  39. /* if INCL_BASE defined then define all the symbols */
  40.  
  41. #ifdef INCL_BASE
  42.    #define INCL_DOS
  43.    #define INCL_SUB
  44.    #define INCL_DOSERRORS
  45. #endif /* INCL_BASE */
  46.  
  47. #include <bsedos.h>       /* Base definitions */
  48.  
  49.  
  50. #ifdef INCL_DOSDEVIOCTL
  51.    #include <bsedev.h>    /* Structures and constants for DosDevIOCtl */
  52. #endif /* INCL_DOSDEVIOCTL */
  53.  
  54. #include <bsesub.h>       /* VIO/KBD/MOU definitions */
  55. #include <bseerr.h>       /* Base error code definitions */
  56.  
  57. #ifdef INCL_ORDINALS
  58. #include <bseord.h>     /* ordinals */
  59. #endif /* INCL_ORDINALS */
  60.  
  61. #endif /* __BSE__ */
  62.  
  63. #ifdef __cplusplus
  64.         }
  65. #endif
  66.  
  67. #if defined(__IBMC__)
  68. #pragma info( none )
  69.    #ifndef __CHKHDR__
  70.       #pragma info( restore )
  71.    #endif
  72. #pragma info( restore )
  73. #endif    /* __IBMC__ */
  74.