Changeset 7 for trunk/Studio


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.
Location:
trunk/Studio
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Studio/LibreDevelopStudio.lpi

    r5 r7  
    3333      </local>
    3434    </RunParams>
    35     <RequiredPackages Count="3">
     35    <RequiredPackages Count="4">
    3636      <Item1>
    37         <PackageName Value="LDModuleDebug"/>
     37        <PackageName Value="LDModuleBrainfuck"/>
    3838      </Item1>
    3939      <Item2>
    40         <PackageName Value="LibreDevelopStudio"/>
     40        <PackageName Value="LDModuleDebug"/>
    4141      </Item2>
    4242      <Item3>
     43        <PackageName Value="LibreDevelopStudio"/>
     44      </Item3>
     45      <Item4>
    4346        <PackageName Value="LCL"/>
    44       </Item3>
     47      </Item4>
    4548    </RequiredPackages>
    4649    <Units Count="2">
  • 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.