Ignore:
Timestamp:
Aug 1, 2012, 6:20:01 AM (12 years ago)
Author:
chronos
Message:
  • Modified: Modules should use modularsystem API object.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IDE/Forms/UFormTargets.pas

    r60 r71  
    6262procedure TFormTargets.ListView1Data(Sender: TObject; Item: TListItem);
    6363begin
    64   if (Item.Index >= 0) and (Item.Index < Core.Compiler.Targets.Count) then
    65   with TTarget(Core.Compiler.Targets[Item.Index]) do begin
     64  if (Item.Index >= 0) and (Item.Index < Core.Compiler.API.Targets.Count) then
     65  with TTarget(Core.Compiler.API.Targets[Item.Index]) do begin
    6666    Item.Caption := Name;
    67     Item.Data := Core.Compiler.Targets[Item.Index];
     67    Item.Data := Core.Compiler.API.Targets[Item.Index];
    6868    //Item.SubItems.Add(Producer.CompilerPath);
    6969  end;
     
    7272procedure TFormTargets.ReloadList;
    7373begin
    74   ListView1.Items.Count := Core.Compiler.Targets.Count;
     74  ListView1.Items.Count := Core.Compiler.API.Targets.Count;
    7575  ListView1.Refresh;
    7676end;
Note: See TracChangeset for help on using the changeset viewer.