Ignore:
Timestamp:
Jun 26, 2012, 7:41:11 AM (12 years ago)
Author:
chronos
Message:
  • Modified: Project instance is now freed in closed state.
  • Added: Toolbar button Open now provide dropdown list of recent opened projects.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IDE/UProjectTemplates.pas

    r51 r54  
    1414  TProjectTemplateConsoleApp = class(TProjectTemplate)
    1515    constructor Create; override;
    16     procedure InitProject(Project: TProject); override;
     16    procedure InitProject(var Project: TProject); override;
    1717  end;
    1818
     
    2121  TProjectTemplateGUIApp = class(TProjectTemplate)
    2222    constructor Create; override;
    23     procedure InitProject(Project: TProject); override;
     23    procedure InitProject(var Project: TProject); override;
    2424  end;
    2525
     
    2828  TProjectTemplatePackage = class(TProjectTemplate)
    2929    constructor Create; override;
    30     procedure InitProject(Project: TProject); override;
     30    procedure InitProject(var Project: TProject); override;
    3131  end;
    3232
     
    3535  TProjectTemplateUnit = class(TProjectTemplate)
    3636    constructor Create; override;
    37     procedure InitProject(Project: TProject); override;
     37    procedure InitProject(var Project: TProject); override;
    3838  end;
    3939
     
    4949end;
    5050
    51 procedure TProjectTemplateUnit.InitProject(Project: TProject);
     51procedure TProjectTemplateUnit.InitProject(var Project: TProject);
    5252var
    5353  NewFile: TProjectFile;
     
    7575end;
    7676
    77 procedure TProjectTemplatePackage.InitProject(Project: TProject);
     77procedure TProjectTemplatePackage.InitProject(var Project: TProject);
    7878var
    7979  NewFile: TProjectFile;
     
    100100end;
    101101
    102 procedure TProjectTemplateGUIApp.InitProject(Project: TProject);
     102procedure TProjectTemplateGUIApp.InitProject(var Project: TProject);
    103103var
    104104  NewFile: TProjectFile;
     
    131131end;
    132132
    133 procedure TProjectTemplateConsoleApp.InitProject(Project: TProject);
     133procedure TProjectTemplateConsoleApp.InitProject(var Project: TProject);
    134134var
    135135  NewFile: TProjectFile;
Note: See TracChangeset for help on using the changeset viewer.