events::chat_command_handler Class Reference

Inheritance diagram for events::chat_command_handler:

Inheritance graph
[legend]
Collaboration diagram for events::chat_command_handler:

Collaboration graph
[legend]

List of all members.

Public Types

typedef map_command_handler
< chat_command_handler
map

Public Member Functions

 chat_command_handler (chat_handler &chathandler, bool allies_only)

Protected Member Functions

void do_emote ()
void do_network_send ()
void do_whisper ()
void do_log ()
void do_ignore ()
void do_friend ()
void do_remove ()
void do_display ()
void do_version ()
void print (const std::string &title, const std::string &message)
void init_map ()

Private Attributes

chat_handlerchat_handler_
bool allies_only_


Detailed Description

Definition at line 2196 of file menu_events.cpp.


Member Typedef Documentation

Definition at line 2199 of file menu_events.cpp.


Constructor & Destructor Documentation

events::chat_command_handler::chat_command_handler ( chat_handler chathandler,
bool  allies_only 
) [inline]

Definition at line 2200 of file menu_events.cpp.


Member Function Documentation

void events::chat_command_handler::do_emote (  )  [protected]

void events::chat_command_handler::do_network_send (  )  [protected]

void events::chat_command_handler::do_whisper (  )  [protected]

void events::chat_command_handler::do_log (  )  [protected]

void events::chat_command_handler::do_ignore (  )  [protected]

void events::chat_command_handler::do_friend (  )  [protected]

void events::chat_command_handler::do_remove (  )  [protected]

void events::chat_command_handler::do_display (  )  [protected]

Definition at line 2577 of file menu_events.cpp.

References _, preferences::get_friends(), preferences::get_ignores(), and print().

Referenced by init_map().

void events::chat_command_handler::do_version (  )  [protected]

Definition at line 2590 of file menu_events.cpp.

References print(), and game_config::revision.

Referenced by init_map().

void events::chat_command_handler::print ( const std::string &  title,
const std::string &  message 
) [inline, protected, virtual]

Implements events::map_command_handler< Worker >.

Reimplemented in events::console_handler.

Definition at line 2216 of file menu_events.cpp.

Referenced by do_display(), do_friend(), do_ignore(), do_remove(), and do_version().

void events::chat_command_handler::init_map (  )  [inline, protected, virtual]


Member Data Documentation

Definition at line 2261 of file menu_events.cpp.

Referenced by do_emote(), do_log(), do_network_send(), and do_whisper().

Definition at line 2262 of file menu_events.cpp.

Referenced by do_emote().


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

Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs