Changeset 59 for trunk/Packages/Common/URegistry.pas
- Timestamp:
- Nov 16, 2012, 9:59:56 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/Common/URegistry.pas
r56 r59 17 17 rrKeyDynData = HKEY($80000006)); 18 18 19 { TRegistryContext } 20 19 21 TRegistryContext = record 20 22 RootKey: HKEY; 21 23 Key: string; 24 class operator Equal(A: TRegistryContext; B: TRegistryContext): Boolean; 22 25 end; 23 26 … … 49 52 Result.RootKey := RootKey; 50 53 Result.Key := Key; 54 end; 55 56 { TRegistryContext } 57 58 class operator TRegistryContext.Equal(A: TRegistryContext; B: TRegistryContext 59 ): Boolean; 60 begin 61 Result := (A.RootKey = B.RootKey) and (A.Key = B.Key); 51 62 end; 52 63
Note:
See TracChangeset
for help on using the changeset viewer.