3
3
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
4
4
* obtain one at http://mozilla.org/MPL/2.0/
5
5
*
6
- * Copyright (C) 2006-2015 , Peter Johnson (www.delphidabbler.com).
6
+ * Copyright (C) 2006-2016 , Peter Johnson (www.delphidabbler.com).
7
7
*
8
8
* $Rev$
9
9
* $Date$
@@ -145,23 +145,26 @@ function TBDSCompiler.GetIDString: string;
145
145
Result := ' DXE8' ;
146
146
ciD10S:
147
147
Result := ' D10S' ;
148
+ ciD101B:
149
+ Result := ' D101B' ;
148
150
else
149
151
raise EBug.Create(ClassName + ' .GetIDString: Invalid ID' );
150
152
end ;
151
153
end ;
152
154
153
155
function TBDSCompiler.GetName : string;
154
156
resourcestring
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
165
168
begin
166
169
case GetID of
167
170
ciDXE:
@@ -182,6 +185,8 @@ function TBDSCompiler.GetName: string;
182
185
Result := sDelphiXE8;
183
186
ciD10S:
184
187
Result := sDelphi10S;
188
+ ciD101B:
189
+ Result := sDelphi101B;
185
190
else
186
191
Result := Format(sCompilerName, [ProductVersion]);
187
192
end ;
@@ -211,6 +216,7 @@ function TBDSCompiler.InstallationRegKey: string;
211
216
ciDXE7 : Result := ' \Software\Embarcadero\BDS\15.0' ;
212
217
ciDXE8 : Result := ' \Software\Embarcadero\BDS\16.0' ;
213
218
ciD10S : Result := ' \Software\Embarcadero\BDS\17.0' ;
219
+ ciD101B : Result := ' \Software\Embarcadero\BDS\18.0' ;
214
220
else raise EBug.Create(ClassName + ' .InstallationRegKey: Invalid ID' );
215
221
end ;
216
222
end ;
0 commit comments