mp::chat Class Reference

#include <multiplayer_ui.hpp>

List of all members.

Public Member Functions

 chat ()
void add_message (const time_t &time, const std::string &user, const std::string &message)
void init_textbox (gui::textbox &textbox)
void update_textbox (gui::textbox &textbox)

Private Types

typedef std::deque< msgmsg_hist

Private Member Functions

std::string format_message (const msg &message)

Private Attributes

msg_hist message_history_
msg_hist::size_type last_update_

Classes

struct  msg


Detailed Description

Definition at line 43 of file multiplayer_ui.hpp.


Member Typedef Documentation

typedef std::deque<msg> mp::chat::msg_hist [private]

Definition at line 62 of file multiplayer_ui.hpp.


Constructor & Destructor Documentation

mp::chat::chat (  ) 

Definition at line 175 of file multiplayer_ui.cpp.


Member Function Documentation

void mp::chat::add_message ( const time_t &  time,
const std::string &  user,
const std::string &  message 
)

void mp::chat::init_textbox ( gui::textbox textbox  ) 

void mp::chat::update_textbox ( gui::textbox textbox  ) 

std::string mp::chat::format_message ( const msg message  )  [private]


Member Data Documentation

Definition at line 66 of file multiplayer_ui.hpp.

Referenced by add_message(), init_textbox(), and update_textbox().

msg_hist::size_type mp::chat::last_update_ [private]

Definition at line 67 of file multiplayer_ui.hpp.

Referenced by add_message(), init_textbox(), and update_textbox().


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

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