Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends

gui2::tmp_connect Class Reference

#include <mp_connect.hpp>

Inheritance diagram for gui2::tmp_connect:
Inheritance graph
[legend]
Collaboration diagram for gui2::tmp_connect:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 tmp_connect ()

Private Member Functions

virtual const std::string & window_id () const
 Inherited from tdialog, implemented by REGISTER_DIALOG.
void pre_show (CVideo &video, twindow &window)
 Inherited from tdialog.

Static Private Member Functions

static tdialogmp_server_list_for_unit_test ()
 The unit test needs to be able to test the tmp_connect dialog.

Private Attributes

tfield_texthost_name_
 The host name of the selected servef.

Friends

tdialogunit_test_mp_server_list ()
 The unit test needs to be able to test the tmp_connect dialog.

Detailed Description

Definition at line 23 of file mp_connect.hpp.


Constructor & Destructor Documentation

gui2::tmp_connect::tmp_connect (  ) 

Definition at line 145 of file mp_connect.cpp.


Member Function Documentation

tdialog * gui2::tmp_connect::mp_server_list_for_unit_test (  )  [static, private]

The unit test needs to be able to test the tmp_connect dialog.

Returns:
A newly allocated tmp_server_list.

Definition at line 170 of file mp_connect.cpp.

References gui2::event::connect_signal_mouse_left_click(), host_name_, and gui2::show_server_list().

Here is the call graph for this function:

void gui2::tmp_connect::pre_show ( CVideo video,
twindow window 
) [private, virtual]

Inherited from tdialog.

Reimplemented from gui2::tdialog.

Definition at line 154 of file mp_connect.cpp.

virtual const std::string& gui2::tmp_connect::window_id (  )  const [private, virtual]

Inherited from tdialog, implemented by REGISTER_DIALOG.

Implements gui2::tdialog.


Friends And Related Function Documentation

tdialog* unit_test_mp_server_list (  )  [friend]

The unit test needs to be able to test the tmp_connect dialog.

Definition at line 103 of file test_gui2.cpp.


Member Data Documentation

The host name of the selected servef.

Definition at line 39 of file mp_connect.hpp.

Referenced by mp_server_list_for_unit_test().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Thu May 24 2012 01:22:33 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs