| 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, UCore,
|
|---|
| 14 | UFormExport
|
|---|
| 15 | { you can add units after this };
|
|---|
| 16 |
|
|---|
| 17 | {$R *.res}
|
|---|
| 18 |
|
|---|
| 19 | {$IFDEF DEBUG}
|
|---|
| 20 | const
|
|---|
| 21 | HeapTraceLog = 'heaptrclog.trc';
|
|---|
| 22 | {$ENDIF}
|
|---|
| 23 |
|
|---|
| 24 |
|
|---|
| 25 | begin
|
|---|
| 26 | {$IFDEF DEBUG}
|
|---|
| 27 | // Heap trace
|
|---|
| 28 | DeleteFile(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
|
|---|
| 29 | SetHeapTraceOutput(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
|
|---|
| 30 | {$ENDIF}
|
|---|
| 31 |
|
|---|
| 32 | Application.Title := 'Acronym Decoder';
|
|---|
| 33 | RequireDerivedFormResource := True;
|
|---|
| 34 | Application.Initialize;
|
|---|
| 35 | Application.CreateForm(TCore, Core);
|
|---|
| 36 | Application.CreateForm(TFormMain, FormMain);
|
|---|
| 37 | Application.CreateForm(TFormCategorySelect, FormCategorySelect);
|
|---|
| 38 | Application.CreateForm(TFormCategories, FormCategories);
|
|---|
| 39 | Application.CreateForm(TFormAcronyms, FormAcronyms);
|
|---|
| 40 | Application.CreateForm(TFormAcronym, FormAcronym);
|
|---|
| 41 | Application.CreateForm(TFormSettings, FormSettings);
|
|---|
| 42 | Application.CreateForm(TFormImport, FormImport);
|
|---|
| 43 | Application.CreateForm(TFormImportSource, FormImportSource);
|
|---|
| 44 | Application.CreateForm(TFormImportSources, FormImportSources);
|
|---|
| 45 | Application.CreateForm(TFormAbout, FormAbout);
|
|---|
| 46 | Application.CreateForm(TFormImportFormat, FormImportFormat);
|
|---|
| 47 | Application.CreateForm(TFormImportFormats, FormImportFormats);
|
|---|
| 48 | Application.CreateForm(TFormImportPattern, FormImportPattern);
|
|---|
| 49 | Application.CreateForm(TFormExport, FormExport);
|
|---|
| 50 | Application.Run;
|
|---|
| 51 | end.
|
|---|
| 52 |
|
|---|