Skip to content

Commit

Permalink
Fixed some warnngs in demo projects
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimmarder committed Jan 11, 2024
1 parent 151569e commit fa05c1e
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 16 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ __recovery
*.rc
*.res
*.local
*.dsv

# Output Folders #
###################
Expand Down
2 changes: 1 addition & 1 deletion Demos/Interfaces/myevents.pas
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

interface

uses Vcl.ImgList, VirtualTrees, System.Classes, Vcl.Controls, VirtualTrees.Types;
uses Vcl.ImgList, VirtualTrees, System.Classes, System.UITypes, Vcl.Controls, VirtualTrees.Types;

type
IEventPresenter = interface
Expand Down
2 changes: 1 addition & 1 deletion Demos/Objects/MVCTypes.pas
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ TMVCTree=class
the functionality that is moved to our code, should you be happy
with any of the predeclared descendants use of them. }
TMVCEditLink=class;
TMVCTreeView=class(TBaseVirtualTree)
TMVCTreeView=class(TVTAncestor)
private
{ This is a pointer to the structure associated with
this viewer. }
Expand Down
76 changes: 62 additions & 14 deletions VirtualTreesDevelopment.groupproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,24 @@
</PropertyGroup>
<ItemGroup>
<Projects Include="Demos\Advanced\Advanced.dproj">
<Dependencies>Packages\RAD Studio 10.4+\VirtualTreesD.dproj</Dependencies>
<Dependencies/>
</Projects>
<Projects Include="Packages\RAD Studio 10.4+\VirtualTreesR.dproj">
<Dependencies/>
</Projects>
<Projects Include="Packages\RAD Studio 10.4+\VirtualTreesD.dproj">
<Dependencies>Packages\RAD Studio 10.4+\VirtualTreesR.dproj</Dependencies>
</Projects>
<Projects Include="Packages\RAD Studio 10.4+\VirtualTreesR.dproj">
<Projects Include="Demos\Interfaces\charityevents.dproj">
<Dependencies/>
</Projects>
<Projects Include="Demos\Minimal\Minimal.dproj">
<Dependencies/>
</Projects>
<Projects Include="Demos\Objects\MVCDemo.dproj">
<Dependencies/>
</Projects>
<Projects Include="Demos\OLE\OLE.dproj">
<Dependencies/>
</Projects>
</ItemGroup>
Expand All @@ -20,15 +32,24 @@
<Default.Personality/>
</BorlandProject>
</ProjectExtensions>
<Target Name="Advanced" DependsOnTargets="VirtualTreesD">
<Target Name="Advanced">
<MSBuild Projects="Demos\Advanced\Advanced.dproj"/>
</Target>
<Target Name="Advanced:Clean" DependsOnTargets="VirtualTreesD:Clean">
<Target Name="Advanced:Clean">
<MSBuild Projects="Demos\Advanced\Advanced.dproj" Targets="Clean"/>
</Target>
<Target Name="Advanced:Make" DependsOnTargets="VirtualTreesD:Make">
<Target Name="Advanced:Make">
<MSBuild Projects="Demos\Advanced\Advanced.dproj" Targets="Make"/>
</Target>
<Target Name="VirtualTreesR">
<MSBuild Projects="Packages\RAD Studio 10.4+\VirtualTreesR.dproj"/>
</Target>
<Target Name="VirtualTreesR:Clean">
<MSBuild Projects="Packages\RAD Studio 10.4+\VirtualTreesR.dproj" Targets="Clean"/>
</Target>
<Target Name="VirtualTreesR:Make">
<MSBuild Projects="Packages\RAD Studio 10.4+\VirtualTreesR.dproj" Targets="Make"/>
</Target>
<Target Name="VirtualTreesD" DependsOnTargets="VirtualTreesR">
<MSBuild Projects="Packages\RAD Studio 10.4+\VirtualTreesD.dproj"/>
</Target>
Expand All @@ -38,23 +59,50 @@
<Target Name="VirtualTreesD:Make" DependsOnTargets="VirtualTreesR:Make">
<MSBuild Projects="Packages\RAD Studio 10.4+\VirtualTreesD.dproj" Targets="Make"/>
</Target>
<Target Name="VirtualTreesR">
<MSBuild Projects="Packages\RAD Studio 10.4+\VirtualTreesR.dproj"/>
<Target Name="charityevents">
<MSBuild Projects="Demos\Interfaces\charityevents.dproj"/>
</Target>
<Target Name="VirtualTreesR:Clean">
<MSBuild Projects="Packages\RAD Studio 10.4+\VirtualTreesR.dproj" Targets="Clean"/>
<Target Name="charityevents:Clean">
<MSBuild Projects="Demos\Interfaces\charityevents.dproj" Targets="Clean"/>
</Target>
<Target Name="VirtualTreesR:Make">
<MSBuild Projects="Packages\RAD Studio 10.4+\VirtualTreesR.dproj" Targets="Make"/>
<Target Name="charityevents:Make">
<MSBuild Projects="Demos\Interfaces\charityevents.dproj" Targets="Make"/>
</Target>
<Target Name="Minimal">
<MSBuild Projects="Demos\Minimal\Minimal.dproj"/>
</Target>
<Target Name="Minimal:Clean">
<MSBuild Projects="Demos\Minimal\Minimal.dproj" Targets="Clean"/>
</Target>
<Target Name="Minimal:Make">
<MSBuild Projects="Demos\Minimal\Minimal.dproj" Targets="Make"/>
</Target>
<Target Name="MVCDemo">
<MSBuild Projects="Demos\Objects\MVCDemo.dproj"/>
</Target>
<Target Name="MVCDemo:Clean">
<MSBuild Projects="Demos\Objects\MVCDemo.dproj" Targets="Clean"/>
</Target>
<Target Name="MVCDemo:Make">
<MSBuild Projects="Demos\Objects\MVCDemo.dproj" Targets="Make"/>
</Target>
<Target Name="OLE">
<MSBuild Projects="Demos\OLE\OLE.dproj"/>
</Target>
<Target Name="OLE:Clean">
<MSBuild Projects="Demos\OLE\OLE.dproj" Targets="Clean"/>
</Target>
<Target Name="OLE:Make">
<MSBuild Projects="Demos\OLE\OLE.dproj" Targets="Make"/>
</Target>
<Target Name="Build">
<CallTarget Targets="Advanced;VirtualTreesD;VirtualTreesR"/>
<CallTarget Targets="Advanced;VirtualTreesR;VirtualTreesD;charityevents;Minimal;MVCDemo;OLE"/>
</Target>
<Target Name="Clean">
<CallTarget Targets="Advanced:Clean;VirtualTreesD:Clean;VirtualTreesR:Clean"/>
<CallTarget Targets="Advanced:Clean;VirtualTreesR:Clean;VirtualTreesD:Clean;charityevents:Clean;Minimal:Clean;MVCDemo:Clean;OLE:Clean"/>
</Target>
<Target Name="Make">
<CallTarget Targets="Advanced:Make;VirtualTreesD:Make;VirtualTreesR:Make"/>
<CallTarget Targets="Advanced:Make;VirtualTreesR:Make;VirtualTreesD:Make;charityevents:Make;Minimal:Make;MVCDemo:Make;OLE:Make"/>
</Target>
<Import Project="$(BDS)\Bin\CodeGear.Group.Targets" Condition="Exists('$(BDS)\Bin\CodeGear.Group.Targets')"/>
</Project>

0 comments on commit fa05c1e

Please sign in to comment.