Changeset 61 for trunk/UCore.pas
- Timestamp:
- Dec 4, 2014, 11:26:54 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UCore.pas
r60 r61 6 6 7 7 uses 8 Classes, SysUtils, FileUtil, UApplicationInfo, ULastOpenedList, 8 Classes, SysUtils, FileUtil, UApplicationInfo, ULastOpenedList, UProject, 9 9 UCoolTranslator, UTarget, URegistry, Registry, XMLConf, Graphics, UScaleDPI; 10 10 … … 22 22 public 23 23 ScaleDPI: TScaleDPI; 24 Modified: Boolean; 25 ProjectFileName: string; 24 Project: TProject; 26 25 Targets: TTargetList; 27 26 OpenProjectOnStart: Boolean; … … 46 45 procedure TCore.DataModuleCreate(Sender: TObject); 47 46 begin 48 ScaleDPI := TScaleDPI.Create; 47 Project := TProject.Create; 48 ScaleDPI := TScaleDPI.Create(nil); 49 49 Targets := TTargetList.Create; 50 50 Targets.Add(TTargetInterpretter.Create); … … 61 61 SaveToRegistry(HKEY(ApplicationInfo.RegistryRoot), ApplicationInfo.RegistryKey); 62 62 Targets.Free; 63 Project.Free; 63 64 ScaleDPI.Free; 64 65 end;
Note:
See TracChangeset
for help on using the changeset viewer.