ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/public/ibx/trunk/examples/DBAdmin/DBAdmin.lpr
Revision: 158
Committed: Thu Mar 1 11:23:33 2018 UTC (6 years, 1 month ago) by tony
File size: 1966 byte(s)
Log Message:
Repository resync

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     Forms, memdslaz, MainFormUnit, DataModule, ibexpress,
28     DBLoginDlgUnit, ShutdownRegDlgUnit, ShutdownDatabaseDlgUnit, BackupDlgUnit,
29     RestoreDlgUnit, AddSecondaryFileDlgUnit, AddShadowSetDlgUnit, AddShadowFileDlgUnit,
30     NewUserDlgUnit, ChgPasswordDlgUnit
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(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     Application.Run;
51     end.
52