Changeset 16 for trunk/StudioModules
- Timestamp:
- Aug 6, 2012, 3:16:26 PM (12 years ago)
- Location:
- trunk/StudioModules
- Files:
-
- 8 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/StudioModules/LDModuleBrainfuck/LDModuleBrainfuck.lpk
r7 r16 8 8 <PathDelim Value="\"/> 9 9 <SearchPaths> 10 <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS) \"/>10 <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/> 11 11 </SearchPaths> 12 12 <Other> … … 28 28 </Files> 29 29 <Type Value="RunAndDesignTime"/> 30 <RequiredPkgs Count=" 2">30 <RequiredPkgs Count="3"> 31 31 <Item1> 32 <PackageName Value="LD StudioCommon"/>32 <PackageName Value="LDModuleBasic"/> 33 33 </Item1> 34 34 <Item2> 35 <PackageName Value="LDStudioCommon"/> 36 </Item2> 37 <Item3> 35 38 <PackageName Value="FCL"/> 36 </Item 2>39 </Item3> 37 40 </RequiredPkgs> 38 41 <UsageOptions> -
trunk/StudioModules/LDModuleBrainfuck/UBrainfuckCode.pas
r15 r16 27 27 end; 28 28 29 29 30 implementation 31 32 uses 33 ULDModuleBasic; 30 34 31 35 { TSourceBrainFuck } -
trunk/StudioModules/LDModuleBrainfuck/ULDModuleBrainfuck.pas
r11 r16 39 39 Version := '0.1'; 40 40 License := 'GNU/LGPLv3'; 41 Dependencies.Add('Basic'); 41 42 end; 42 43 -
trunk/StudioModules/LDModulePascal/ULDModulePascal.pas
r15 r16 37 37 end; 38 38 39 { TPascalSourceType } 40 41 TPascalSourceType = class(TSourceType) 42 constructor Create; override; 43 end; 44 39 45 { TLDModulePascal } 40 46 41 47 TLDModulePascal = class(TModule) 42 48 private 43 PasFileType: T SourceType;49 PasFileType: TPascalSourceType; 44 50 ProjectTemplateConsoleApp: TProjectTemplateConsoleApp; 45 51 ProjectTemplateGUIApp: TProjectTemplateGUIApp; … … 55 61 56 62 uses 57 ULDStudioAPI ;63 ULDStudioAPI, ULDModuleBasic; 58 64 59 65 resourcestring 60 66 SPascal = 'Pascal'; 67 68 { TPascalSourceType } 69 70 constructor TPascalSourceType.Create; 71 begin 72 inherited Create; 73 Extension := '.pas'; 74 Title := 'Pascal source'; 75 end; 61 76 62 77 { TLDModulePascal } … … 74 89 begin 75 90 with TLDStudioAPI(API) do begin 76 PasFileType := TSourceType.Create; 77 PasFileType.Extension := '.pas'; 78 PasFileType.Title := 'Pascal source'; 91 PasFileType := TPascalSourceType.Create; 79 92 RegisterFileType(PasFileType); 80 93 ProjectTemplateConsoleApp := TProjectTemplateConsoleApp.Create; … … 125 138 Result := TSourceText.Create; 126 139 Result.Name := 'Unit1.pas'; 127 with TSourceText(Result) .Content do begin140 with TSourceText(Result), Content do begin 128 141 Add('unit Unit1;'); 129 142 Add(''); … … 133 146 Add(''); 134 147 Add('end.'); 148 Loaded := True; 135 149 end; 136 150 end; -
trunk/StudioModules/LDModuleProject/LDModuleProject.lpk
r15 r16 37 37 </i18n> 38 38 <Type Value="RunAndDesignTime"/> 39 <RequiredPkgs Count=" 3">39 <RequiredPkgs Count="4"> 40 40 <Item1> 41 <PackageName Value=" Common"/>41 <PackageName Value="LDModuleBasic"/> 42 42 </Item1> 43 43 <Item2> 44 <PackageName Value=" LDStudioCommon"/>44 <PackageName Value="Common"/> 45 45 </Item2> 46 46 <Item3> 47 <PackageName Value="LDStudioCommon"/> 48 </Item3> 49 <Item4> 47 50 <PackageName Value="FCL"/> 48 </Item 3>51 </Item4> 49 52 </RequiredPkgs> 50 53 <UsageOptions> -
trunk/StudioModules/LDModuleProject/ULDModuleProject.pas
r15 r16 172 172 Version := '0.1'; 173 173 License := 'GNU/LGPLv3'; 174 Dependencies.Add('Basic'); 174 175 end; 175 176
Note:
See TracChangeset
for help on using the changeset viewer.