home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 24 / CD_ASCQ_24_0995.iso / vrac / apdtr.zip / AWDEFINE.INC < prev    next >
Text File  |  1995-05-19  |  2KB  |  77 lines

  1. {*********************************************************}
  2. {*                  AWDEFINE.INC 1.01                    *}
  3. {*      Assorted conditional compilation directives      *}
  4. {*        Copyright (c) TurboPower Software 1994         *}
  5. {*                 All rights reserved.                  *}
  6. {*********************************************************}
  7.  
  8. {Because AWDEFINE.INC is included in all APW units, you can specify global
  9. compiler options here. AWDEFINE is included *before* each units' required
  10. compiler options, so options specified here might be overridden by hardcode
  11. options in the source file.}
  12.  
  13. {$S-,R-,Q-}
  14.  
  15. {Activate the following define to build the base DLL (APW.DLL) and the
  16. protocol DLL (APWP.DLL).}
  17.  
  18. {.$DEFINE BuildAPWDLL}
  19.  
  20. {Activate the following define to use the base DLL (APW.DLL) and the
  21. protocol DLL (APWP.DLL).}
  22.  
  23. {.$DEFINE UseAPWDLL}
  24.  
  25. {Specify device layer(s) to use}
  26. {$DEFINE UseComm}
  27. {.$DEFINE UseFossil}
  28.  
  29. {This define enables the application-level tracing of transmitted and received
  30. characters. See the manual for more information on Tracing. Since Tracing is
  31. considered a debugging facility, it's not normally defined.}
  32.  
  33. {$DEFINE Tracing}
  34.  
  35. {Activate the following define to enable dispatcher-level logging of all
  36. communications events.}
  37.  
  38. {.$DEFINE DispatchLogging}
  39.  
  40. {Activate the following define to enable drag-and-drop support in fax
  41. viewers}
  42.  
  43. {$DEFINE UseDragDrop}
  44.  
  45. {-------- !! DON'T CHANGE DEFINES BELOW THIS LINE !! -----------------}
  46.  
  47. {$IFNDEF Windows}
  48.   !! ERROR: APW is not compatible with real/protected mode DOS !!
  49. {$ENDIF}
  50.  
  51. {$IFNDEF UseComm}
  52. {$IFNDEF UseFossil}
  53.   !! ERROR: At least one device layer must be defined in AWDEFINE.INC
  54. {$ENDIF}
  55. {$ENDIF}
  56.  
  57. {$IFDEF BuildAPWDLL}
  58.   {$DEFINE Export}            {Export routines when building DLL}
  59.   {$DEFINE IncludeMisc}       {Include OOMISC code when building DLL}
  60. {$ENDIF}
  61.  
  62. {$IFNDEF UseAPWDLL}
  63.   {$DEFINE IncludeMisc}       {Include OOMISC code for non-DLL compiles}
  64. {$ENDIF}
  65.  
  66. {$IFDEF VER70}
  67.   {$DEFINE SmartCallbacks}    {Compiler supports smart callbacks}
  68. {$ENDIF}
  69. {$IFDEF VER80}
  70.   {$DEFINE SmartCallbacks}    {Compiler supports smart callbacks}
  71. {$ENDIF}
  72.  
  73. {$IFDEF VER80}
  74.   {$DEFINE APWDelphi}
  75. {$ENDIF}
  76.  
  77.