summaryrefslogtreecommitdiff
path: root/examples/apps/docedit/docedit.lpr
blob: 07f849e57d79db095751de2faba48c7ca5f65eb5 (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
25
26
27
28
29
30
31
32
program docedit;

{$mode objfpc}{$H+}

uses
  {$IFDEF UNIX}{$IFDEF UseCThreads}
  cthreads,
  {$ENDIF}{$ENDIF}
  Classes,
  fpg_main,
  frm_main, frm_options, model, FPDEUtil, doceditmsg, doceditopts;


procedure MainProc;
var
  frm: TMainForm;
begin
  fpgApplication.Initialize;
  try
    frm := TMainForm.Create(nil);
    frm.Show;
    fpgApplication.Run;
  finally
    frm.Free;
  end;
end;

begin
  MainProc;
end.