1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2025-06-22 22:17:48 +02:00

Added the Lazarus_Linux_Console\LibraryBrowser demo

This commit is contained in:
Salvador Díaz Fau
2024-06-02 18:27:25 +02:00
parent bf11a7586e
commit 543af9be90
14 changed files with 1411 additions and 1 deletions

View File

@ -0,0 +1,36 @@
library custombrowser;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}
cthreads, cmem,
{$ENDIF}
Classes,
{ you can add units after this }
uencapsulatedbrowser;
procedure InitializeCEF4Delphi; cdecl;
begin
InitializeEncapsulatedBrowser;
end;
procedure FinalizeCEF4Delphi; cdecl;
begin
FinalizeEncapsulatedBrowser;
end;
procedure TakeSnapshot; cdecl;
begin
CaptureScreenshot('https://www.google.com');
end;
exports
InitializeCEF4Delphi,
FinalizeCEF4Delphi,
TakeSnapshot;
begin
//
end.