00001 /* $Id: lobby_preferences.hpp 52533 2012-01-07 02:35:17Z shadowmaster $ */ 00002 /* 00003 Copyright (C) 2009 - 2012 by Tomasz Sniatowski <kailoran@gmail.com> 00004 Part of the Battle for Wesnoth Project http://www.wesnoth.org/ 00005 00006 This program is free software; you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License as published by 00008 the Free Software Foundation; either version 2 of the License, or 00009 (at your option) any later version. 00010 This program is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY. 00012 00013 See the COPYING file for more details. 00014 */ 00015 00016 #ifndef LOBBY_PREFERENCES_HPP_INCLUDED 00017 #define LOBBY_PREFERENCES_HPP_INCLUDED 00018 00019 #include <string> 00020 00021 namespace preferences { 00022 00023 bool lobby_sounds(); 00024 00025 bool sort_list(); 00026 void _set_sort_list(bool show); 00027 00028 bool iconize_list(); 00029 void _set_iconize_list(bool show); 00030 00031 bool whisper_friends_only(); 00032 void set_whisper_friends_only(bool v); 00033 00034 bool auto_open_whisper_windows(); 00035 void set_auto_open_whisper_windows(bool v); 00036 00037 bool playerlist_sort_relation(); 00038 void set_playerlist_sort_relation(bool v); 00039 00040 bool playerlist_sort_name(); 00041 void set_playerlist_sort_name(bool v); 00042 00043 bool playerlist_group_players(); 00044 00045 bool filter_lobby(); 00046 void set_filter_lobby(bool value); 00047 00048 bool fi_invert(); 00049 void set_fi_invert(bool value); 00050 00051 bool fi_vacant_slots(); 00052 void set_fi_vacant_slots(bool value); 00053 00054 bool fi_friends_in_game(); 00055 void set_fi_friends_in_game(bool value); 00056 00057 std::string fi_text(); 00058 void set_fi_text(const std::string& search_string); 00059 } //end namespace preferences 00060 00061 00062 #endif
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:03:03 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |