|
@@ -76,7 +76,7 @@ type
|
|
procedure OpenKey(const aPath: DOMString);
|
|
procedure OpenKey(const aPath: DOMString);
|
|
procedure CloseKey;
|
|
procedure CloseKey;
|
|
procedure ResetKey;
|
|
procedure ResetKey;
|
|
- procedure SaveAs(AFileName: string);
|
|
|
|
|
|
+ procedure SaveToFile(AFileName: string);
|
|
|
|
|
|
function GetValue(const APath: DOMString; const ADefault: DOMString): DOMString; overload;
|
|
function GetValue(const APath: DOMString; const ADefault: DOMString): DOMString; overload;
|
|
function GetValue(const APath: DOMString; ADefault: Integer): Integer; overload;
|
|
function GetValue(const APath: DOMString; ADefault: Integer): Integer; overload;
|
|
@@ -131,11 +131,11 @@ procedure TXMLConfig.Flush;
|
|
begin
|
|
begin
|
|
if Modified and not FReadOnly then
|
|
if Modified and not FReadOnly then
|
|
begin
|
|
begin
|
|
- SaveAs(FFilename)
|
|
|
|
|
|
+ SaveToFile(FFilename)
|
|
end;
|
|
end;
|
|
end;
|
|
end;
|
|
|
|
|
|
-procedure TXMLConfig.SaveAs(AFileName: string);
|
|
|
|
|
|
+procedure TXMLConfig.SaveToFile(AFileName: string);
|
|
begin
|
|
begin
|
|
if AFileName <> '' then
|
|
if AFileName <> '' then
|
|
begin
|
|
begin
|