source: tags/1.0.0/LazFuck.lpr

Last change on this file was 96, checked in by chronos, 6 years ago
  • Added: Theming support.
  • Modified: Items in Options dialog divided to two pages.
File size: 1.3 KB
Line 
1program LazFuck;
2
3{$mode objfpc}{$H+}
4
5uses
6 {$IFDEF UNIX}//{$IFDEF UseCThreads}
7 cthreads, clocale,
8 //{$ENDIF}
9 {$ENDIF}
10 Interfaces, // this includes the LCL widgetset
11 Forms, UTarget, UTargetC, UTargetDelphi, UTargetInterpretter, UTargetPHP,
12 UTargetJava, UTargetFPC, UFormCPU, UFormMain, UFormOptions, UFormTargets,
13 UFormOutput, UFormInput, UFormMemory, UFormMessages, UFormSourceCode,
14 UFormTargetCode, UFormTargetOptions, UCore, Common, TemplateGenerics,
15 CoolTranslator, UFormLog, UProject, UBFTarget, SysUtils;
16
17{$R *.res}
18
19{$IFDEF DEBUG}
20const
21 HeapTraceLog = 'heaptrclog.trc';
22{$ENDIF}
23
24
25begin
26 {$IFDEF DEBUG}
27 // Heap trace
28 DeleteFile(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
29 SetHeapTraceOutput(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
30 {$ENDIF}
31
32 Application.Title := 'LazFuck IDE';
33 RequireDerivedFormResource := True;
34 Application.Initialize;
35 Application.CreateForm(TCore, Core);
36 Application.CreateForm(TFormMain, FormMain);
37 Application.CreateForm(TFormCPU, FormCPU);
38 Application.CreateForm(TFormOutput, FormOutput);
39 Application.CreateForm(TFormInput, FormInput);
40 Application.CreateForm(TFormMemory, FormMemory);
41 Application.CreateForm(TFormMessages, FormMessages);
42 Application.CreateForm(TFormSourceCode, FormSourceCode);
43 Application.CreateForm(TFormTargetCode, FormTargetCode);
44 Application.Run;
45end.
46
Note: See TracBrowser for help on using the repository browser.