Advanced Strategic Command
unitnaming.h
Go to the documentation of this file.
1 /***************************************************************************
2  * *
3  * This program is free software; you can redistribute it and/or modify *
4  * it under the terms of the GNU General Public License as published by *
5  * the Free Software Foundation; either version 2 of the License, or *
6  * (at your option) any later version. *
7  * *
8  ***************************************************************************/
9 
10 #ifndef unitnamingH
11 #define unitnamingH
12 
13 #include "../paradialog.h"
14 
15 class PG_LineEdit;
16 class ContainerBase;
17 
18 class UnitNaming: public ASC_PG_Dialog {
19  PG_LineEdit* publicName;
20  PG_LineEdit* privateName;
21  ContainerBase* unit;
22 
23  bool ok();
24  bool cancel();
25  static const int border = 20;
26  bool line1completed();
27  public:
28  UnitNaming ( ContainerBase* unit );
29  int RunModal();
30 };
31 
32 
33 
34 
35 #endif
int RunModal()
Definition: unitnaming.cpp:63
Adapter class for using Paragui Dialogs in ASC. This class transfers the event control from ASC to Pa...
Definition: paradialog.h:127
UnitNaming(ContainerBase *unit)
Definition: unitnaming.cpp:43
The parent class of Vehicle and Building; The name Container originates from Battle Isle...
Definition: containerbase.h:40