@@ -104,7 +104,7 @@ TRALClient = class(TRALComponent)
104104 FCompressType: TRALCompressType;
105105 FCritSession: TCriticalSection;
106106 FCriptoOptions: TRALCriptoOptions;
107- FEngineType : StringRAL ;
107+ FEngineType : String ;
108108 FEngine: StringRAL;
109109 FIndexUrl: IntegerRAL;
110110 FKeepAlive: boolean;
@@ -135,7 +135,7 @@ TRALClient = class(TRALComponent)
135135 procedure SetAuthentication (AValue: TRALAuthClient);
136136 procedure SetBaseURL (AValue: TStrings);
137137 procedure SetConnectTimeout (const AValue: IntegerRAL); virtual ;
138- procedure SetEngineType (AValue: StringRAL );
138+ procedure SetEngineType (AValue: String );
139139 procedure SetKeepAlive (AValue: boolean); virtual ;
140140 procedure SetRequestTimeout (AValue: IntegerRAL); virtual ;
141141 procedure SetUserAgent (AValue: StringRAL); virtual ;
@@ -180,7 +180,7 @@ TRALClient = class(TRALComponent)
180180 property CompressType: TRALCompressType read FCompressType write FCompressType;
181181 property CriptoOptions: TRALCriptoOptions read FCriptoOptions write FCriptoOptions;
182182 property Engine: StringRAL read FEngine;
183- property EngineType : StringRAL read FEngineType write SetEngineType;
183+ property EngineType : String read FEngineType write SetEngineType;
184184 property KeepAlive: boolean read FKeepAlive write SetKeepAlive;
185185 property RequestTimeout: IntegerRAL read FRequestTimeout write SetRequestTimeout default 30000 ;
186186 property UserAgent: StringRAL read FUserAgent write SetUserAgent;
@@ -212,19 +212,8 @@ procedure DoneEngineDefs;
212212end ;
213213
214214procedure RegisterEngine (AEngine: TRALClientHTTPClass);
215- // var
216- // vTxt : TextFile;
217215begin
218216 CheckEngineDefs;
219- {
220- AssignFile(vTxt, 'd:\testeral.txt');
221- if FileExists('d:\testeral.txt') then
222- Append(vTxt)
223- else
224- Rewrite(vTxt);
225- Writeln(vTxt, AEngine.ClassName);
226- CloseFile(vTxt);
227- }
228217
229218 if EnginesDefs.IndexOfName(AEngine.EngineName) < 0 then
230219 EnginesDefs.Add(AEngine.EngineName + ' =' + AEngine.ClassName);
@@ -262,7 +251,7 @@ procedure GetEngineList(AList: TStrings);
262251
263252{ TRALClient }
264253
265- procedure TRALClient.SetEngineType (AValue: StringRAL );
254+ procedure TRALClient.SetEngineType (AValue: String );
266255var
267256 vClass : TRALClientHTTPClass;
268257begin
0 commit comments