Changeset 74 for trunk/IDE/UCore.pas
- Timestamp:
- Jan 18, 2018, 11:54:13 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IDE/UCore.pas
r73 r74 35 35 DebugLog1: TDebugLog; 36 36 LastOpenedFiles: TLastOpenedList; 37 ModuleManager1: TModuleManager; 37 38 procedure DataModuleCreate(Sender: TObject); 38 39 procedure DataModuleDestroy(Sender: TObject); … … 68 69 69 70 uses 70 UFormMain, UProjectTemplates, UIDEModulePascal, UModulePascal, UModuleGCC; 71 UFormMain, UProjectTemplates, UIDEModulePascal, UModulePascal, UModuleGCC, 72 UModuleInterpretter, UModuleDelphi, UModulePHP, UModuleJava, UModuleASM8051; 71 73 72 74 { TCore } … … 116 118 procedure TCore.DataModuleDestroy(Sender: TObject); 117 119 begin 118 ModuleManager.Free;119 ProjectTemplates.Free;120 LastOpenedFiles.Free;121 TargetProject.Free;122 Project.Free;123 Compiler.Free;120 FreeAndNil(ModuleManager); 121 FreeAndNil(ProjectTemplates); 122 FreeAndNil(LastOpenedFiles); 123 FreeAndNil(TargetProject); 124 FreeAndNil(Project); 125 FreeAndNil(Compiler); 124 126 end; 125 127 … … 213 215 RegisterModule(TModulePascal.Create(nil)); 214 216 RegisterModule(TModuleGCC.Create(nil)); 215 { RegisterModule(TModuleInterpretter.Create); 216 RegisterModule(TModuleDelphi.Create); 217 RegisterModule(TModulePHP.Create); 218 RegisterModule(TModuleJava.Create); 219 RegisterModule(TModuleASM8051.Create); 220 RegisterModule(TModuleXML.Create); 221 RegisterModule(TModuleNASM.Create);} 217 RegisterModule(TModuleInterpretter.Create(nil)); 218 RegisterModule(TModuleDelphi.Create(nil)); 219 RegisterModule(TModulePHP.Create(nil)); 220 RegisterModule(TModuleJava.Create(nil)); 221 RegisterModule(TModuleASM8051.Create(nil)); 222 //RegisterModule(TModuleXML.Create(nil)); 223 //RegisterModule(TModuleNASM.Create(nil)); 224 Modules.Perform(maEnable); 225 Modules.Perform(maStart); 222 226 end; 223 227 end;
Note:
See TracChangeset
for help on using the changeset viewer.