source: PersistentData/Backend/UPDClientRegistry.pas

Last change on this file was 561, checked in by chronos, 22 months ago
  • Modified: Code cleanup.
  • Modified: Use Generics.Collections.
File size: 1.0 KB
Line 
1unit UPDClientRegistry;
2
3interface
4
5uses
6 Classes, SysUtils, UPDClient, Registry;
7
8type
9
10 { TPDClientRegistry }
11
12 TPDClientRegistry = class(TPDClient)
13 public
14 Reg: TRegistry;
15 //procedure GetItemList(Condition: TCondition; ItemList: TItemList); override;
16 //procedure SetItemList(Condition: TCondition; ItemList: TItemList); override;
17 constructor Create(AOwner: TComponent); override;
18 destructor Destroy; override;
19 end;
20
21
22implementation
23
24{ TPDClientRegistry }
25
26(*procedure TPDClientRegistry.GetItemList(Condition: TCondition;
27 ItemList: TItemList);
28begin
29 inherited GetItemList(Condition, ItemList);
30end;
31
32procedure TPDClientRegistry.SetItemList(Condition: TCondition;
33 ItemList: TItemList);
34begin
35 inherited SetItemList(Condition, ItemList);
36end;*)
37
38constructor TPDClientRegistry.Create(AOwner: TComponent);
39begin
40 inherited;
41 Reg := TRegistry.Create;
42 BackendName := 'Windows registry';
43end;
44
45destructor TPDClientRegistry.Destroy;
46begin
47 Reg.Free;
48 inherited;
49end;
50
51end.
52
Note: See TracBrowser for help on using the repository browser.