Changeset 561 for PersistentData/UPersistentData.pas
- Timestamp:
- Sep 10, 2022, 6:26:39 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
PersistentData/UPersistentData.pas
r361 r561 1 1 unit UPersistentData; 2 3 {$mode delphi}{$H+}4 2 5 3 interface 6 4 7 5 uses 8 Classes, SysUtils, UPDClient, SpecializedList;6 Classes, SysUtils, UPDClient, Generics.Collections; 9 7 10 8 type … … 14 12 end; 15 13 14 TPDManagerItems = class(TObjectList<TPDManagerItem>) 15 end; 16 16 17 { TPDManager } 17 18 18 19 TPDManager = class(TComponent) 19 Items: TListObject; 20 public 21 Items: TPDManagerItems; 20 22 procedure Register(ClientClass: TPDClientClass); 21 23 procedure LoadToStrings(Strings: TStrings); … … 77 79 begin 78 80 inherited; 79 Items := T ListObject.Create;81 Items := TPDManagerItems.Create; 80 82 end; 81 83 … … 83 85 begin 84 86 FreeAndNil(Items); 85 inherited Destroy;87 inherited; 86 88 end; 87 89
Note:
See TracChangeset
for help on using the changeset viewer.