Skip to content

Commit 15ce8ff

Browse files
authored
Add files via upload
1 parent c8bf302 commit 15ce8ff

File tree

7 files changed

+1287
-0
lines changed

7 files changed

+1287
-0
lines changed

DemoSPA.dpr

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
program DemoSPA;
2+
3+
uses
4+
Vcl.Forms,
5+
WinApi.Windows,
6+
uCEFApplication,
7+
Main in 'Main.pas' {MainForm},
8+
Vcl.Themes,
9+
Vcl.Styles;
10+
11+
{$R *.res}
12+
13+
{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}
14+
15+
begin
16+
GlobalCEFApp := TCefApplication.Create;
17+
GlobalCEFApp.FlashEnabled := False;
18+
19+
if GlobalCEFApp.StartMainProcess then
20+
begin
21+
Application.Initialize;
22+
Application.MainFormOnTaskbar := True;
23+
TStyleManager.TrySetStyle('Amakrits');
24+
Application.CreateForm(TMainForm, MainForm);
25+
Application.Run;
26+
end;
27+
GlobalCEFApp.Free;
28+
end.

DemoSPA.dproj

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<PropertyGroup>
3+
<ProjectGuid>{E18077D0-DE87-44B8-BE0E-E4DE0BD16733}</ProjectGuid>
4+
<ProjectVersion>18.2</ProjectVersion>
5+
<FrameworkType>VCL</FrameworkType>
6+
<MainSource>DemoSPA.dpr</MainSource>
7+
<Base>True</Base>
8+
<Config Condition="'$(Config)'==''">Debug</Config>
9+
<Platform Condition="'$(Platform)'==''">Win32</Platform>
10+
<TargetedPlatforms>1</TargetedPlatforms>
11+
<AppType>Application</AppType>
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="'$(Config)'=='Debug' or '$(Cfg_1)'!=''">
22+
<Cfg_1>true</Cfg_1>
23+
<CfgParent>Base</CfgParent>
24+
<Base>true</Base>
25+
</PropertyGroup>
26+
<PropertyGroup Condition="('$(Platform)'=='Win32' and '$(Cfg_1)'=='true') or '$(Cfg_1_Win32)'!=''">
27+
<Cfg_1_Win32>true</Cfg_1_Win32>
28+
<CfgParent>Cfg_1</CfgParent>
29+
<Cfg_1>true</Cfg_1>
30+
<Base>true</Base>
31+
</PropertyGroup>
32+
<PropertyGroup Condition="'$(Config)'=='Release' or '$(Cfg_2)'!=''">
33+
<Cfg_2>true</Cfg_2>
34+
<CfgParent>Base</CfgParent>
35+
<Base>true</Base>
36+
</PropertyGroup>
37+
<PropertyGroup Condition="('$(Platform)'=='Win32' and '$(Cfg_2)'=='true') or '$(Cfg_2_Win32)'!=''">
38+
<Cfg_2_Win32>true</Cfg_2_Win32>
39+
<CfgParent>Cfg_2</CfgParent>
40+
<Cfg_2>true</Cfg_2>
41+
<Base>true</Base>
42+
</PropertyGroup>
43+
<PropertyGroup Condition="'$(Base)'!=''">
44+
<DCC_DcuOutput>.\$(Platform)\$(Config)</DCC_DcuOutput>
45+
<DCC_ExeOutput>.\$(Platform)\$(Config)</DCC_ExeOutput>
46+
<DCC_E>false</DCC_E>
47+
<DCC_N>false</DCC_N>
48+
<DCC_S>false</DCC_S>
49+
<DCC_F>false</DCC_F>
50+
<DCC_K>false</DCC_K>
51+
<DCC_UsePackage>inet;$(DCC_UsePackage)</DCC_UsePackage>
52+
<DCC_Namespace>System;Xml;Data;Datasnap;Web;Soap;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;$(DCC_Namespace)</DCC_Namespace>
53+
<Icon_MainIcon>$(BDS)\bin\delphi_PROJECTICON.ico</Icon_MainIcon>
54+
<UWP_DelphiLogo44>$(BDS)\bin\Artwork\Windows\UWP\delphi_UwpDefault_44.png</UWP_DelphiLogo44>
55+
<UWP_DelphiLogo150>$(BDS)\bin\Artwork\Windows\UWP\delphi_UwpDefault_150.png</UWP_DelphiLogo150>
56+
<SanitizedProjectName>DemoSPA</SanitizedProjectName>
57+
<Custom_Styles>Amakrits|VCLSTYLE|$(BDSCOMMONDIR)\Styles\Amakrits.vsf</Custom_Styles>
58+
</PropertyGroup>
59+
<PropertyGroup Condition="'$(Base_Win32)'!=''">
60+
<DCC_UsePackage>rtl;fmxase;vcl;CustomIPTransport;vclactnband;vcldsnap;IndyCore;IndySystem;vclx;bindcomp;tethering;svnui;appanalytics;dsnap;bindcompvcl;vclimg;vcltouch;VclSmp;vcldb;bindcompfmx;svn;vclie;CEF4Delphi;bindengine;dbrtl;IndyProtocols;fmx;fmxdae;xmlrtl;fmxobj;vclwinx;$(DCC_UsePackage)</DCC_UsePackage>
61+
<DCC_Namespace>Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace)</DCC_Namespace>
62+
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
63+
<VerInfo_Keys>CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
64+
<VerInfo_Locale>1033</VerInfo_Locale>
65+
<Manifest_File>$(BDS)\bin\default_app.manifest</Manifest_File>
66+
</PropertyGroup>
67+
<PropertyGroup Condition="'$(Cfg_1)'!=''">
68+
<DCC_Define>DEBUG;$(DCC_Define)</DCC_Define>
69+
<DCC_DebugDCUs>true</DCC_DebugDCUs>
70+
<DCC_Optimize>false</DCC_Optimize>
71+
<DCC_GenerateStackFrames>true</DCC_GenerateStackFrames>
72+
<DCC_DebugInfoInExe>true</DCC_DebugInfoInExe>
73+
<DCC_RemoteDebug>true</DCC_RemoteDebug>
74+
</PropertyGroup>
75+
<PropertyGroup Condition="'$(Cfg_1_Win32)'!=''">
76+
<DCC_RemoteDebug>false</DCC_RemoteDebug>
77+
<AppEnableRuntimeThemes>true</AppEnableRuntimeThemes>
78+
<AppEnableHighDPI>true</AppEnableHighDPI>
79+
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
80+
<VerInfo_Locale>1033</VerInfo_Locale>
81+
</PropertyGroup>
82+
<PropertyGroup Condition="'$(Cfg_2)'!=''">
83+
<DCC_LocalDebugSymbols>false</DCC_LocalDebugSymbols>
84+
<DCC_Define>RELEASE;$(DCC_Define)</DCC_Define>
85+
<DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
86+
<DCC_DebugInformation>0</DCC_DebugInformation>
87+
</PropertyGroup>
88+
<PropertyGroup Condition="'$(Cfg_2_Win32)'!=''">
89+
<AppEnableRuntimeThemes>true</AppEnableRuntimeThemes>
90+
<AppEnableHighDPI>true</AppEnableHighDPI>
91+
</PropertyGroup>
92+
<ItemGroup>
93+
<DelphiCompile Include="$(MainSource)">
94+
<MainSource>MainSource</MainSource>
95+
</DelphiCompile>
96+
<DCCReference Include="Main.pas">
97+
<Form>MainForm</Form>
98+
<FormType>dfm</FormType>
99+
</DCCReference>
100+
<BuildConfiguration Include="Release">
101+
<Key>Cfg_2</Key>
102+
<CfgParent>Base</CfgParent>
103+
</BuildConfiguration>
104+
<BuildConfiguration Include="Base">
105+
<Key>Base</Key>
106+
</BuildConfiguration>
107+
<BuildConfiguration Include="Debug">
108+
<Key>Cfg_1</Key>
109+
<CfgParent>Base</CfgParent>
110+
</BuildConfiguration>
111+
</ItemGroup>
112+
<ProjectExtensions>
113+
<Borland.Personality>Delphi.Personality.12</Borland.Personality>
114+
<Borland.ProjectType>Application</Borland.ProjectType>
115+
<BorlandProject>
116+
<Delphi.Personality>
117+
<Source>
118+
<Source Name="MainSource">DemoSPA.dpr</Source>
119+
</Source>
120+
</Delphi.Personality>
121+
<Platforms>
122+
<Platform value="Win32">True</Platform>
123+
</Platforms>
124+
</BorlandProject>
125+
<ProjectFileVersion>12</ProjectFileVersion>
126+
</ProjectExtensions>
127+
<Import Project="$(BDS)\Bin\CodeGear.Delphi.Targets" Condition="Exists('$(BDS)\Bin\CodeGear.Delphi.Targets')"/>
128+
<Import Project="$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\$(PRODUCTVERSION)\UserTools.proj" Condition="Exists('$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\$(PRODUCTVERSION)\UserTools.proj')"/>
129+
</Project>

DemoSPA.dproj.local

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<BorlandProject>
3+
<Transactions>
4+
<Transaction>1899-12-30 00:00:00.000.682,C:\Users\chili\Documents\cefdemo\Main.dfm=C:\Users\chili\Documents\Embarcadero\Studio\Projects\Main.dfm</Transaction>
5+
<Transaction>1899-12-30 00:00:00.000.904,=C:\Users\chili\Documents\Embarcadero\Studio\Projects\Unit1.pas</Transaction>
6+
<Transaction>1899-12-30 00:00:00.000.804,C:\Users\chili\Documents\Embarcadero\Studio\Projects\Main.pas=C:\Users\chili\Documents\Embarcadero\Studio\Projects\Unit1.pas</Transaction>
7+
<Transaction>1899-12-30 00:00:00.000.509,C:\Users\chili\Documents\cefdemo\Project1.dproj=C:\Users\chili\Documents\Embarcadero\Studio\Projects\Project1.dproj</Transaction>
8+
<Transaction>1899-12-30 00:00:00.000.024,=C:\Users\chili\Documents\Embarcadero\Studio\Projects\Unit1.pas</Transaction>
9+
<Transaction>1899-12-30 00:00:00.000.682,C:\Users\chili\Documents\cefdemo\Main.pas=C:\Users\chili\Documents\Embarcadero\Studio\Projects\Main.pas</Transaction>
10+
<Transaction>1899-12-30 00:00:00.000.804,C:\Users\chili\Documents\Embarcadero\Studio\Projects\Main.dfm=C:\Users\chili\Documents\Embarcadero\Studio\Projects\Unit1.dfm</Transaction>
11+
<Transaction>2018-06-01 22:14:28.864,=C:\Users\chili\Documents\cefdemo\Unit1.pas</Transaction>
12+
<Transaction>2018-06-01 22:19:55.910,=C:\Users\chili\Documents\cefdemo\Unit1.pas</Transaction>
13+
<Transaction>2018-06-01 22:39:38.897,C:\Users\chili\Documents\cefdemo\DemoSPA.dproj=C:\Users\chili\Documents\cefdemo\Project1.dproj</Transaction>
14+
</Transactions>
15+
</BorlandProject>

DemoSPA.res

58 KB
Binary file not shown.

0 commit comments

Comments
 (0)