home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 September / Chip_2001-09_cd1.bin / zkuste / delphi / kolekce / d6 / RX275D6.ZIP / Units / RX.INC < prev    next >
Text File  |  2001-06-24  |  4KB  |  147 lines

  1. {*******************************************************}
  2. {                                                       }
  3. {         RX Library include file                       }
  4. {         Copyright (c) 1996 AO ROSNO                   }
  5. {         Copyright (c) 1997, 1998 Master-Bank          }
  6. {                                                       }
  7. {*******************************************************}
  8.  
  9. { RX.INC is included in all RX Library units so you can specify
  10.   global compiler options here. RX.INC is included before each units'
  11.   required compiler options and the options specified here can be
  12.   overridden by hardcode options in the source files }
  13.  
  14. { Conditional defines that affect compilation }
  15.  
  16. {$DEFINE DCS}
  17. { Client/Server or Enterprise version. Deactivate this define if you
  18.   have Delphi Desktop, Standard or Professional Edition }
  19.  
  20. {.$DEFINE RX_MIDAS}
  21. { RX MIDAS components } 
  22.  
  23. {.$DEFINE RX_ADO}
  24. { RX ADO components } 
  25.  
  26. {$DEFINE USE_RX_GIF}
  27. { This define enables GIF image support. Deactivate this define
  28.   if you are using another GIF image support library. See README.TXT
  29.   for the legal aspects }
  30.  
  31. {$IFDEF WIN32}
  32. {.$DEFINE USE_PROGRESSBAR}
  33. { Activate this define if you do not want to use TGauge Borland sample
  34.   component in TDBProgress component and FileUtil routines. In this case
  35.   TProgressBar component will be used }
  36. {$ENDIF}
  37.  
  38. {$DEFINE USE_FOUR_DIGIT_YEAR}
  39. { This define controls whether FourDigitYear variable is used to control
  40.   date format in TDateEdit, TDBDateEdit components. When this define is not
  41.   active the ShortDateFormat variable is used instead }
  42.  
  43. {.$DEFINE USE_OLD_DBLISTS}
  44. { Activate this define to install old BDE lists components for backward
  45.   compatibility with oldest RX versions }
  46.  
  47. {$DEFINE DEFAULT_POPUP_CALENDAR}
  48. { This define controls whether a popup calendar is used as default
  49.   instead of a modal dialog in TDateEdit, TDBDateEdit components }
  50.  
  51. { ------------ !! DO NOT CHANGE DEFINES BELOW THIS LINE !! ------------ }
  52.  
  53. {$B-} {- Complete Boolean Evaluation }
  54. {$R-} {- Range-Checking }
  55. {$V-} {- Var-String Checking }
  56. {$T-} {- Typed @ operator }
  57. {$X+} {- Extended syntax }
  58. {$P+} {- Open string params }
  59. {$IFDEF WIN32}
  60. {$J+} {- Writeable structured consts }
  61. {$H+} {- Use long strings by default }
  62. {$ENDIF}
  63.  
  64. {$IFDEF VER93}  { Borland C++Builder 1.0 }
  65.   {$DEFINE CBUILDER}
  66. {$ENDIF}
  67.  
  68. {$IFDEF VER100} { Borland Delphi 3.0 }
  69.   {$DEFINE RX_D3}
  70. {$ENDIF}
  71.  
  72. {$IFDEF VER110} { Borland C++Builder 3.0 }
  73.   {$DEFINE CBUILDER}
  74.   {$ObjExportAll On}
  75.   {$UNDEF DCS}
  76. {$ENDIF}
  77.  
  78. {$IFDEF VER120} { Borland Delphi 4.0 }
  79.   {$DEFINE RX_D3}
  80.   {$DEFINE RX_D4}
  81. {$ENDIF}
  82.  
  83. {$IFDEF VER125} { Borland C++Builder 4.0 }
  84.   {$DEFINE CBUILDER}
  85.   {$ObjExportAll On}
  86.   {$UNDEF DCS}
  87. {$ENDIF}
  88.  
  89. {$IFDEF VER130} { Borland Delphi 5.0 }
  90.   {$DEFINE RX_D3}
  91.   {$DEFINE RX_D4}
  92.   {$DEFINE RX_D5}
  93. {$ENDIF}
  94.  
  95. {$IFDEF VER140} { Borland Delphi 6.0 }
  96.   {$DEFINE RX_D3}
  97.   {$DEFINE RX_D4}
  98.   {$DEFINE RX_D5}
  99.   {$DEFINE RX_D6}
  100. {$ENDIF}
  101.  
  102.  
  103. {$IFNDEF VER80}              { Delphi 1.0     }
  104.  {$IFNDEF VER90}             { Delphi 2.0     }
  105.   {$IFNDEF VER93}            { C++Builder 1.0 }
  106.     {$DEFINE RX_D3}          { Delphi 3.0 or higher }
  107.     {$IFNDEF VER100}
  108.       {$DEFINE RX_V110}      { C++Builder 3.0 or higher }
  109.       {$IFNDEF VER110}
  110.         {$DEFINE RX_D4}      { Delphi 4.0 or higher }
  111.         {$IFNDEF VER120}
  112.           {$DEFINE RX_V125}  { C++Builder 4.0 or higher }
  113.           {$IFNDEF VER125}
  114.             {$DEFINE RX_D5}  { Delphi 5.0 or higher }
  115.           {$ENDIF}
  116.         {$ENDIF}
  117.       {$ENDIF}
  118.     {$ENDIF}
  119.   {$ENDIF}
  120.  {$ENDIF}
  121. {$ENDIF}
  122.  
  123. {$IFDEF CBUILDER}
  124.   {$DEFINE USE_PROGRESSBAR}
  125.   {$UNDEF USE_OLD_DBLISTS}
  126.   {$IFNDEF VER93}
  127.     {$DEFINE RX_V110}    { C++Builder 3.0 or higher }
  128.     {$IFNDEF VER110}
  129.       {$DEFINE RX_V125}  { C++Builder 4.0 or higher }
  130.     {$ENDIF}
  131.   {$ENDIF}
  132. {$ENDIF}
  133.  
  134. {$IFNDEF RX_D3}
  135.   {$DEFINE DCS}
  136.   {$UNDEF RX_MIDAS}
  137. {$ENDIF}
  138.  
  139. {$IFNDEF RX_D5}
  140.   {$UNDEF RX_ADO}
  141. {$ENDIF}
  142.  
  143. {$IFNDEF DCS}
  144.   {$UNDEF RX_MIDAS}
  145.   {$UNDEF RX_ADO}
  146. {$ENDIF}
  147.