33 * v. 2.0. If a copy of the MPL was not distributed with this file, You can
44 * obtain one at http://mozilla.org/MPL/2.0/
55 *
6- * Copyright (C) 2006-2015 , Peter Johnson (www.delphidabbler.com).
6+ * Copyright (C) 2006-2016 , Peter Johnson (www.delphidabbler.com).
77 *
88 * $Rev$
99 * $Date$
@@ -145,23 +145,26 @@ function TBDSCompiler.GetIDString: string;
145145 Result := ' DXE8' ;
146146 ciD10S:
147147 Result := ' D10S' ;
148+ ciD101B:
149+ Result := ' D101B' ;
148150 else
149151 raise EBug.Create(ClassName + ' .GetIDString: Invalid ID' );
150152 end ;
151153end ;
152154
153155function TBDSCompiler.GetName : string;
154156resourcestring
155- sCompilerName = ' Delphi %d' ; // template for name of compiler
156- sDelphiXE = ' Delphi XE' ; // name of Delphi XE compiler
157- sDelphiXE2 = ' Delphi XE2' ; // name of Delphi XE2 compiler
158- sDelphiXE3 = ' Delphi XE3' ; // name of Delphi XE3 compiler
159- sDelphiXE4 = ' Delphi XE4' ; // name of Delphi XE4 compiler
160- sDelphiXE5 = ' Delphi XE5' ; // name of Delphi XE5 compiler
161- sDelphiXE6 = ' Delphi XE6' ; // name of Delphi XE6 compiler
162- sDelphiXE7 = ' Delphi XE7' ; // name of Delphi XE7 compiler
163- sDelphiXE8 = ' Delphi XE8' ; // name of Delphi XE8 compiler
164- sDelphi10S = ' Delphi 10 Seattle' ; // name of Delphi 10 compiler
157+ sCompilerName = ' Delphi %d' ; // template for name of compiler
158+ sDelphiXE = ' Delphi XE' ; // name of Delphi XE compiler
159+ sDelphiXE2 = ' Delphi XE2' ; // name of Delphi XE2 compiler
160+ sDelphiXE3 = ' Delphi XE3' ; // name of Delphi XE3 compiler
161+ sDelphiXE4 = ' Delphi XE4' ; // name of Delphi XE4 compiler
162+ sDelphiXE5 = ' Delphi XE5' ; // name of Delphi XE5 compiler
163+ sDelphiXE6 = ' Delphi XE6' ; // name of Delphi XE6 compiler
164+ sDelphiXE7 = ' Delphi XE7' ; // name of Delphi XE7 compiler
165+ sDelphiXE8 = ' Delphi XE8' ; // name of Delphi XE8 compiler
166+ sDelphi10S = ' Delphi 10 Seattle' ; // name of Delphi 10 compiler
167+ sDelphi101B = ' Delphi 10.1 Berlin' ; // name of Delphi 10.1 compiler
165168begin
166169 case GetID of
167170 ciDXE:
@@ -182,6 +185,8 @@ function TBDSCompiler.GetName: string;
182185 Result := sDelphiXE8;
183186 ciD10S:
184187 Result := sDelphi10S;
188+ ciD101B:
189+ Result := sDelphi101B;
185190 else
186191 Result := Format(sCompilerName, [ProductVersion]);
187192 end ;
@@ -211,6 +216,7 @@ function TBDSCompiler.InstallationRegKey: string;
211216 ciDXE7 : Result := ' \Software\Embarcadero\BDS\15.0' ;
212217 ciDXE8 : Result := ' \Software\Embarcadero\BDS\16.0' ;
213218 ciD10S : Result := ' \Software\Embarcadero\BDS\17.0' ;
219+ ciD101B : Result := ' \Software\Embarcadero\BDS\18.0' ;
214220 else raise EBug.Create(ClassName + ' .InstallationRegKey: Invalid ID' );
215221 end ;
216222end ;
0 commit comments