diff options
Diffstat (limited to 'examples/apps/globe/globe.lpr')
-rw-r--r-- | examples/apps/globe/globe.lpr | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/examples/apps/globe/globe.lpr b/examples/apps/globe/globe.lpr new file mode 100644 index 00000000..02af6132 --- /dev/null +++ b/examples/apps/globe/globe.lpr @@ -0,0 +1,29 @@ +program globe; + +{$mode objfpc}{$H+} + +uses + {$IFDEF UNIX}{$IFDEF UseCThreads} + cthreads, + {$ENDIF}{$ENDIF} + Classes, fpg_main, fpg_form, frm_main; + +procedure MainProc; +var + frm: TMainForm; +begin + fpgApplication.Initialize; + frm := TMainForm.Create(nil); + try + frm.Show; + fpgApplication.Run; + finally + frm.Free; + end; +end; + +begin + MainProc; +end. + + |