Skip to content

Commit 8c1d56c

Browse files
Version 1.0.1
1 parent 8896885 commit 8c1d56c

27 files changed

+1550
-32
lines changed

demos/Delphi/Ipify4Pascal_Demo_Delphi.dpr

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ program Ipify4Pascal_Demo_Delphi;
33
uses
44
System.StartUpCopy,
55
FMX.Forms,
6-
UnitMain in 'UnitMain.pas' {Form1},
7-
LibIpify4Pascal in '..\..\src\LibIpify4Pascal.pas';
6+
UnitMain in 'UnitMain.pas' {Form1};
87

98
{$R *.res}
109

demos/Delphi/Ipify4Pascal_Demo_Delphi.dproj

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
<Icon_MainIcon>$(BDS)\bin\delphi_PROJECTICON.ico</Icon_MainIcon>
8888
<Icns_MainIcns>$(BDS)\bin\delphi_PROJECTICNS.icns</Icns_MainIcns>
8989
<SanitizedProjectName>Ipify4Pascal_Demo_Delphi</SanitizedProjectName>
90-
</PropertyGroup>
90+
<DCC_UnitSearchPath>modules\.dcp;modules\.dcu;$(DCC_UnitSearchPath);modules;modules\ipify4pascal\demos\Delphi;modules\ipify4pascal\src</DCC_UnitSearchPath></PropertyGroup>
9191
<PropertyGroup Condition="'$(Base_Android)'!=''">
9292
<DCC_UsePackage>soapserver;IndySystem;fmx;DbxCommonDriver;bindengine;IndyIPCommon;FireDACCommonDriver;IndyProtocols;Skia.Package.RTL;IndyIPClient;dbxcds;bindcomp;FmxTeeUI;FireDACCommon;IndyCore;RESTBackendComponents;bindcompfmx;bindcompdbx;rtl;FireDACSqliteDriver;DbxClientDriver;RESTComponents;DBXSqliteDriver;IndyIPServer;fmxFireDAC;dbexpress;dsnapxml;soapmidas;inet;FireDAC;fmxase;xmlrtl;tethering;dbrtl;dsnap;Skia.Package.FMX;CloudService;CustomIPTransport;FMXTee;soaprtl;DBXInterBaseDriver;FireDACIBDriver;$(DCC_UsePackage)</DCC_UsePackage>
9393
<VerInfo_Keys>package=com.embarcadero.$(MSBuildProjectName);label=$(MSBuildProjectName);versionCode=1;versionName=1.0.0;persistent=False;restoreAnyVersion=False;installLocation=auto;largeHeap=False;theme=TitleBar;hardwareAccelerated=true;apiKey=</VerInfo_Keys>
@@ -191,7 +191,6 @@
191191
<Form>Form1</Form>
192192
<FormType>fmx</FormType>
193193
</DCCReference>
194-
<DCCReference Include="..\..\src\LibIpify4Pascal.pas"/>
195194
<BuildConfiguration Include="Base">
196195
<Key>Base</Key>
197196
</BuildConfiguration>
@@ -1061,12 +1060,6 @@
10611060
<Platforms>
10621061
<Platform value="Android">True</Platform>
10631062
<Platform value="Android64">True</Platform>
1064-
<Platform value="iOSDevice32">False</Platform>
1065-
<Platform value="iOSDevice64">False</Platform>
1066-
<Platform value="iOSSimARM64">False</Platform>
1067-
<Platform value="OSX32">False</Platform>
1068-
<Platform value="OSX64">False</Platform>
1069-
<Platform value="OSXARM64">False</Platform>
10701063
<Platform value="Win32">True</Platform>
10711064
<Platform value="Win64">True</Platform>
10721065
</Platforms>

demos/Delphi/UnitMain.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ implementation
3131

3232
{$R *.fmx}
3333

34-
uses LibIpify4Pascal;
34+
Uses LibIpify4Pascal;
3535

3636
procedure TForm1.BtnGeIpifyVersionClick(Sender: TObject);
3737
begin

demos/Delphi/boss-lock.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"hash": "d41d8cd98f00b204e9800998ecf8427e",
3+
"updated": "2024-06-16T21:50:52.1415429-03:00",
4+
"installedModules": {
5+
"https://github.com/rafael-figueiredo-alves/ipify4pascal": {
6+
"name": "ipify4pascal",
7+
"version": "v1.0.1",
8+
"hash": "6758be1b6182c9e273fcbd17b774e819",
9+
"artifacts": {},
10+
"failed": false,
11+
"changed": false
12+
}
13+
}
14+
}

demos/Delphi/boss.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "Ipify4Pascal_Demo_Delphi",
3+
"description": "Demo da lib Ipify4Pascal",
4+
"version": "1.0.1",
5+
"homepage": "https://github.com/rafael-figueiredo-alves/Ipify4Pascal",
6+
"mainsrc": "./src",
7+
"projects": [],
8+
"dependencies": {
9+
"https://github.com/rafael-figueiredo-alves/ipify4pascal": "^v1.0.1"
10+
}
11+
}
130 KB
Binary file not shown.
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<CONFIG>
3+
<ProjectOptions>
4+
<Version Value="12"/>
5+
<PathDelim Value="\"/>
6+
<General>
7+
<SessionStorage Value="InProjectDir"/>
8+
<Title Value="Ipify4Pascal_Demo_Lazarus"/>
9+
<Scaled Value="True"/>
10+
<ResourceType Value="res"/>
11+
<UseXPManifest Value="True"/>
12+
<XPManifest>
13+
<DpiAware Value="True"/>
14+
</XPManifest>
15+
<Icon Value="0"/>
16+
</General>
17+
<BuildModes>
18+
<Item Name="Default" Default="True"/>
19+
</BuildModes>
20+
<PublishOptions>
21+
<Version Value="2"/>
22+
<UseFileFilters Value="True"/>
23+
</PublishOptions>
24+
<RunParams>
25+
<FormatVersion Value="2"/>
26+
</RunParams>
27+
<RequiredPackages>
28+
<Item>
29+
<PackageName Value="LCL"/>
30+
</Item>
31+
</RequiredPackages>
32+
<Units>
33+
<Unit>
34+
<Filename Value="Ipify4Pascal_Demo_Lazarus.lpr"/>
35+
<IsPartOfProject Value="True"/>
36+
</Unit>
37+
<Unit>
38+
<Filename Value="unitmain.pas"/>
39+
<IsPartOfProject Value="True"/>
40+
<ComponentName Value="Form1"/>
41+
<HasResources Value="True"/>
42+
<ResourceBaseClass Value="Form"/>
43+
<UnitName Value="unitMain"/>
44+
</Unit>
45+
</Units>
46+
</ProjectOptions>
47+
<CompilerOptions>
48+
<Version Value="11"/>
49+
<PathDelim Value="\"/>
50+
<Target>
51+
<Filename Value="Ipify4Pascal_Demo_Lazarus"/>
52+
</Target>
53+
<SearchPaths>
54+
<IncludeFiles Value="$(ProjOutDir)"/>
55+
<OtherUnitFiles Value="modules\.dcp;modules\.dcu;modules;modules\ipify4pascal\demos\Delphi;modules\ipify4pascal\src;C:\lazarus\Indy-master\Lib\lib\x86_64-win64\"/>
56+
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
57+
</SearchPaths>
58+
<Linking>
59+
<Debugging>
60+
<DebugInfoType Value="dsDwarf2Set"/>
61+
</Debugging>
62+
<Options>
63+
<Win32>
64+
<GraphicApplication Value="True"/>
65+
</Win32>
66+
</Options>
67+
</Linking>
68+
</CompilerOptions>
69+
<Debugging>
70+
<Exceptions>
71+
<Item>
72+
<Name Value="EAbort"/>
73+
</Item>
74+
<Item>
75+
<Name Value="ECodetoolError"/>
76+
</Item>
77+
<Item>
78+
<Name Value="EFOpenError"/>
79+
</Item>
80+
</Exceptions>
81+
</Debugging>
82+
</CONFIG>
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
program Ipify4Pascal_Demo_Lazarus;
2+
3+
{$mode objfpc}{$H+}
4+
5+
uses
6+
{$IFDEF UNIX}
7+
cthreads,
8+
{$ENDIF}
9+
{$IFDEF HASAMIGA}
10+
athreads,
11+
{$ENDIF}
12+
Interfaces, // this includes the LCL widgetset
13+
Forms, unitMain
14+
{ you can add units after this };
15+
16+
{$R *.res}
17+
18+
begin
19+
RequireDerivedFormResource:=True;
20+
Application.Scaled:=True;
21+
Application.Initialize;
22+
Application.CreateForm(TForm1, Form1);
23+
Application.Run;
24+
end.
25+
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<CONFIG>
3+
<ProjectSession>
4+
<PathDelim Value="\"/>
5+
<Version Value="12"/>
6+
<BuildModes Active="Default"/>
7+
<Units>
8+
<Unit>
9+
<Filename Value="Ipify4Pascal_Demo_Lazarus.lpr"/>
10+
<IsPartOfProject Value="True"/>
11+
<EditorIndex Value="-1"/>
12+
<WindowIndex Value="-1"/>
13+
<TopLine Value="-1"/>
14+
<CursorPos X="-1" Y="-1"/>
15+
<UsageCount Value="23"/>
16+
</Unit>
17+
<Unit>
18+
<Filename Value="unitmain.pas"/>
19+
<IsPartOfProject Value="True"/>
20+
<ComponentName Value="Form1"/>
21+
<HasResources Value="True"/>
22+
<ResourceBaseClass Value="Form"/>
23+
<UnitName Value="unitMain"/>
24+
<EditorIndex Value="-1"/>
25+
<TopLine Value="7"/>
26+
<CursorPos X="21" Y="43"/>
27+
<UsageCount Value="23"/>
28+
</Unit>
29+
<Unit>
30+
<Filename Value="modules\ipify4pascal\src\LibIpify4Pascal.pas"/>
31+
<IsVisibleTab Value="True"/>
32+
<EditorIndex Value="-1"/>
33+
<TopLine Value="26"/>
34+
<CursorPos Y="156"/>
35+
<UsageCount Value="11"/>
36+
</Unit>
37+
<Unit>
38+
<Filename Value="C:\lazarus\Indy-master\Lib\System\IdBaseComponent.pas"/>
39+
<EditorIndex Value="-1"/>
40+
<TopLine Value="279"/>
41+
<CursorPos Y="290"/>
42+
<UsageCount Value="10"/>
43+
</Unit>
44+
<Unit>
45+
<Filename Value="C:\lazarus\Indy-master\Lib\Protocols\IdSSLOpenSSL.pas"/>
46+
<EditorIndex Value="-1"/>
47+
<TopLine Value="3192"/>
48+
<CursorPos Y="3203"/>
49+
<UsageCount Value="10"/>
50+
</Unit>
51+
</Units>
52+
<General>
53+
<ActiveWindowIndexAtStart Value="-1"/>
54+
</General>
55+
<JumpHistory HistoryIndex="-1"/>
56+
<RunParams>
57+
<FormatVersion Value="2"/>
58+
<Modes ActiveMode=""/>
59+
</RunParams>
60+
<HistoryLists>
61+
<List Name="LaunchingApplication" Type="File" Count="1">
62+
<Item1 Value="C:\Windows\system32\cmd.exe /C ${TargetCmdLine}"/>
63+
</List>
64+
</HistoryLists>
65+
</ProjectSession>
66+
</CONFIG>
132 KB
Binary file not shown.

0 commit comments

Comments
 (0)