The Battle for Wesnoth  1.15.12+dev
lobby.hpp
Go to the documentation of this file.
1 /*
2  Copyright (C) 2009 - 2018 by Tomasz Sniatowski <kailoran@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 
17 #include <string>
18 
19 namespace preferences
20 {
22 void set_whisper_friends_only(bool v);
23 
26 
28 
29 bool fi_invert();
30 void set_fi_invert(bool value);
31 
32 bool fi_vacant_slots();
33 void set_fi_vacant_slots(bool value);
34 
35 bool fi_friends_in_game();
36 void set_fi_friends_in_game(bool value);
37 
38 bool fi_blocked_in_game();
39 void set_fi_blocked_in_game(bool value);
40 } // end namespace preferences
bool fi_vacant_slots()
Definition: lobby.cpp:50
void set_fi_vacant_slots(bool value)
Definition: lobby.cpp:55
void set_fi_blocked_in_game(bool value)
Definition: lobby.cpp:75
void set_fi_friends_in_game(bool value)
Definition: lobby.cpp:65
bool whisper_friends_only()
Definition: lobby.cpp:20
bool fi_blocked_in_game()
Definition: lobby.cpp:70
bool auto_open_whisper_windows()
Definition: lobby.cpp:30
void set_fi_invert(bool value)
Definition: lobby.cpp:45
Modify, read and display user preferences.
void set_auto_open_whisper_windows(bool v)
void set_whisper_friends_only(bool v)
Definition: lobby.cpp:25
bool fi_invert()
Definition: lobby.cpp:40
bool fi_friends_in_game()
Definition: lobby.cpp:60
bool playerlist_group_players()
Definition: lobby.cpp:35