The Battle for Wesnoth  1.19.0-dev
player_list_helper.hpp
Go to the documentation of this file.
1 /*
2  Copyright (C) 2017 - 2024
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 
17 #include "config.hpp"
18 
19 namespace gui2
20 {
21 class listbox;
22 class window;
23 
25 {
26 public:
27  explicit player_list_helper(window* window);
28 
29  void update_list(const config::const_child_itors& users);
30 
31 private:
33 };
34 
35 } // end namespace gui2
boost::iterator_range< const_child_iterator > const_child_itors
Definition: config.hpp:283
The listbox class.
Definition: listbox.hpp:43
void update_list(const config::const_child_itors &users)
player_list_helper(window *window)
base class of top level items, the only item which needs to store the final canvases to draw on.
Definition: window.hpp:63
Generic file dialog.