Emergency 20 Dokumentation  4.2.0
DebugGuiWindow.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 //[-------------------------------------------------------]
14 #include <qsf/gui/GuiDocument.h>
15 #include <qsf/job/JobProxy.h>
16 
17 
18 //[-------------------------------------------------------]
19 //[ Forward declarations ]
20 //[-------------------------------------------------------]
21 namespace em5
22 {
23  class DebugEventFunctionWindow;
24 }
25 
26 
27 //[-------------------------------------------------------]
28 //[ Namespace ]
29 //[-------------------------------------------------------]
30 namespace em5
31 {
32 
33 
34  //[-------------------------------------------------------]
35  //[ Classes ]
36  //[-------------------------------------------------------]
42  {
43 
44 
45  //[-------------------------------------------------------]
46  //[ Public methods ]
47  //[-------------------------------------------------------]
48  public:
49  explicit DebugGuiWindow(qsf::GuiContext& guiContext);
51 
53 
54 
55  //[-------------------------------------------------------]
56  //[ Public virtual qsf::GuiDocument methods ]
57  //[-------------------------------------------------------]
58  public:
59  virtual void processEvent(const std::string& eventKey, Rocket::Core::Event& event) override;
60 
61 
62  //[-------------------------------------------------------]
63  //[ Private methods ]
64  //[-------------------------------------------------------]
65  private:
66  // Message reactions
67  void onEndVideo(const qsf::MessageParameters& messageParameters);
68 
69 
70  //[-------------------------------------------------------]
71  //[ Private data ]
72  //[-------------------------------------------------------]
73  private:
74  qsf::JobProxy mUpdateJobProxy;
75  qsf::MessageProxy mEndVideoMessageProxy;
76 
77  DebugEventFunctionWindow* mDebugEventFunctionWindow;
78 
79 
80  };
81 
82 
83 //[-------------------------------------------------------]
84 //[ Namespace ]
85 //[-------------------------------------------------------]
86 } // em5
Definition: ActionPriority.h:13
Job proxy class.
Definition: JobProxy.h:51
In-game debug window for triggering specific actions for the running event.
Definition: DebugEventFunctionWindow.h:41
Message parameters class.
Definition: MessageParameters.h:34
Graphical User Interface (GUI) document base class.
Definition: GuiDocument.h:51
Debug GUI window.
Definition: DebugGuiWindow.h:41
DebugEventFunctionWindow & getDebugEventFunctionWindow(bool recreate=false)
Message listener proxy class.
Definition: MessageProxy.h:47
virtual void processEvent(const std::string &eventKey, Rocket::Core::Event &event) override
Ingame Graphical User Interface (GUI) context class.
Definition: GuiContext.h:62
DebugGuiWindow(qsf::GuiContext &guiContext)