home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 March / Chip_2002-03_cd1.bin / zkuste / delphi / kompon / d123456 / SRVALEDT.ZIP / SRDefine.inc < prev    next >
Encoding:
Text File  |  2001-10-21  |  2.2 KB  |  92 lines

  1. { Include File fⁿr Simons Komponenten. EnthΣlt Compiler-Direktiven fⁿr die
  2.   verschiedenen Delphi-Versionen
  3.  
  4.   Include File for Simons components. Provides some compiler directives for
  5.   the different Delphi  versions
  6.  
  7.   p.i.c.s.
  8.   http://www.picsoft.de
  9.   Simon Reinhardt
  10.   S.Reinhardt@WTal.de                                                          }
  11.  
  12. { A brief explanation of the defines in this unit
  13.  
  14.  SRDefines             : Always defined when this unit is included
  15.  SR_Win16              : Compilation target is 16-bit Windows
  16.  SR_Win32              : Compilation target is 32-bit Windows
  17.  SR_Delphi1            : To be compiled with Delphi 1.0
  18.  SR_Delphi2            : To be compiled with Delphi 2.0
  19.  SR_Delphi3            : To be compiled with Delphi 3.0
  20.  SR_Delphi4            : To be compiled with Delphi 4.0
  21.  SR_Delphi5            : To be compiled with Delphi 5.0
  22.  SR_Delphi6            : To be compiled with Delphi 6.0
  23.  SR_Delphi2_Up         : To be compiled with Delphi 2.0 or higher
  24.  SR_Delphi3_Up         : To be compiled with Delphi 3.0 or higher
  25.  SR_Delphi4_Up         : To be compiled with Delphi 4.0 or higher
  26.  SR_Delphi5_Up         : To be compiled with Delphi 5.0 or higher
  27.  SR_Delphi6_Up         : To be compiled with Delphi 6.0 or higher              }
  28.  
  29. {$B-}
  30.  
  31. {$DEFINE SRDefines}
  32.  
  33. {$IFDEF WIN32}
  34.   {$DEFINE SR_Win32}
  35. {$ELSE}
  36.   {$DEFINE SR_Win16}
  37. {$ENDIF}
  38.  
  39. {$IFDEF VER140}
  40.   {$DEFINE SR_Delphi6}
  41. {$ENDIF}
  42.  
  43. {$IFDEF VER130}
  44.   {$DEFINE SR_Delphi5}
  45. {$ENDIF}
  46.  
  47. {$IFDEF VER120}
  48.   {$DEFINE SR_Delphi4}
  49. {$ENDIF}
  50.  
  51. {$IFDEF VER100}
  52.   {$DEFINE SR_Delphi3}
  53. {$ENDIF}
  54.  
  55. {$IFDEF VER90}
  56.   {$DEFINE SR_Delphi2}
  57. {$ENDIF}
  58.  
  59. {$IFDEF VER80}
  60.   {$DEFINE SR_Delphi1}
  61. {$ENDIF}
  62.  
  63. {$IFDEF SR_Delphi2}
  64.   {$DEFINE SR_Delphi2_Up}
  65. {$ENDIF}
  66.  
  67. {$IFDEF SR_Delphi3}
  68.   {$DEFINE SR_Delphi2_Up}
  69.   {$DEFINE SR_Delphi3_Up}
  70. {$ENDIF}
  71.  
  72. {$IFDEF SR_Delphi4}
  73.   {$DEFINE SR_Delphi2_Up}
  74.   {$DEFINE SR_Delphi3_Up}
  75.   {$DEFINE SR_Delphi4_Up}
  76. {$ENDIF}
  77.  
  78. {$IFDEF SR_Delphi5}
  79.   {$DEFINE SR_Delphi2_Up}
  80.   {$DEFINE SR_Delphi3_Up}
  81.   {$DEFINE SR_Delphi4_Up}
  82.   {$DEFINE SR_Delphi5_Up}
  83. {$ENDIF}
  84.  
  85. {$IFDEF SR_Delphi6}
  86.   {$DEFINE SR_Delphi2_Up}
  87.   {$DEFINE SR_Delphi3_Up}
  88.   {$DEFINE SR_Delphi4_Up}
  89.   {$DEFINE SR_Delphi5_Up}
  90.   {$DEFINE SR_Delphi6_Up}
  91. {$ENDIF}
  92.