source: trunk/VCSCommander.lpr

Last change on this file was 14, checked in by chronos, 9 years ago
  • Modified: Use different Subversion path under Windows.
File size: 1.3 KB
Line 
1program VCSCommander;
2
3{$mode objfpc}{$H+}
4
5uses
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}
19const
20 HeapTraceLog = 'heaptrclog.trc';
21{$ENDIF}
22
23
24begin
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;
45end.
46
Note: See TracBrowser for help on using the repository browser.