| Line | |
|---|
| 1 | program VCSCommander;
|
|---|
| 2 |
|
|---|
| 3 | uses
|
|---|
| 4 | {$IFDEF UNIX}
|
|---|
| 5 | cthreads, clocale,
|
|---|
| 6 | {$ENDIF}
|
|---|
| 7 | Interfaces, // this includes the LCL widgetset
|
|---|
| 8 | Forms, FormMain, Core, Common, FormBrowse, VCS,
|
|---|
| 9 | FormFavorites, FormSettings, FormConsole, Subversion, Project, SysUtils,
|
|---|
| 10 | FormCommit, FormCheckout, Bazaar, Backend, FormLog,
|
|---|
| 11 | FormProjectGroup, Test
|
|---|
| 12 | { you can add units after this };
|
|---|
| 13 |
|
|---|
| 14 | {$R *.res}
|
|---|
| 15 |
|
|---|
| 16 | {$IFDEF DEBUG}
|
|---|
| 17 | const
|
|---|
| 18 | HeapTraceLog = 'heaptrclog.trc';
|
|---|
| 19 | {$ENDIF}
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 | begin
|
|---|
| 23 | {$IFDEF DEBUG}
|
|---|
| 24 | // Heap trace
|
|---|
| 25 | DeleteFile(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
|
|---|
| 26 | SetHeapTraceOutput(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
|
|---|
| 27 | {$ENDIF}
|
|---|
| 28 |
|
|---|
| 29 | RequireDerivedFormResource := True;
|
|---|
| 30 | Application.Initialize;
|
|---|
| 31 | Application.CreateForm(TCore, Core.Core);
|
|---|
| 32 | Application.Run;
|
|---|
| 33 | end.
|
|---|
| 34 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.