source: trunk/OpenRouterOS.lpr

Last change on this file was 1, checked in by chronos, 4 years ago
  • Added: Initial version.
File size: 771 bytes
Line 
1program OpenRouterOS;
2
3{$mode delphi}{$H+}
4
5uses
6 {$IFDEF UNIX}{$IFDEF UseCThreads}
7 cthreads,
8 {$ENDIF}{$ENDIF}
9 Interfaces, SysUtils, // this includes the LCL widgetset
10 Forms, UFormMain, UFormLogin, UFormTerminal, UFormRouterboard, UTerminal,
11 URouterboard, UDevice, URouterOS, ULinux, UContext
12 { you can add units after this };
13
14{$if declared(UseHeapTrace)}
15const
16 HeapTraceLog = 'heaptrclog.trc';
17{$ENDIF}
18
19{$R *.res}
20
21begin
22 {$if declared(UseHeapTrace)}
23 DeleteFile(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
24 SetHeapTraceOutput(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
25 {$ENDIF}
26 RequireDerivedFormResource:=True;
27 Application.Scaled:=True;
28 Application.Initialize;
29 Application.CreateForm(TFormLogin, FormLogin);
30 Application.Run;
31end.
32
Note: See TracBrowser for help on using the repository browser.