ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/public/ibx/trunk/examples/DBAdmin/DBAdmin.lpr
Revision: 272
Committed: Mon Feb 4 13:34:37 2019 UTC (5 years, 2 months ago) by tony
File size: 2082 byte(s)
Log Message:
Fixes merged

File Contents

# Content
1 (*
2 * DBAdmin.lpr
3 * Copyright (C) 2018 Tony Whyman <tony@mwasoftware.co.uk>
4 *
5 * DBAdmin is free software: you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the
7 * Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * DBAdmin is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 * See the GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License along
16 * with this program. If not, see <http://www.gnu.org/licenses/>.
17 *)
18 program DBAdmin;
19
20 {$mode objfpc}{$H+}
21
22 uses
23 {$IFDEF UNIX}{$IFDEF UseCThreads}
24 cthreads,
25 {$ENDIF}{$ENDIF}
26 Interfaces, // this includes the LCL widgetset
27 Forms, memdslaz, MainFormUnit, DataModule, SelectSQLResultsUnit, ibexpress,
28 DBLoginDlgUnit, ShutdownRegDlgUnit, ShutdownDatabaseDlgUnit, BackupDlgUnit,
29 RestoreDlgUnit, AddSecondaryFileDlgUnit, AddShadowSetDlgUnit, AddShadowFileDlgUnit,
30 NewUserDlgUnit, ChgPasswordDlgUnit, ExecuteSQLScriptDlgUnit
31 { you can add units after this };
32
33 {$R *.res}
34
35 begin
36 RequireDerivedFormResource := True;
37 Application.Initialize;
38 Application.CreateForm(TMainForm, MainForm);
39 Application.CreateForm(TDBDataModule, DBDataModule);
40 Application.CreateForm(TDBLoginDlg, DBLoginDlg);
41 Application.CreateForm(TShutdownDatabaseDlg, ShutdownDatabaseDlg);
42 Application.CreateForm(TShutdownReqDlg, ShutdownReqDlg);
43 Application.CreateForm(TBackupDlg, BackupDlg);
44 Application.CreateForm(TRestoreDlg, RestoreDlg);
45 Application.CreateForm(TAddSecondaryFileDlg, AddSecondaryFileDlg);
46 Application.CreateForm(TAddShadowFileDlg, AddShadowFileDlg);
47 Application.CreateForm(TAddShadowSetDlg, AddShadowSetDlg);
48 Application.CreateForm(TNewUserDlg, NewUserDlg);
49 Application.CreateForm(TChgPasswordDlg, ChgPasswordDlg);
50 Application.CreateForm(TExecuteSQLScriptDlg, ExecuteSQLScriptDlg);
51 Application.Run;
52 end.
53