source: branches/test1/Client/chronis.lpr

Last change on this file was 52, checked in by chronos, 13 years ago
  • Modified: Code related to persistence layer abstraction moved to separated package PersistentData.
File size: 1.0 KB
Line 
1program chronis;
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, UPersistentForm, UTreeState, SysUtils, UFormItemView, UFormItemEdit,
11 UFormLogin, UFormMain, UFormItemAdd, TemplateGenerics, CoolTranslator, Common,
12 CoolWeb, USystem, UCore, UApplicationInfo, UFormSetting, UFormImportStructure,
13 UFormItemSelect, UFormLoginProfile, UFormAbout, UChronisModule, UDataTypes,
14 UModuleSystem, UFormItemList, LDockTree, URemote, UModuleUser, UFormMenu
15 { you can add units after this };
16
17{$R *.res}
18
19{$IFDEF DEBUG}
20const
21 HeapTraceLog = 'heaptrclog.trc';
22{$ENDIF}
23
24begin
25 Application.Title := 'ChronIS';
26 {$IFDEF DEBUG}
27 // Heap trace
28 DeleteFile(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
29 SetHeapTraceOutput(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
30 {$ENDIF}
31
32 Application.Initialize;
33 Application.CreateForm(TCore, Core);
34 Application.CreateForm(TMainForm, MainForm);
35 Application.CreateForm(TFormMenu, FormMenu);
36 Application.Run;
37end.
38
Note: See TracBrowser for help on using the repository browser.