Changeset 105 for trunk/Modules/System/UModuleSystem.pas
- Timestamp:
- Oct 9, 2012, 1:58:45 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/System/UModuleSystem.pas
r97 r105 77 77 for I := 0 to DbRows.Count - 1 do 78 78 with DbRows[I] do begin 79 Module := Core.ModuleManager.FindModuleByName(Values['Name']);79 Module := Manager.FindModuleByName(Values['Name']); 80 80 if Assigned(Module) then 81 81 if Values['Installed'] = '1' then Module.SetInstalledState(True) … … 85 85 DbRows.Free; 86 86 end; 87 Core.ModuleManager.OnModuleChange := ModuleChange;87 Manager.OnModuleChange := ModuleChange; 88 88 inherited; 89 89 end; … … 91 91 procedure TModuleSystem.Stop; 92 92 begin 93 inherited Stop; 94 Core.ModuleManager.OnModuleChange := nil; 93 BeforeStop; 94 Manager.OnModuleChange := nil; 95 AfterStop; 95 96 end; 96 97 … … 152 153 Core.CommonDatabase.Select(DbRows, 'SystemModule', 'Name'); 153 154 154 for I := 0 to Core.ModuleManager.Modules.Count - 1 do155 with TModule( Core.ModuleManager.Modules[I]) do begin155 for I := 0 to Manager.Modules.Count - 1 do 156 with TModule(Manager.Modules[I]) do begin 156 157 Data.Clear; 157 158 Data.Add('Name', Identification);
Note:
See TracChangeset
for help on using the changeset viewer.