home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ddkx86v1.zip / DDKX86 / H / PM.H < prev    next >
C/C++ Source or Header  |  1995-04-14  |  5KB  |  144 lines

  1. /*DDK*************************************************************************/
  2. /*                                                                           */
  3. /* COPYRIGHT    Copyright (C) 1995 IBM Corporation                           */
  4. /*                                                                           */
  5. /*    The following IBM OS/2 WARP source code is provided to you solely for  */
  6. /*    the purpose of assisting you in your development of OS/2 WARP device   */
  7. /*    drivers. You may use this code in accordance with the IBM License      */
  8. /*    Agreement provided in the IBM Device Driver Source Kit for OS/2. This  */
  9. /*    Copyright statement may not be removed.                                */
  10. /*                                                                           */
  11. /*****************************************************************************/
  12. /****************************** Module Header ******************************\
  13. *
  14. * Module Name: PM.H
  15. *
  16. * OS/2 Presentation Manager top level include file.
  17. *
  18. *
  19. * ===========================================================================
  20. *
  21. * The following symbols are used in this file for conditional sections.
  22. *
  23. *   #define:                To include:
  24. *
  25. *   INCL_PM                  ALL of OS/2 Presentation Manager
  26. *   INCL_AVIO                OS/2 Advanced VIO (16-Bit only)
  27. *   INCL_BITMAPFILEFORMAT    OS/2 Bitmap File Format
  28. *   INCL_DEV                 OS/2 Device Support
  29. *   INCL_ERRORS              OS/2 Errors
  30. *   INCL_FONTFILEFORMAT      OS/2 Font File Format
  31. *   INCL_GPI                 OS/2 GPI
  32. *   INCL_ORDERS              OS/2 Graphical Order Formats
  33. *   INCL_PIC                 OS/2 Picture utilities
  34. *   INCL_SPL                 OS/2 Spooler
  35. *   INCL_WINSTDDLGS          CUA controls and dialogs
  36. *   INCL_WIN                 OS/2 Window Manager
  37. *   INCL_WINWORKPLACE        OS/2 Workplace Shell
  38. *
  39. * ===========================================================================
  40. *
  41. * Comments at the end of each typedef line give the name tags used in
  42. * the assembler include version of this file.
  43. *
  44. * The assembler include version of this file excludes lines between NOINC
  45. * and INC comments.
  46. *
  47. #ifndef __IBMC__
  48.    * The public version of this file (as shipped with the OS/2 Toolkit
  49.    * product) excludes all non 32-bit material marked in this file
  50.    * as well as any areas specifically marked with __IBMC__ conditional
  51.    * sections - including this paragraph. The H2IBMH rexx command file
  52.    * removes these sections.
  53. #endif
  54. \***************************************************************************/
  55.  
  56. /* NOINC */
  57. #ifdef __IBMC__
  58.    #pragma checkout( suspend )
  59.       #ifndef __CHKHDR__
  60.          #pragma checkout( suspend )
  61.       #endif
  62.    #pragma checkout( resume )
  63. #endif
  64. /* INC */
  65.  
  66. #define PM_INCLUDED
  67.  
  68. #ifndef INCL_32         /* If neither INCL_32 or INCL_16 set already */
  69.    #ifndef INCL_16      /* find out from compiler if 32-bit or not.  */
  70.      #ifdef M_I386
  71.         #define INCL_32 /* Compiling for 32-bit */
  72.      #else
  73.         #define INCL_16 /* Compiling for 16-bit */
  74.      #endif
  75.   #endif
  76. #endif
  77.  
  78. /*** if INCL_PM defined then define all the symbols ************************/
  79. #ifdef INCL_PM
  80.    #define INCL_AVIO
  81.    #define INCL_BITMAPFILEFORMAT
  82.    #define INCL_DEV
  83.    #define INCL_ERRORS
  84.    #define INCL_FONTFILEFORMAT
  85.    #define INCL_GPI
  86.    #define INCL_ORDERS
  87.    #define INCL_PIC
  88.    #define INCL_SPL
  89.    #define INCL_WIN
  90.    #define INCL_WINSTDDLGS
  91.    #define INCL_WINWORKPLACE
  92. #endif /* INCL_PM */
  93.  
  94.  
  95. #include <pmwin.h>        /* OS/2 Window Manager definitions    */
  96. #include <pmgpi.h>        /* OS/2 GPI definitions               */
  97. #include <pmdev.h>        /* OS/2 Device Context definitions    */
  98. #ifndef __IBMC__
  99. /* LATER should include pmwp.h for both IBM and MS, but I don't want */
  100. /* to break anyone now! David Kerr */
  101. #else
  102. #include <pmwp.h>         /* OS/2 Workplace Shell               */
  103. #endif
  104.  
  105. #ifdef INCL_AVIO
  106.    #ifndef __IBMC__
  107.       #ifdef INCL_16
  108.          #include <pmavio.h> /* OS/2 AVIO definitions              */
  109.       #endif
  110.    #else
  111.       #include <pmavio.h>    /* OS/2 AVIO definitions              */
  112.    #endif
  113. #endif
  114.  
  115. #ifdef INCL_SPL
  116.    #include <pmspl.h>     /* OS/2 Spooler definitions           */
  117. #endif
  118.  
  119. #ifdef INCL_PIC
  120.    #include <pmpic.h>     /* OS/2 Picture Utilities definitions */
  121. #endif
  122.  
  123. #ifdef INCL_ORDERS
  124.    #include <pmord.h>     /* OS/2 Graphical Order Formats       */
  125. #endif
  126.  
  127. #ifdef INCL_FONTFILEFORMAT
  128.    #include <pmfont.h>    /* OS/2 Font File Format definition   */
  129. #endif
  130.  
  131. #include <pmstddlg.h>     /* CUA controls and dialogs           */
  132.  
  133. /* NOINC */
  134. #ifdef __IBMC__
  135.    #pragma checkout( suspend )
  136.       #ifndef __CHKHDR__
  137.          #pragma checkout( resume )
  138.       #endif
  139.    #pragma checkout( resume )
  140. #endif
  141. /* INC */
  142.  
  143. /**************************** end of file **********************************/
  144.