The Battle for Wesnoth  1.15.1+dev
player_list_helper.hpp
Go to the documentation of this file.
1 /*
2  Copyright (C) 2017-2018 by the Battle for Wesnoth Project https://www.wesnoth.org/
3 
4  This program is free software; you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation; either version 2 of the License, or
7  (at your option) any later version.
8  This program is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY.
10 
11  See the COPYING file for more details.
12 */
13 
14 #pragma once
15 
16 #include "config.hpp"
17 
18 namespace gui2
19 {
20 class listbox;
21 class window;
22 
24 {
25 public:
26  explicit player_list_helper(window* window);
27 
28  void update_list(const config::const_child_itors& users);
29 
30 private:
32 };
33 
34 } // end namespace gui2
Definitions for the interface to Wesnoth Markup Language (WML).
Generic file dialog.
Definition: field-fwd.hpp:22
The listbox class.
Definition: listbox.hpp:40
player_list_helper(window *window)
boost::iterator_range< const_child_iterator > const_child_itors
Definition: config.hpp:238
void update_list(const config::const_child_itors &users)
base class of top level items, the only item which needs to store the final canvases to draw on ...
Definition: window.hpp:63