1 | program VCSCommander;
|
---|
2 |
|
---|
3 | {$mode objfpc}{$H+}
|
---|
4 |
|
---|
5 | uses
|
---|
6 | {$IFDEF UNIX}{$IFDEF UseCThreads}
|
---|
7 | cthreads,
|
---|
8 | {$ENDIF}{$ENDIF}
|
---|
9 | Interfaces, // this includes the LCL widgetset
|
---|
10 | Forms, UFormMain, UCore, Common, TemplateGenerics, UFormBrowse, UVCS,
|
---|
11 | UFormFavorites, UFormSettings, UFormConsole, USubversion, UProject, SysUtils,
|
---|
12 | UFormCommit, UFormCheckout, UBazaar, UBackend, UFormLog, UFormTest,
|
---|
13 | UFormProjectGroup
|
---|
14 | { you can add units after this };
|
---|
15 |
|
---|
16 | {$R *.res}
|
---|
17 |
|
---|
18 | {$IFDEF DEBUG}
|
---|
19 | const
|
---|
20 | HeapTraceLog = 'heaptrclog.trc';
|
---|
21 | {$ENDIF}
|
---|
22 |
|
---|
23 |
|
---|
24 | begin
|
---|
25 | {$IFDEF DEBUG}
|
---|
26 | // Heap trace
|
---|
27 | DeleteFile(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
|
---|
28 | SetHeapTraceOutput(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
|
---|
29 | {$ENDIF}
|
---|
30 |
|
---|
31 | RequireDerivedFormResource := True;
|
---|
32 | Application.Initialize;
|
---|
33 | Application.CreateForm(TCore, Core);
|
---|
34 | Application.CreateForm(TFormMain, FormMain);
|
---|
35 | Application.CreateForm(TFormBrowse, FormBrowse);
|
---|
36 | Application.CreateForm(TFormFavorites, FormFavorites);
|
---|
37 | Application.CreateForm(TFormSettings, FormSettings);
|
---|
38 | Application.CreateForm(TFormConsole, FormConsole);
|
---|
39 | Application.CreateForm(TFormCommit, FormCommit);
|
---|
40 | Application.CreateForm(TFormCheckout, FormCheckout);
|
---|
41 | Application.CreateForm(TFormLog, FormLog);
|
---|
42 | Application.CreateForm(TFormTest, FormTest);
|
---|
43 | Application.CreateForm(TFormProjectGroup, FormProjectGroup);
|
---|
44 | Application.Run;
|
---|
45 | end.
|
---|
46 |
|
---|