mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2024-12-04 09:26:52 +02:00
9e5b90303c
Remove unused uCEFSentinel references. Remove duplicated licenses.
47 lines
1.1 KiB
ObjectPascal
47 lines
1.1 KiB
ObjectPascal
(*
|
|
* Include the following files
|
|
* ExternalPumpBrowser.app/Contents/Frameworks/ExternalPumpBrowser Helper.app/
|
|
* files from the demos/Lazarus_Mac/AppHelper project
|
|
* use create_mac_helper.sh
|
|
*
|
|
* ExternalPumpBrowser.app/Contents/Frameworks/Chromium Embedded Framework.framework
|
|
* files from Release folder in cef download
|
|
*
|
|
*)
|
|
|
|
|
|
program ExternalPumpBrowser;
|
|
|
|
{$mode objfpc}{$H+}
|
|
{$IFDEF MSWINDOWS}{$I ..\..\..\source\cef.inc}{$ELSE}{$I ../../../source/cef.inc}{$ENDIF}
|
|
|
|
uses
|
|
{$IFDEF UNIX}{$IFDEF UseCThreads}
|
|
cthreads,
|
|
{$ENDIF}{$ENDIF}
|
|
{$IFDEF LINUX}
|
|
InitSubProcess, // On Linux this unit must be used *before* the "interfaces" unit.
|
|
{$ENDIF}
|
|
Interfaces,
|
|
Forms,
|
|
uExternalPumpBrowser, GlobalCefApplication
|
|
{ you can add units after this }
|
|
;
|
|
|
|
{$R *.res}
|
|
|
|
{$IFDEF WIN32}
|
|
// CEF needs to set the LARGEADDRESSAWARE ($20) flag which allows 32-bit processes to use up to 3GB of RAM.
|
|
{$SetPEFlags $20}
|
|
{$ENDIF}
|
|
|
|
begin
|
|
RequireDerivedFormResource:=True;
|
|
Application.Title := 'External Pump Browser';
|
|
Application.Scaled := True;
|
|
Application.Initialize;
|
|
Application.CreateForm(TForm1, Form1);
|
|
Application.Run;
|
|
end.
|
|
|