ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/public/ibx/trunk/examples/DBAdmin/DBAdmin.lpr
Revision: 231
Committed: Mon Apr 16 08:32:21 2018 UTC (6 years ago) by tony
File size: 2082 byte(s)
Log Message:
Fixes merged

File Contents

# User Rev Content
1 tony 158 (*
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 tony 231 Forms, memdslaz, MainFormUnit, DataModule, SelectSQLResultsUnit, ibexpress,
28 tony 158 DBLoginDlgUnit, ShutdownRegDlgUnit, ShutdownDatabaseDlgUnit, BackupDlgUnit,
29     RestoreDlgUnit, AddSecondaryFileDlgUnit, AddShadowSetDlgUnit, AddShadowFileDlgUnit,
30 tony 231 NewUserDlgUnit, ChgPasswordDlgUnit, ExecuteSQLScriptDlgUnit
31 tony 158 { 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(TDatabaseData, DatabaseData);
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 tony 231 Application.CreateForm(TExecuteSQLScriptDlg, ExecuteSQLScriptDlg);
51 tony 158 Application.Run;
52     end.
53