The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
gui2::side_controller Class Reference

Public Member Functions

 side_controller (const std::string &name, tmp_change_control::model &m, int side_number)
 
 ~side_controller ()
 
std::string name () const
 
int side_number () const
 
void show_nicks_list ()
 
void handle_nicks_list_selection ()
 
void update_view_from_model ()
 

Private Attributes

tmp_change_control::modelmodel_
 
std::string const name_
 
int side_number_
 

Detailed Description

Definition at line 145 of file mp_change_control.cpp.

Constructor & Destructor Documentation

gui2::side_controller::side_controller ( const std::string name,
tmp_change_control::model m,
int  side_number 
)
inline

Definition at line 148 of file mp_change_control.cpp.

gui2::side_controller::~side_controller ( )
inline

Definition at line 155 of file mp_change_control.cpp.

Member Function Documentation

void gui2::side_controller::handle_nicks_list_selection ( )
inline
std::string gui2::side_controller::name ( ) const
inline

Definition at line 159 of file mp_change_control.cpp.

References name_.

void gui2::side_controller::show_nicks_list ( )
inline
int gui2::side_controller::side_number ( ) const
inline

Definition at line 164 of file mp_change_control.cpp.

References side_number_.

void gui2::side_controller::update_view_from_model ( )
inline

Definition at line 213 of file mp_change_control.cpp.

References show_nicks_list().

Member Data Documentation

tmp_change_control::model& gui2::side_controller::model_
private

Definition at line 219 of file mp_change_control.cpp.

Referenced by handle_nicks_list_selection(), and show_nicks_list().

std::string const gui2::side_controller::name_
private

Definition at line 220 of file mp_change_control.cpp.

Referenced by name().

int gui2::side_controller::side_number_
private

Definition at line 221 of file mp_change_control.cpp.

Referenced by show_nicks_list(), and side_number().


The documentation for this class was generated from the following file: