The Battle for Wesnoth  1.15.2+dev
synced_choice_wait.hpp
Go to the documentation of this file.
1 /*
2  Copyright (C) 2014 - 2018 by Iris Morelle <shadowm2006@gmail.com>
3  Part of the Battle for Wesnoth Project https://www.wesnoth.org/
4 
5  This program is free software; you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation; either version 2 of the License, or
8  (at your option) any later version.
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY.
11 
12  See the COPYING file for more details.
13 */
14 
15 #pragma once
16 
18 #include "synced_user_choice.hpp"
19 #include "generic_event.hpp"
20 namespace gui2
21 {
22 class label;
23 class window;
24 namespace dialogs
25 {
27 {
28 public:
31 
33 
34 private:
37 
38  /** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
39  virtual const std::string& window_id() const override;
40 
41  /** Inherited from modal_dialog. */
42  virtual void pre_show(window& window) override;
43 
44  virtual void handle_generic_event(const std::string& event_name) override;
45 };
46 } // namespace dialogs
47 } // namespace gui2
synched_choice_wait(user_choice_manager &mgr)
Label showing a text.
Definition: label.hpp:32
Generic file dialog.
Definition: field-fwd.hpp:22
virtual void handle_generic_event(const std::string &event_name) override
virtual const std::string & window_id() const override
Inherited from modal_dialog, implemented by REGISTER_DIALOG.
Various uncategorised dialogs.
virtual void pre_show(window &window) override
Inherited from modal_dialog.
Abstract base class for all modal dialogs.
base class of top level items, the only item which needs to store the final canvases to draw on ...
Definition: window.hpp:62