summaryrefslogtreecommitdiff
path: root/examples/gui/imgtest_jpeg/jpeg.lpr
blob: 00c5fbd55980b9d9e78c05469efef7d636f3f905 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
program jpeg;

{$mode objfpc}{$H+}

uses
  {$IFDEF UNIX}{$IFDEF UseCThreads}
  cthreads,
  {$ENDIF}{$ENDIF}
  Classes, fpg_main, main;

procedure MainProc;
begin
  fpgApplication.Initialize;
  frmMain := TfrmMain.Create(nil);
  frmMain.Show;
  fpgApplication.Run;
  frmMain.Free;
end;

begin
  MainProc;
end.