Changeset 7 for trunk/Studio/UCore.pas


Ignore:
Timestamp:
Aug 3, 2012, 10:42:13 AM (12 years ago)
Author:
chronos
Message:
  • Added: Registration of file types for modules.
  • Added: Some Brainfuck module sample code.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Studio/UCore.pas

    r6 r7  
    3131
    3232uses
    33   ULDModuleDebug, UFormMain;
     33  ULDModuleDebug, UFormMain, ULDModuleBrainfuck, UDataModule;
    3434
    3535{ TCore }
     
    5151begin
    5252  ModuleManager.RegisterModule(TLDModuleDebug.Create, True);
     53  ModuleManager.RegisterModule(TLDModuleBrainfuck.Create, True);
    5354  ModuleManager.InstallMarked;
    5455end;
     
    5859  TLDStudioAPI(ModuleManager.API).MainForm := FormMain;
    5960  TLDStudioAPI(ModuleManager.API).MainMenu := FormMain.MainMenu;
     61  TLDStudioAPI(ModuleManager.API).FileTypes := DataModule1.FileTypes;
    6062  RegisterModules;
    6163end;
Note: See TracChangeset for help on using the changeset viewer.