The Battle for Wesnoth  1.17.0-dev
lobby.hpp
Go to the documentation of this file.
1 /*
2  Copyright (C) 2009 - 2021
3  by Tomasz Sniatowski <kailoran@gmail.com>
4  Part of the Battle for Wesnoth Project https://www.wesnoth.org/
5 
6  This program is free software; you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation; either version 2 of the License, or
9  (at your option) any later version.
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY.
12 
13  See the COPYING file for more details.
14 */
15 
16 #pragma once
17 
18 #include <string>
19 
20 namespace preferences
21 {
23 void set_whisper_friends_only(bool v);
24 
27 
28 bool fi_invert();
29 void set_fi_invert(bool value);
30 
31 bool fi_vacant_slots();
32 void set_fi_vacant_slots(bool value);
33 
34 bool fi_friends_in_game();
35 void set_fi_friends_in_game(bool value);
36 
37 bool fi_blocked_in_game();
38 void set_fi_blocked_in_game(bool value);
39 } // end namespace preferences
bool fi_vacant_slots()
Definition: lobby.cpp:46
void set_fi_vacant_slots(bool value)
Definition: lobby.cpp:51
void set_fi_blocked_in_game(bool value)
Definition: lobby.cpp:71
void set_fi_friends_in_game(bool value)
Definition: lobby.cpp:61
bool whisper_friends_only()
Definition: lobby.cpp:21
bool fi_blocked_in_game()
Definition: lobby.cpp:66
bool auto_open_whisper_windows()
Definition: lobby.cpp:31
void set_fi_invert(bool value)
Definition: lobby.cpp:41
Modify, read and display user preferences.
void set_auto_open_whisper_windows(bool v)
void set_whisper_friends_only(bool v)
Definition: lobby.cpp:26
bool fi_invert()
Definition: lobby.cpp:36
bool fi_friends_in_game()
Definition: lobby.cpp:56