Changeset 132 for trunk/Packages/ModularSystem
- Timestamp:
- Mar 18, 2022, 3:47:27 PM (3 years ago)
- Location:
- trunk/Packages/ModularSystem
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/ModularSystem/ModularSystem.lpk
r105 r132 1 <?xml version="1.0" ?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <CONFIG> 3 <Package Version=" 4">3 <Package Version="5"> 4 4 <PathDelim Value="\"/> 5 5 <Name Value="ModularSystem"/> 6 <Type Value="RunAndDesignTime"/> 6 7 <Author Value="Chronos (robie@centrum.cz)"/> 7 8 <CompilerOptions> … … 9 10 <PathDelim Value="\"/> 10 11 <SearchPaths> 11 <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS) "/>12 <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)-$(BuildMode)"/> 12 13 </SearchPaths> 14 <Parsing> 15 <SyntaxOptions> 16 <CStyleOperator Value="False"/> 17 <AllowLabel Value="False"/> 18 <CPPInline Value="False"/> 19 </SyntaxOptions> 20 </Parsing> 21 <CodeGeneration> 22 <Optimizations> 23 <OptimizationLevel Value="0"/> 24 </Optimizations> 25 </CodeGeneration> 26 <Linking> 27 <Debugging> 28 <GenerateDebugInfo Value="False"/> 29 </Debugging> 30 </Linking> 13 31 <Other> 14 32 <CompilerMessages> 15 < MsgFileName Value=""/>33 <IgnoredMessages idx6058="True" idx3124="True" idx3123="True"/> 16 34 </CompilerMessages> 17 <CompilerPath Value="$(CompPath)"/>18 35 </Other> 19 36 </CompilerOptions> … … 28 45 </Item1> 29 46 </Files> 47 <CompatibilityMode Value="True"/> 30 48 <i18n> 31 49 <EnableI18N Value="True"/> … … 33 51 <EnableI18NForLFM Value="True"/> 34 52 </i18n> 35 <Type Value="RunAndDesignTime"/>36 53 <RequiredPkgs Count="2"> 37 54 <Item1> -
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.