Ignore:
Timestamp:
Aug 7, 2019, 12:04:53 AM (5 years ago)
Author:
chronos
Message:
  • Added: Allow to add, edit and delete registry values.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Registry/UGeneralRegistry.pas

    r538 r539  
    147147  end;
    148148
    149   {$IFDEF Windows}
    150 
    151149  { TWinRegistry }
    152150
     
    187185    destructor Destroy; override;
    188186  end;
    189   {$ENDIF}
    190187
    191188const
     
    206203end;
    207204
    208 { TBaseRegistry }
    209 
    210 {$IFDEF Windows}
    211205{ TWinRegistry }
    212206
     
    419413  inherited Destroy;
    420414end;
    421 {$ENDIF}
    422415
    423416{ TIniRegistry }
     
    686679constructor TGeneralRegistry.Create(AOwner: TComponent);
    687680begin
    688   {$IFDEF Windows}
    689681  Backend := TWinRegistry.Create;
    690682  TWinRegistry(Backend).CurrentRoot := HKEY_CURRENT_USER;
     
    693685//  TWinRegistry(Backend).CurrentKey := 'Software\' + VendorName + '\' +
    694686//    ApplicationName;
    695   {$ENDIF}
    696   {$IFDEF Linux}
    697   Backend := TXMLRegistry.Create;
    698   //TXMLRegistry(Backend).FileName := HomeDir + DirectorySeparator + ApplicationName +
    699   //  ExtensionSeparator + '.xml';
    700   {$ENDIF}
    701687  inherited Create(AOwner);
    702688end;
Note: See TracChangeset for help on using the changeset viewer.