Changeset 8 for trunk/Studio/UCore.pas


Ignore:
Timestamp:
Aug 3, 2012, 12:14:25 PM (12 years ago)
Author:
chronos
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Studio/UCore.pas

    r7 r8  
    3131
    3232uses
    33   ULDModuleDebug, UFormMain, ULDModuleBrainfuck, UDataModule;
     33  ULDModuleDebug, UFormMain, ULDModuleBrainfuck, UDataModule, ULDModulePascal;
    3434
    3535{ TCore }
     
    3737procedure TCore.DataModuleCreate(Sender: TObject);
    3838begin
     39  DataModule1 := TDataModule1.Create(nil);
    3940  API := TLDStudioAPI.Create;
    4041  ModuleManager := TModuleManager.Create(nil);
     
    4647  FreeAndNil(ModuleManager);
    4748  FreeAndNil(API);
     49  FreeAndNil(DataModule1);
    4850end;
    4951
     
    5254  ModuleManager.RegisterModule(TLDModuleDebug.Create, True);
    5355  ModuleManager.RegisterModule(TLDModuleBrainfuck.Create, True);
     56  ModuleManager.RegisterModule(TLDModulePascal.Create, True);
    5457  ModuleManager.InstallMarked;
    5558end;
Note: See TracChangeset for help on using the changeset viewer.