summaryrefslogtreecommitdiff
path: root/extras/contributed/nicegrid/nicegrid2.lpr
diff options
context:
space:
mode:
Diffstat (limited to 'extras/contributed/nicegrid/nicegrid2.lpr')
-rw-r--r--extras/contributed/nicegrid/nicegrid2.lpr32
1 files changed, 32 insertions, 0 deletions
diff --git a/extras/contributed/nicegrid/nicegrid2.lpr b/extras/contributed/nicegrid/nicegrid2.lpr
new file mode 100644
index 00000000..db26713f
--- /dev/null
+++ b/extras/contributed/nicegrid/nicegrid2.lpr
@@ -0,0 +1,32 @@
+program nicegrid2;
+
+{$mode objfpc}
+{$h+}
+
+uses
+ {$IFDEF UNIX}{$IFDEF UseCThreads}
+ cthreads,
+ {$ENDIF}{$ENDIF}
+ Classes, SysUtils,
+ fpg_base, fpg_main, fpg_form,
+ main2;
+
+
+procedure MainProc;
+var
+ frm: TfrmMain;
+begin
+ fpgApplication.Initialize;
+ frm := TfrmMain.Create(nil);
+ try
+ frm.Show;
+ fpgApplication.Run;
+ finally
+ frm.Free;
+ end;
+end;
+
+begin
+ MainProc;
+end.
+