Ignore:
Timestamp:
Aug 3, 2012, 3:06:51 PM (12 years ago)
Author:
chronos
Message:
  • Modified: Project management as separated module.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/StudioPackage/UDataModule.pas

    r10 r11  
    66
    77uses
    8   Classes, SysUtils, FileUtil, UProject, Forms, SpecializedList, USource,
     8  Classes, SysUtils, FileUtil, Forms, SpecializedList, USource,
    99  UModularSystem, ULDStudioAPI;
    1010
     
    4747  public
    4848    ModuleManager: TModuleManager;
    49     Project: TProject;
    5049    FileTypes: TFileTypes;
    5150    OpenedFiles: TOpenedFiles;
     
    6160
    6261uses
    63   UFormSourceCode, UFormMain, UFormProject, UFormSettings, UFormModuleList;
     62  UFormSourceCode, UFormMain, UFormSettings, UFormModuleList;
    6463
    6564procedure TOpenedFile.SetFileName(AValue: string);
     
    111110  Application.UpdateMainForm(FormMain);
    112111  OpenedFiles.OnOpenFile := FormMain.OpenFileExecute;
    113   FormProject := TFormProject.Create(nil);
    114112  FormSourceCode := TFormSourceCode.Create(nil);
    115113  FormSettings := TFormSettings.Create(nil);
     
    127125  FreeAndNil(API);
    128126  FreeAndNil(FormMain);
    129   FreeAndNil(FormProject);
    130127  FreeAndNil(FormSourceCode);
    131128  FreeAndNil(FormSettings);
Note: See TracChangeset for help on using the changeset viewer.