home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c082_122 / 3.ddi / OWLINC.ZIP / OWL.H < prev    next >
Encoding:
C/C++ Source or Header  |  1992-06-10  |  2.0 KB  |  78 lines

  1. // ObjectWindows - (C) Copyright 1992 by Borland International
  2.  
  3. #ifndef __OWL_H
  4. #define __OWL_H
  5.  
  6. // ---------------------------------------------------
  7. // This include file causes all the include files
  8. // necessary for basic owl functionality to be included.
  9. //----------------------------------------------------
  10.  
  11. #if defined(_CLASSDLL) || defined(__DLL__)
  12. #  define _RTLDLL
  13. #endif
  14.  
  15. #if         defined(BUILD_OWL)
  16.  
  17. #if         !defined(WIN30) && !defined(WIN31)
  18. #error   OWL must be built with WIN30 or WIN31 (or both) defined.
  19. #endif
  20.  
  21. #if         !defined(WIN31) && defined(STRICT)
  22. #error   OWL must be built with WIN31 defined if STRICT is defined.
  23. #endif
  24.  
  25. #if         defined(WIN30)  && defined(WIN31) && !defined(STRICT)
  26. #error   OWL must be built with STRICT if both WIN30 and WIN31 are defined.
  27. #endif
  28.  
  29. #if         defined(__COMPACT__)
  30. #error   OWL cannot be built in Compact model.
  31. #endif
  32.  
  33. #if         defined(__TINY__)
  34. #error   OWL cannot be built in Tiny model.
  35. #endif
  36.  
  37. #else   //  !defined(BUILD_OWL)
  38.  
  39. #if         !defined(WIN30) && !defined(WIN31)
  40. #error   OWL applications must be built with either WIN30 or WIN31 defined.
  41. #endif
  42.  
  43. #if         defined(WIN30) && defined(WIN31)
  44. #error   OWL applications cannot be built with both WIN30 and WIN31 defined.
  45. #endif
  46.  
  47. #if         !defined(WIN31) && defined(STRICT)
  48. #error   OWL applications must be built with WIN31 defined if STRICT is defined.
  49. #endif
  50.  
  51. #if         defined(__COMPACT__)
  52. #error   OWL applications cannot be built in Compact model.
  53. #endif
  54.  
  55. #if         defined(__TINY__)
  56. #error   OWL applications cannot be built in Tiny model.
  57. #endif
  58.  
  59. #endif  //  !defined(BUILD_OWL)
  60.  
  61. #if !defined(__DEFS_H)
  62. #include <_defs.h>
  63. #endif
  64.  
  65. #if !defined(__OWLDEFS_H)
  66. #include <owldefs.h>
  67. #endif
  68.  
  69. #if !defined(__APPLICAT_H)
  70. #include <applicat.h>
  71. #endif
  72.  
  73. extern unsigned short far  _EXPFUNC OWLGetVersion();
  74.  
  75. const unsigned short OWLVersion = 0x0110; // Version 1.1
  76.  
  77. #endif
  78.