Changeset 123 for trunk/Packages/Common
- Timestamp:
- Jul 24, 2020, 11:06:31 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/Common/URegistry.pas
r122 r123 18 18 Key: string; 19 19 class operator Equal(A, B: TRegistryContext): Boolean; 20 function Create(RootKey: TRegistryRoot; Key: string): TRegistryContext; overload;21 function Create(RootKey: HKEY; Key: string): TRegistryContext; overload;20 class function Create(RootKey: TRegistryRoot; Key: string): TRegistryContext; static; overload; 21 class function Create(RootKey: HKEY; Key: string): TRegistryContext; static; overload; 22 22 end; 23 23 … … 55 55 end; 56 56 57 function TRegistryContext.Create(RootKey: TRegistryRoot; Key: string): TRegistryContext;57 class function TRegistryContext.Create(RootKey: TRegistryRoot; Key: string): TRegistryContext; 58 58 begin 59 59 Result.RootKey := RegistryRootHKEY[RootKey]; … … 61 61 end; 62 62 63 function TRegistryContext.Create(RootKey: HKEY; Key: string): TRegistryContext;63 class function TRegistryContext.Create(RootKey: HKEY; Key: string): TRegistryContext; 64 64 begin 65 65 Result.RootKey := RootKey;
Note:
See TracChangeset
for help on using the changeset viewer.