Changeset 55 for trunk/IDE/UCore.pas
- Timestamp:
- Jul 13, 2012, 1:49:52 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IDE/UCore.pas
r54 r55 6 6 7 7 uses 8 Classes, SysUtils, FileUtil, ULastOpenedList, UProject, U Compiler, Registry,9 U Registry, UDebugLog, UCoolTranslator, UTarget;8 Classes, SysUtils, FileUtil, ULastOpenedList, UProject, UApplicationInfo, 9 UCompiler, Registry, URegistry, UDebugLog, UCoolTranslator, UTarget; 10 10 11 11 type … … 20 20 21 21 TCore = class(TDataModule) 22 ApplicationInfo: TApplicationInfo; 22 23 CoolTranslator1: TCoolTranslator; 23 24 DebugLog1: TDebugLog; … … 125 126 Free; 126 127 end; 127 LastOpenedFiles.LoadFromRegistry(R egistryRootKey, Key + '\LastOpenedFiles');128 Compiler.LoadFromRegistry(R egistryRootKey, Key + '\Compiler');128 LastOpenedFiles.LoadFromRegistry(Root, Key + '\LastOpenedFiles'); 129 Compiler.LoadFromRegistry(Root, Key + '\Compiler'); 129 130 FormMain.LoadFromRegistry(Root, Key); 130 131 end; … … 147 148 Free; 148 149 end; 149 LastOpenedFiles.SaveToRegistry(R egistryRootKey, Key + '\LastOpenedFiles');150 Compiler.SaveToRegistry(R egistryRootKey, Key + '\Compiler');150 LastOpenedFiles.SaveToRegistry(Root, Key + '\LastOpenedFiles'); 151 Compiler.SaveToRegistry(Root, Key + '\Compiler'); 151 152 FormMain.SaveToRegistry(Root, Key); 152 153 end;
Note:
See TracChangeset
for help on using the changeset viewer.