Changeset 132 for trunk/Packages/ModularSystem/UModularSystem.pas
- Timestamp:
- Mar 18, 2022, 3:47:27 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/ModularSystem/UModularSystem.pas
r105 r132 6 6 7 7 uses 8 Classes, SysUtils, Contnrs, URegistry;8 Classes, SysUtils, fgl, URegistry; 9 9 10 10 type … … 12 12 13 13 TAPI = class(TComponent) 14 15 14 end; 16 15 … … 66 65 end; 67 66 67 TModules = class(TFPGObjectList<TModule>) 68 end; 69 68 70 TModuleEvent = procedure (Sender: TObject; Module: TModule) of object; 69 71 … … 76 78 procedure SetAPI(AValue: TAPI); 77 79 public 78 Modules: T ObjectList; // TObjectList<TModule>80 Modules: TModules; 79 81 function FindModuleByName(Name: string): TModule; 80 82 function ModuleRunning(Name: string): Boolean; … … 310 312 begin 311 313 inherited; 312 Modules := T ObjectList.Create;314 Modules := TModules.Create; 313 315 //Modules.OwnsObjects := False; 314 316 end;
Note:
See TracChangeset
for help on using the changeset viewer.