1 | program AcronymDecoder;
|
---|
2 |
|
---|
3 | {$mode delphi}{$H+}
|
---|
4 |
|
---|
5 | uses
|
---|
6 | {$IFDEF UNIX}
|
---|
7 | cthreads, clocale,
|
---|
8 | {$ENDIF}
|
---|
9 | Interfaces, // this includes the LCL widgetset
|
---|
10 | Forms, UAcronym, Common, SysUtils, TemplateGenerics, UFormImport,
|
---|
11 | CoolTranslator, UFormCategorySelect, UFormMain, UFormAcronym, UFormSettings,
|
---|
12 | UFormCategories, UFormAcronyms, UFormImportSource, UFormImportSources,
|
---|
13 | UFormAbout, UFormImportFormat, UFormImportFormats, UFormImportPattern
|
---|
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 | Application.Title := 'Acronym Decoder';
|
---|
32 | RequireDerivedFormResource := True;
|
---|
33 | Application.Initialize;
|
---|
34 | Application.CreateForm(TFormMain, FormMain);
|
---|
35 | Application.CreateForm(TFormCategorySelect, FormCategorySelect);
|
---|
36 | Application.CreateForm(TFormCategories, FormCategories);
|
---|
37 | Application.CreateForm(TFormAcronyms, FormAcronyms);
|
---|
38 | Application.CreateForm(TFormAcronym, FormAcronym);
|
---|
39 | Application.CreateForm(TFormSettings, FormSettings);
|
---|
40 | Application.CreateForm(TFormImport, FormImport);
|
---|
41 | Application.CreateForm(TFormImportSource, FormImportSource);
|
---|
42 | Application.CreateForm(TFormImportSources, FormImportSources);
|
---|
43 | Application.CreateForm(TFormAbout, FormAbout);
|
---|
44 | Application.CreateForm(TFormImportFormat, FormImportFormat);
|
---|
45 | Application.CreateForm(TFormImportFormats, FormImportFormats);
|
---|
46 | Application.CreateForm(TFormImportPattern, FormImportPattern);
|
---|
47 | Application.Run;
|
---|
48 | end.
|
---|
49 |
|
---|