Changeset 33
- Timestamp:
- Dec 10, 2016, 9:34:28 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 8 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/CoolDisk.lpi
r31 r33 12 12 </General> 13 13 <i18n> 14 <EnableI18N LFM="False"/> 14 <EnableI18N Value="True"/> 15 <OutDir Value="Languages"/> 15 16 </i18n> 16 17 <VersionInfo> … … 27 28 <SearchPaths> 28 29 <IncludeFiles Value="$(ProjOutDir)"/> 29 <OtherUnitFiles Value="Form "/>30 <OtherUnitFiles Value="Forms"/> 30 31 <UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)"/> 31 32 </SearchPaths> … … 66 67 </local> 67 68 </RunParams> 68 <RequiredPackages Count=" 5">69 <RequiredPackages Count="6"> 69 70 <Item1> 70 <PackageName Value=" FCL"/>71 <PackageName Value="CoolTranslator"/> 71 72 </Item1> 72 73 <Item2> 74 <PackageName Value="FCL"/> 75 </Item2> 76 <Item3> 73 77 <PackageName Value="TemplateGenerics"/> 74 78 <DefaultFilename Value="Packages/TemplateGenerics/TemplateGenerics.lpk" Prefer="True"/> 75 </Item 2>76 <Item 3>79 </Item3> 80 <Item4> 77 81 <PackageName Value="Common"/> 78 82 <DefaultFilename Value="Packages/Common/Common.lpk" Prefer="True"/> 79 </Item3>80 <Item4>81 <PackageName Value="tachartlazaruspkg"/>82 83 </Item4> 83 84 <Item5> 85 <PackageName Value="tachartlazaruspkg"/> 86 </Item5> 87 <Item6> 84 88 <PackageName Value="LCL"/> 85 </Item 5>89 </Item6> 86 90 </RequiredPackages> 87 <Units Count="1 2">91 <Units Count="13"> 88 92 <Unit0> 89 93 <Filename Value="CoolDisk.lpr"/> … … 91 95 </Unit0> 92 96 <Unit1> 93 <Filename Value="Form/UFormBenchmark.pas"/> 94 <IsPartOfProject Value="True"/> 95 <ComponentName Value="FormBenchmark"/> 96 <HasResources Value="True"/> 97 <ResourceBaseClass Value="Form"/> 97 <Filename Value="UProject.pas"/> 98 <IsPartOfProject Value="True"/> 98 99 </Unit1> 99 100 <Unit2> 100 <Filename Value="U Project.pas"/>101 <Filename Value="UConfig.pas"/> 101 102 <IsPartOfProject Value="True"/> 102 103 </Unit2> 103 104 <Unit3> 104 <Filename Value="U Config.pas"/>105 <Filename Value="UBlockMap.pas"/> 105 106 <IsPartOfProject Value="True"/> 106 107 </Unit3> 107 108 <Unit4> 108 <Filename Value="U BlockMap.pas"/>109 <Filename Value="UDriveScan.pas"/> 109 110 <IsPartOfProject Value="True"/> 110 111 </Unit4> 111 112 <Unit5> 112 <Filename Value="U DriveScan.pas"/>113 <Filename Value="UPhysDrive.pas"/> 113 114 <IsPartOfProject Value="True"/> 114 115 </Unit5> 115 116 <Unit6> 116 <Filename Value=" Form/UFormOperation.pas"/>117 <IsPartOfProject Value="True"/> 118 <ComponentName Value=" FormOperation"/>119 <HasResources Value="True"/> 120 <ResourceBaseClass Value=" Form"/>117 <Filename Value="UCore.pas"/> 118 <IsPartOfProject Value="True"/> 119 <ComponentName Value="Core"/> 120 <HasResources Value="True"/> 121 <ResourceBaseClass Value="DataModule"/> 121 122 </Unit6> 122 123 <Unit7> 123 <Filename Value="Form/UFormMain.pas"/> 124 <IsPartOfProject Value="True"/> 125 <ComponentName Value="FormMain"/> 126 <HasResources Value="True"/> 127 <ResourceBaseClass Value="Form"/> 124 <Filename Value="UFileStreamEx.pas"/> 125 <IsPartOfProject Value="True"/> 128 126 </Unit7> 129 127 <Unit8> 130 <Filename Value="Form /UFormProject.pas"/>131 <IsPartOfProject Value="True"/> 132 <ComponentName Value="Form Project"/>128 <Filename Value="Forms/UFormAbout.pas"/> 129 <IsPartOfProject Value="True"/> 130 <ComponentName Value="FormAbout"/> 133 131 <HasResources Value="True"/> 134 132 <ResourceBaseClass Value="Form"/> 135 133 </Unit8> 136 134 <Unit9> 137 <Filename Value="UPhysDrive.pas"/> 138 <IsPartOfProject Value="True"/> 135 <Filename Value="Forms/UFormBenchmark.pas"/> 136 <IsPartOfProject Value="True"/> 137 <HasResources Value="True"/> 139 138 </Unit9> 140 139 <Unit10> 141 <Filename Value=" UCore.pas"/>142 <IsPartOfProject Value="True"/> 143 <ComponentName Value=" Core"/>144 <HasResources Value="True"/> 145 <ResourceBaseClass Value=" DataModule"/>140 <Filename Value="Forms/UFormMain.pas"/> 141 <IsPartOfProject Value="True"/> 142 <ComponentName Value="FormMain"/> 143 <HasResources Value="True"/> 144 <ResourceBaseClass Value="Form"/> 146 145 </Unit10> 147 146 <Unit11> 148 <Filename Value="UFileStreamEx.pas"/> 149 <IsPartOfProject Value="True"/> 147 <Filename Value="Forms/UFormOperation.pas"/> 148 <IsPartOfProject Value="True"/> 149 <HasResources Value="True"/> 150 150 </Unit11> 151 <Unit12> 152 <Filename Value="Forms/UFormProject.pas"/> 153 <IsPartOfProject Value="True"/> 154 <HasResources Value="True"/> 155 </Unit12> 151 156 </Units> 152 157 </ProjectOptions> … … 158 163 <SearchPaths> 159 164 <IncludeFiles Value="$(ProjOutDir)"/> 160 <OtherUnitFiles Value="Form "/>165 <OtherUnitFiles Value="Forms"/> 161 166 <UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)"/> 162 167 </SearchPaths> -
trunk/CoolDisk.lpr
r32 r33 8 8 {$ENDIF} 9 9 Interfaces, // this includes the LCL widgetset 10 Forms, tachartlazaruspkg, U FormBenchmark, UProject,11 UConfig, UBlockMap, UDriveScan, Common, TemplateGenerics, UFormOperation,12 U FormProject, UFormMain, UPhysDrive, UCore, UFileStreamEx;10 Forms, tachartlazaruspkg, UProject, 11 UConfig, UBlockMap, UDriveScan, Common, TemplateGenerics, 12 UPhysDrive, UCore, UFileStreamEx, CoolTranslator, UFormMain; 13 13 14 14 {$R *.res} … … 19 19 Application.CreateForm(TCore, Core); 20 20 Application.CreateForm(TFormMain, FormMain); 21 Application.CreateForm(TFormBenchmark, FormBenchmark);22 Application.CreateForm(TFormOperation, FormOperation);23 Application.CreateForm(TFormProject, FormProject);24 21 Application.Run; 25 22 end. -
trunk/Forms/UFormMain.lfm
r31 r33 13 13 OnDestroy = FormDestroy 14 14 OnShow = FormShow 15 LCLVersion = '1. 7'15 LCLVersion = '1.6.0.4' 16 16 object ToolBar1: TToolBar 17 17 Left = 0 … … 478 478 OnExecute = AOperationAddExecute 479 479 end 480 object AShowAbout: TAction 481 Caption = 'About' 482 OnExecute = AShowAboutExecute 483 end 480 484 end 481 485 object OpenDialog1: TOpenDialog … … 545 549 end 546 550 end 551 object MenuItem20: TMenuItem 552 Caption = 'Help' 553 object MenuItem21: TMenuItem 554 Action = AShowAbout 555 end 556 end 547 557 end 548 558 object LastOpenedList1: TLastOpenedList -
trunk/Forms/UFormMain.pas
r31 r33 15 15 16 16 TFormMain = class(TForm) 17 AShowAbout: TAction; 17 18 AOperationAdd: TAction; 18 19 AOperationRemove: TAction; … … 77 78 MenuItem18: TMenuItem; 78 79 MenuItem19: TMenuItem; 80 MenuItem20: TMenuItem; 81 MenuItem21: TMenuItem; 79 82 MenuItemOpenRecent: TMenuItem; 80 83 MenuItem2: TMenuItem; … … 115 118 procedure AScanStartExecute(Sender: TObject); 116 119 procedure AScanStopExecute(Sender: TObject); 120 procedure AShowAboutExecute(Sender: TObject); 117 121 procedure AViewToolbarExecute(Sender: TObject); 118 122 procedure ComboBoxDriveChange(Sender: TObject); … … 152 156 FormMain: TFormMain; 153 157 158 154 159 implementation 155 160 … … 157 162 158 163 uses 159 UCore, UFormProject, UFormOperation ;164 UCore, UFormProject, UFormOperation, UFormAbout; 160 165 161 166 resourcestring … … 225 230 Core.Project.CurrentScan.Stop; 226 231 UpdateInterface; 232 end; 233 end; 234 235 procedure TFormMain.AShowAboutExecute(Sender: TObject); 236 var 237 FormAbout: TFormAbout; 238 begin 239 FormAbout := TFormAbout.Create(nil); 240 try 241 FormAbout.ApplicationInfo := Core.ApplicationInfo1; 242 FormAbout.ShowModal; 243 finally 244 FreeAndNil(FormAbout); 227 245 end; 228 246 end; -
trunk/Packages/Common/Common.pas
r4 r33 5 5 unit Common; 6 6 7 {$warn 5023 off : no warning about unused units}8 7 interface 9 8 -
trunk/Packages/TemplateGenerics/TemplateGenerics.pas
r4 r33 5 5 unit TemplateGenerics; 6 6 7 {$warn 5023 off : no warning about unused units}8 7 interface 9 8 -
trunk/UCore.lfm
r31 r33 24 24 top = 136 25 25 end 26 object CoolTranslator1: TCoolTranslator 27 POFilesFolder = 'Languages' 28 left = 88 29 top = 128 30 end 31 object ApplicationInfo1: TApplicationInfo 32 Identification = 1 33 VersionMajor = 1 34 VersionMinor = 0 35 VersionBugFix = 0 36 VersionSuffix = 'alfa' 37 CompanyName = 'Chronosoft' 38 HomePage = 'http://svn.zdechov.net/svn/CoolDisk' 39 AuthorsName = 'Chronos' 40 EmailContact = 'robie@centrum.cz' 41 AppName = 'CoolDisk' 42 ReleaseDate = 42714 43 RegistryKey = '\Software\Chronosoft\CoolDisk' 44 RegistryRoot = rrKeyCurrentUser 45 License = 'CC0' 46 left = 88 47 top = 56 48 end 26 49 end -
trunk/UCore.pas
r31 r33 7 7 uses 8 8 Classes, SysUtils, XMLConf, FileUtil, Controls, UProject, UPhysDrive, 9 U PersistentForm;9 UCoolTranslator, UPersistentForm, UApplicationInfo; 10 10 11 11 type … … 14 14 15 15 TCore = class(TDataModule) 16 ApplicationInfo1: TApplicationInfo; 17 CoolTranslator1: TCoolTranslator; 16 18 ImageList1: TImageList; 17 19 PersistentForm1: TPersistentForm;
Note:
See TracChangeset
for help on using the changeset viewer.