The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
depcheck_confirm_change.hpp
Go to the documentation of this file.
1 /*
2  Copyright (C) 2012 - 2016 by Boldizsár Lipka <[email protected]>
3  Part of the Battle for Wesnoth Project http://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 #ifndef GUI_DIALOGS_MP_DEPCHECK_CONFIRM_CHANGE_HPP_INCLUDED
16 #define GUI_DIALOGS_MP_DEPCHECK_CONFIRM_CHANGE_HPP_INCLUDED
17 
18 #include "gui/dialogs/dialog.hpp"
19 #include <vector>
20 #include <string>
21 
22 namespace gui2
23 {
24 
26 {
27 public:
28  /**
29  * Constructor.
30  *
31  * @param action true if the listed modifications are to be enabled,
32  * false if they're to be disabled
33  * @param mods the names of the affected modifications
34  * @param requester the name of the component which requests the change
35  *
36  */
37  tdepcheck_confirm_change(bool action,
38  const std::vector<std::string>& mods,
39  const std::string& requester);
40 
41 protected:
42  /** Inherited from tdialog, implemented by REGISTER_DIALOG. */
43  virtual const std::string& window_id() const;
44 };
45 
46 } // namespace gui2
47 
48 #endif
A class inherited from ttext_box that displays its input as stars.
Definition: field-fwd.hpp:23
Abstract base class for all dialogs.
Definition: dialog.hpp:121
tdepcheck_confirm_change(bool action, const std::vector< std::string > &mods, const std::string &requester)
Constructor.
GLsizei const GLcharARB ** string
Definition: glew.h:4503
virtual const std::string & window_id() const
Inherited from tdialog, implemented by REGISTER_DIALOG.