Emergency 20 Dokumentation  4.2.0
LicenseTextDialog.h
Go to the documentation of this file.
1 // Copyright (C) 2012-2018 Promotion Software GmbH
2 
3 
4 //[-------------------------------------------------------]
5 //[ Header guard ]
6 //[-------------------------------------------------------]
7 #pragma once
8 
9 
10 //[-------------------------------------------------------]
11 //[ Includes ]
12 //[-------------------------------------------------------]
13 #include <qsf/gui/GuiDocument.h>
14 
15 
16 //[-------------------------------------------------------]
17 //[ Namespace ]
18 //[-------------------------------------------------------]
19 namespace em5
20 {
21 
22 
23  //[-------------------------------------------------------]
24  //[ Classes ]
25  //[-------------------------------------------------------]
31  {
32 
33 
34  //[-------------------------------------------------------]
35  //[ Public methods ]
36  //[-------------------------------------------------------]
37  public:
42  explicit LicenseTextDialog(qsf::GuiContext& guiContext);
43 
48  virtual ~LicenseTextDialog();
49 
50 
51  //[-------------------------------------------------------]
52  //[ Public virtual qsf::GuiDocument methods ]
53  //[-------------------------------------------------------]
54  public:
55  virtual void processEvent(const std::string& eventKey, Rocket::Core::Event& event) override;
56 
57 
58  //[-------------------------------------------------------]
59  //[ Private virtual qsf::GuiDocument methods ]
60  //[-------------------------------------------------------]
61  private:
62  virtual bool onPreShow() override;
63 
64 
65  //[-------------------------------------------------------]
66  //[ Private methods ]
67  //[-------------------------------------------------------]
68  private:
69  void abortProgram(bool state);
70 
71 
72  };
73 
74 
75 //[-------------------------------------------------------]
76 //[ Namespace ]
77 //[-------------------------------------------------------]
78 } // em5
Definition: ActionPriority.h:13
Graphical User Interface (GUI) document base class.
Definition: GuiDocument.h:51
LicenseTextDialog(qsf::GuiContext &guiContext)
Constructor.
Ingame Graphical User Interface (GUI) context class.
Definition: GuiContext.h:62
virtual ~LicenseTextDialog()
Destructor.
virtual void processEvent(const std::string &eventKey, Rocket::Core::Event &event) override
EMERGENCY 5 license text dialog window GUI.
Definition: LicenseTextDialog.h:30