Changeset 539 for Registry/UGeneralRegistry.pas
- Timestamp:
- Aug 7, 2019, 12:04:53 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Registry/UGeneralRegistry.pas
r538 r539 147 147 end; 148 148 149 {$IFDEF Windows}150 151 149 { TWinRegistry } 152 150 … … 187 185 destructor Destroy; override; 188 186 end; 189 {$ENDIF}190 187 191 188 const … … 206 203 end; 207 204 208 { TBaseRegistry }209 210 {$IFDEF Windows}211 205 { TWinRegistry } 212 206 … … 419 413 inherited Destroy; 420 414 end; 421 {$ENDIF}422 415 423 416 { TIniRegistry } … … 686 679 constructor TGeneralRegistry.Create(AOwner: TComponent); 687 680 begin 688 {$IFDEF Windows}689 681 Backend := TWinRegistry.Create; 690 682 TWinRegistry(Backend).CurrentRoot := HKEY_CURRENT_USER; … … 693 685 // TWinRegistry(Backend).CurrentKey := 'Software\' + VendorName + '\' + 694 686 // ApplicationName; 695 {$ENDIF}696 {$IFDEF Linux}697 Backend := TXMLRegistry.Create;698 //TXMLRegistry(Backend).FileName := HomeDir + DirectorySeparator + ApplicationName +699 // ExtensionSeparator + '.xml';700 {$ENDIF}701 687 inherited Create(AOwner); 702 688 end;
Note:
See TracChangeset
for help on using the changeset viewer.