Changeset 434 for Common/URegistry.pas
- Timestamp:
- Nov 19, 2012, 2:31:00 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Common/URegistry.pas
r432 r434 26 26 TRegistryEx = class(TRegistry) 27 27 private 28 function GetC ontext: TRegistryContext;29 procedure SetC ontext(AValue: TRegistryContext);28 function GetCurrentContext: TRegistryContext; 29 procedure SetCurrentContext(AValue: TRegistryContext); 30 30 public 31 31 function ReadBoolWithDefault(const Name: string; … … 37 37 function DeleteKeyRecursive(const Key: string): Boolean; 38 38 function OpenKey(const Key: string; CanCreate: Boolean): Boolean; 39 property C ontext: TRegistryContext read GetContext write SetContext;39 property CurrentContext: TRegistryContext read GetCurrentContext write SetCurrentContext; 40 40 end; 41 41 … … 109 109 end; 110 110 111 function TRegistryEx.GetC ontext: TRegistryContext;111 function TRegistryEx.GetCurrentContext: TRegistryContext; 112 112 begin 113 113 Result.Key := CurrentPath; … … 115 115 end; 116 116 117 procedure TRegistryEx.SetC ontext(AValue: TRegistryContext);117 procedure TRegistryEx.SetCurrentContext(AValue: TRegistryContext); 118 118 begin 119 119 RootKey := AValue.RootKey;
Note:
See TracChangeset
for help on using the changeset viewer.