Ignore:
Timestamp:
Feb 28, 2012, 8:34:31 PM (13 years ago)
Author:
chronos
Message:
  • Modified: Instead of TProducer class will be used TTarget as real target definition.
  • Added: For execution of compiled code TExecutor class is introduced.
File:
1 edited

Legend:

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

    r37 r41  
    3131
    3232uses
    33   UMainForm, UCompiler, UCompilerSettingsForm, UProducer;
     33  UMainForm, UCompiler, UCompilerSettingsForm, UProducer, UTarget;
    3434
    3535resourcestring
     
    4646procedure TFormProducers.ListView1Data(Sender: TObject; Item: TListItem);
    4747begin
    48   if (Item.Index >= 0) and (Item.Index < MainForm.Compiler.Producers.Count) then
    49   with TProducer(MainForm.Compiler.Producers[Item.Index]) do begin
     48  if (Item.Index >= 0) and (Item.Index < MainForm.Compiler.Targets.Count) then
     49  with TTarget(MainForm.Compiler.Targets[Item.Index]) do begin
    5050    Item.Caption := Name;
    51     Item.Data := MainForm.Compiler.Producers[Item.Index];
    52     Item.SubItems.Add(CompilerPath);
     51    Item.Data := MainForm.Compiler.Targets[Item.Index];
     52    Item.SubItems.Add(Producer.CompilerPath);
    5353  end;
    5454end;
     
    6666procedure TFormProducers.ReloadList;
    6767begin
    68   ListView1.Items.Count := MainForm.Compiler.Producers.Count;
     68  ListView1.Items.Count := MainForm.Compiler.Targets.Count;
    6969  ListView1.Refresh;
    7070end;
Note: See TracChangeset for help on using the changeset viewer.