Skip to content

Commit dae40d0

Browse files
committed
Initial Commit: Demo source
1 parent bfc88df commit dae40d0

File tree

8 files changed

+1201
-0
lines changed

8 files changed

+1201
-0
lines changed

demo/Project1.dpr

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
program Project1;
2+
3+
{$i app_linker.inc}
4+
5+
uses
6+
Forms,
7+
8+
libssh2 in '..\libssh2.pas',
9+
libssh2_publickey in '..\libssh2_publickey.pas',
10+
libssh2_sftp in '..\libssh2_sftp.pas',
11+
uMySFTPClient in '..\comp\uMySFTPClient.pas',
12+
13+
Unit3 in 'Unit3.pas' {Form3},
14+
Unit4 in 'Unit4.pas' {FrmProgress};
15+
16+
{$R *.res}
17+
18+
begin
19+
Application.Initialize;
20+
Application.MainFormOnTaskbar := True;
21+
Application.CreateForm(TForm3, Form3);
22+
Application.Run;
23+
end.

demo/Project1.dproj

Lines changed: 182 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,182 @@
1+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<PropertyGroup>
3+
<ProjectGuid>{3F91A0AC-0F1A-438A-8950-ED5BDC4521C1}</ProjectGuid>
4+
<MainSource>Project1.dpr</MainSource>
5+
<Base>True</Base>
6+
<Config Condition="'$(Config)'==''">Debug</Config>
7+
<TargetedPlatforms>3</TargetedPlatforms>
8+
<AppType>Application</AppType>
9+
<FrameworkType>VCL</FrameworkType>
10+
<ProjectVersion>18.1</ProjectVersion>
11+
<Platform Condition="'$(Platform)'==''">Win32</Platform>
12+
</PropertyGroup>
13+
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
14+
<Base>true</Base>
15+
</PropertyGroup>
16+
<PropertyGroup Condition="('$(Platform)'=='Win32' and '$(Base)'=='true') or '$(Base_Win32)'!=''">
17+
<Base_Win32>true</Base_Win32>
18+
<CfgParent>Base</CfgParent>
19+
<Base>true</Base>
20+
</PropertyGroup>
21+
<PropertyGroup Condition="('$(Platform)'=='Win64' and '$(Base)'=='true') or '$(Base_Win64)'!=''">
22+
<Base_Win64>true</Base_Win64>
23+
<CfgParent>Base</CfgParent>
24+
<Base>true</Base>
25+
</PropertyGroup>
26+
<PropertyGroup Condition="'$(Config)'=='Release' or '$(Cfg_1)'!=''">
27+
<Cfg_1>true</Cfg_1>
28+
<CfgParent>Base</CfgParent>
29+
<Base>true</Base>
30+
</PropertyGroup>
31+
<PropertyGroup Condition="'$(Config)'=='Debug' or '$(Cfg_2)'!=''">
32+
<Cfg_2>true</Cfg_2>
33+
<CfgParent>Base</CfgParent>
34+
<Base>true</Base>
35+
</PropertyGroup>
36+
<PropertyGroup Condition="('$(Platform)'=='Win32' and '$(Cfg_2)'=='true') or '$(Cfg_2_Win32)'!=''">
37+
<Cfg_2_Win32>true</Cfg_2_Win32>
38+
<CfgParent>Cfg_2</CfgParent>
39+
<Cfg_2>true</Cfg_2>
40+
<Base>true</Base>
41+
</PropertyGroup>
42+
<PropertyGroup Condition="('$(Platform)'=='Win64' and '$(Cfg_2)'=='true') or '$(Cfg_2_Win64)'!=''">
43+
<Cfg_2_Win64>true</Cfg_2_Win64>
44+
<CfgParent>Cfg_2</CfgParent>
45+
<Cfg_2>true</Cfg_2>
46+
<Base>true</Base>
47+
</PropertyGroup>
48+
<PropertyGroup Condition="'$(Base)'!=''">
49+
<SanitizedProjectName>Project1</SanitizedProjectName>
50+
<VerInfo_Locale>1058</VerInfo_Locale>
51+
<DCC_UNIT_DEPRECATED>false</DCC_UNIT_DEPRECATED>
52+
<DCC_S>false</DCC_S>
53+
<Icon_MainIcon>Project1_Icon.ico</Icon_MainIcon>
54+
<DCC_K>false</DCC_K>
55+
<DCC_SYMBOL_DEPRECATED>false</DCC_SYMBOL_DEPRECATED>
56+
<DCC_Namespace>Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;System;Xml;Data;Datasnap;Web;Soap;Winapi;$(DCC_Namespace)</DCC_Namespace>
57+
<DCC_ImageBase>00400000</DCC_ImageBase>
58+
<DCC_UnitSearchPath>..;$(DCC_UnitSearchPath)</DCC_UnitSearchPath>
59+
<DCC_E>false</DCC_E>
60+
<DCC_DcuOutput>.\_dcu</DCC_DcuOutput>
61+
<DCC_ExeOutput>.\..\bin</DCC_ExeOutput>
62+
<DCC_F>false</DCC_F>
63+
<Manifest_File>None</Manifest_File>
64+
<DCC_GARBAGE>false</DCC_GARBAGE>
65+
<DCC_SYMBOL_PLATFORM>false</DCC_SYMBOL_PLATFORM>
66+
<DCC_N>true</DCC_N>
67+
<DCC_UNIT_PLATFORM>false</DCC_UNIT_PLATFORM>
68+
<DCC_UsePackage>vcl;rtl;vclx;vclactnband;dbrtl;vcldb;bdertl;vcldbx;dsnap;dsnapcon;teeUI;tee;teedb;vclib;ibxpress;adortl;dbxcds;dbexpress;DbxCommonDriver;IndyCore;IndySystem;IndyProtocols;VclSmp;vclie;websnap;webdsnap;xmlrtl;inet;inetdbbde;inetdbxpress;soaprtl;RBuilder;TyphoonPkg;dxELibD;dxDBEdD;dxEdtrD;cxLibraryD;dxGDIPlusD;dxCoreD;dxThemeD;dxComnD;dxDockingD;cxPageControlD;dxdbtrD;cxGridD;dxLayoutControlD;cxEditorsD;cxDataD;cxExportD;cxTreeListdxBarPopupMenuD;cxTreeListD;dxBarD;dxmdsD;dxSkinXmas2008BlueD;dxSkinsCoreD;dxSkinWhiteprintD;dxSkinVS2010D;dxSkinValentineD;dxSkinTheAsphaltWorldD;dxSkinSummer2008D;dxSkinStardustD;dxSkinSpringTimeD;dxSkinSilverD;dxSkinSharpPlusD;dxSkinSharpD;dxSkinSevenD;dxSkinSevenClassicD;dxSkinPumpkinD;dxSkinOffice2010SilverD;dxSkinOffice2010BlueD;dxSkinOffice2010BlackD;dxSkinOffice2007SilverD;dxSkinOffice2007PinkD;dxSkinOffice2007GreenD;dxSkinOffice2007BlueD;dxSkinOffice2007BlackD;dxSkinMoneyTwinsD;dxSkinMcSkinD;dxSkinLondonLiquidSkyD;dxSkinLiquidSkyD;dxSkinLilianD;dxSkiniMaginaryD;dxSkinHighContrastD;dxSkinGlassOceansD;dxSkinFoggyD;dxSkinDevExpressStyleD;dxSkinDevExpressDarkStyleD;dxSkinDarkSideD;dxSkinDarkRoomD;dxSkinCoffeeD;dxSkinCaramelD;dxSkinBlueprintD;dxSkinBlueD;dxSkinBlackD;dxSkinscxSchedulerPainterD;cxSchedulerD;dxSkinsdxRibbonPainterD;dxRibbonD;dxSkinsdxNavBarPainterD;dxNavBarD;dxSkinsdxBarPainterD;dxSkinsdxDLPainterD;dxSkinscxPCPainterD;dxPScxPCProdD;dxPSCoreD;dxForumLibD;dxsbD;dxMasterViewD;dxObjInsD;dxExRwD;EQGridD;dxInsD;dxExELD;dxGrEdD;ECQDBCD;EQTLD;EQDBTLD;dxPageControlD;dcldxSkinsCoreD;dxPSDBTeeChartD;dxPSTeeChartD;dxPSPrVwRibbonD;dxBarExtItemsD;dxPSdxFCLnkD;dxFlowChartD;dxPSdxDBOCLnkD;dxPSdxOCLnkD;dxorgcD;dxdborD;dxPScxSchedulerLnkD;dxPScxCommonD;dxPSLnksD;dxPSdxDBTVLnkD;dxPsPrVwAdvD;dxPScxPivotGridLnkD;cxPivotGridD;dxPScxTLLnkD;dxPScxVGridLnkD;cxVerticalGridD;dxPScxGridLnkD;dxPSdxLCLnkD;dxPScxExtCommonD;cxPivotGridOLAPD;cxPivotGridChartD;dxSpellCheckerD;cxSchedulerGridD;dxtrmdD;dxServerModeD;dxTabbedMDID;dxBarExtDBItemsD;cxBarEditItemD;dxBarDBNavD;dxRibbonCustomizationFormD;dxADOServerModeD;dxWizardControlD;cxSchedulerTreeBrowserD;cxSchedulerRibbonStyleEventEditorD;dxSkinMetropolisD;dxSkinMetropolisDarkD;dxSkinOffice2013DarkGrayD;dxSkinOffice2013LightGrayD;dxSkinOffice2013WhiteD;dxPScxSSLnkD;cxSpreadSheetD;dxTileControlD;FastReport;$(DCC_UsePackage)</DCC_UsePackage>
69+
<DCC_Optimize>false</DCC_Optimize>
70+
<VerInfo_Keys>CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
71+
</PropertyGroup>
72+
<PropertyGroup Condition="'$(Base_Win32)'!=''">
73+
<AppEnableRuntimeThemes>true</AppEnableRuntimeThemes>
74+
<Icon_MainIcon>Project1_Icon.ico</Icon_MainIcon>
75+
<VerInfo_Locale>1033</VerInfo_Locale>
76+
<DCC_Namespace>System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace)</DCC_Namespace>
77+
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
78+
<Manifest_File>$(BDS)\bin\default_app.manifest</Manifest_File>
79+
</PropertyGroup>
80+
<PropertyGroup Condition="'$(Base_Win64)'!=''">
81+
<AppEnableRuntimeThemes>true</AppEnableRuntimeThemes>
82+
<DCC_DcuOutput>.\_dcu\x64</DCC_DcuOutput>
83+
<DCC_ExeOutput>.\..\bin\x64</DCC_ExeOutput>
84+
<VerInfo_Locale>1033</VerInfo_Locale>
85+
<DCC_Namespace>System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;$(DCC_Namespace)</DCC_Namespace>
86+
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
87+
<Manifest_File>$(BDS)\bin\default_app.manifest</Manifest_File>
88+
</PropertyGroup>
89+
<PropertyGroup Condition="'$(Cfg_1)'!=''">
90+
<DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
91+
<DCC_LocalDebugSymbols>false</DCC_LocalDebugSymbols>
92+
<DCC_Define>RELEASE;$(DCC_Define)</DCC_Define>
93+
<DCC_DebugInformation>0</DCC_DebugInformation>
94+
</PropertyGroup>
95+
<PropertyGroup Condition="'$(Cfg_2)'!=''">
96+
<DCC_GenerateStackFrames>true</DCC_GenerateStackFrames>
97+
<DCC_Define>DEBUG;$(DCC_Define)</DCC_Define>
98+
</PropertyGroup>
99+
<PropertyGroup Condition="'$(Cfg_2_Win32)'!=''">
100+
<AppEnableRuntimeThemes>true</AppEnableRuntimeThemes>
101+
<Manifest_File>$(BDS)\bin\default_app.manifest</Manifest_File>
102+
<VerInfo_Locale>1033</VerInfo_Locale>
103+
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
104+
</PropertyGroup>
105+
<PropertyGroup Condition="'$(Cfg_2_Win64)'!=''">
106+
<AppEnableRuntimeThemes>true</AppEnableRuntimeThemes>
107+
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
108+
<Manifest_File>$(BDS)\bin\default_app.manifest</Manifest_File>
109+
<VerInfo_Locale>1033</VerInfo_Locale>
110+
</PropertyGroup>
111+
<ItemGroup>
112+
<DelphiCompile Include="$(MainSource)">
113+
<MainSource>MainSource</MainSource>
114+
</DelphiCompile>
115+
<DCCReference Include="..\libssh2.pas"/>
116+
<DCCReference Include="..\libssh2_publickey.pas"/>
117+
<DCCReference Include="..\libssh2_sftp.pas"/>
118+
<DCCReference Include="..\comp\uMySFTPClient.pas"/>
119+
<DCCReference Include="Unit3.pas">
120+
<Form>Form3</Form>
121+
</DCCReference>
122+
<DCCReference Include="Unit4.pas">
123+
<Form>FrmProgress</Form>
124+
</DCCReference>
125+
<BuildConfiguration Include="Debug">
126+
<Key>Cfg_2</Key>
127+
<CfgParent>Base</CfgParent>
128+
</BuildConfiguration>
129+
<BuildConfiguration Include="Base">
130+
<Key>Base</Key>
131+
</BuildConfiguration>
132+
<BuildConfiguration Include="Release">
133+
<Key>Cfg_1</Key>
134+
<CfgParent>Base</CfgParent>
135+
</BuildConfiguration>
136+
</ItemGroup>
137+
<ProjectExtensions>
138+
<Borland.Personality>Delphi.Personality.12</Borland.Personality>
139+
<Borland.ProjectType>VCLApplication</Borland.ProjectType>
140+
<BorlandProject>
141+
<Delphi.Personality>
142+
<Source>
143+
<Source Name="MainSource">Project1.dpr</Source>
144+
</Source>
145+
<VersionInfo>
146+
<VersionInfo Name="IncludeVerInfo">False</VersionInfo>
147+
<VersionInfo Name="AutoIncBuild">False</VersionInfo>
148+
<VersionInfo Name="MajorVer">1</VersionInfo>
149+
<VersionInfo Name="MinorVer">0</VersionInfo>
150+
<VersionInfo Name="Release">0</VersionInfo>
151+
<VersionInfo Name="Build">0</VersionInfo>
152+
<VersionInfo Name="Debug">False</VersionInfo>
153+
<VersionInfo Name="PreRelease">False</VersionInfo>
154+
<VersionInfo Name="Special">False</VersionInfo>
155+
<VersionInfo Name="Private">False</VersionInfo>
156+
<VersionInfo Name="DLL">False</VersionInfo>
157+
<VersionInfo Name="Locale">1058</VersionInfo>
158+
<VersionInfo Name="CodePage">1251</VersionInfo>
159+
</VersionInfo>
160+
<VersionInfoKeys>
161+
<VersionInfoKeys Name="CompanyName"/>
162+
<VersionInfoKeys Name="FileDescription"/>
163+
<VersionInfoKeys Name="FileVersion">1.0.0.0</VersionInfoKeys>
164+
<VersionInfoKeys Name="InternalName"/>
165+
<VersionInfoKeys Name="LegalCopyright"/>
166+
<VersionInfoKeys Name="LegalTrademarks"/>
167+
<VersionInfoKeys Name="OriginalFilename"/>
168+
<VersionInfoKeys Name="ProductName"/>
169+
<VersionInfoKeys Name="ProductVersion">1.0.0.0</VersionInfoKeys>
170+
<VersionInfoKeys Name="Comments"/>
171+
</VersionInfoKeys>
172+
</Delphi.Personality>
173+
<Platforms>
174+
<Platform value="Win32">True</Platform>
175+
<Platform value="Win64">True</Platform>
176+
</Platforms>
177+
</BorlandProject>
178+
<ProjectFileVersion>12</ProjectFileVersion>
179+
</ProjectExtensions>
180+
<Import Project="$(BDS)\Bin\CodeGear.Delphi.Targets" Condition="Exists('$(BDS)\Bin\CodeGear.Delphi.Targets')"/>
181+
<Import Project="$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\$(PRODUCTVERSION)\UserTools.proj" Condition="Exists('$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\$(PRODUCTVERSION)\UserTools.proj')"/>
182+
</Project>

demo/Project1.res

2.87 KB
Binary file not shown.

0 commit comments

Comments
 (0)