#include <mp_cmd_wrapper.hpp>


Public Member Functions | |
| tmp_cmd_wrapper (const t_string &user) | |
| Constructor. | |
| const std::string & | message () const |
| const std::string & | reason () const |
| const std::string & | time () const |
Private Member Functions | |
| void | pre_show (CVideo &video, twindow &window) |
| Inherited from tdialog. | |
| virtual const std::string & | window_id () const |
| Inherited from tdialog, implemented by REGISTER_DIALOG. | |
Private Attributes | |
| std::string | message_ |
| The message to send to another user. | |
| std::string | reason_ |
| The reason for an action; kick, ban. | |
| std::string | time_ |
| The duration of a ban. | |
Definition at line 24 of file mp_cmd_wrapper.hpp.
| gui2::tmp_cmd_wrapper::tmp_cmd_wrapper | ( | const t_string & | user | ) | [explicit] |
Constructor.
The text which shows the selected user.
Definition at line 70 of file mp_cmd_wrapper.cpp.
| const std::string& gui2::tmp_cmd_wrapper::message | ( | ) | const [inline] |
Definition at line 37 of file mp_cmd_wrapper.hpp.
References message_.
Referenced by mp::ui::handle_event().

Inherited from tdialog.
Reimplemented from gui2::tdialog.
Definition at line 83 of file mp_cmd_wrapper.cpp.
| const std::string& gui2::tmp_cmd_wrapper::reason | ( | ) | const [inline] |
Definition at line 38 of file mp_cmd_wrapper.hpp.
References reason_.
Referenced by mp::ui::handle_event().

| const std::string& gui2::tmp_cmd_wrapper::time | ( | ) | const [inline] |
Definition at line 39 of file mp_cmd_wrapper.hpp.
References time_.
Referenced by mp::ui::handle_event().

| virtual const std::string& gui2::tmp_cmd_wrapper::window_id | ( | ) | const [private, virtual] |
Inherited from tdialog, implemented by REGISTER_DIALOG.
Implements gui2::tdialog.
std::string gui2::tmp_cmd_wrapper::message_ [private] |
The message to send to another user.
Definition at line 44 of file mp_cmd_wrapper.hpp.
Referenced by message().
std::string gui2::tmp_cmd_wrapper::reason_ [private] |
The reason for an action; kick, ban.
Definition at line 47 of file mp_cmd_wrapper.hpp.
Referenced by reason().
std::string gui2::tmp_cmd_wrapper::time_ [private] |
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:22:33 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |