ChannelTab Class Reference

#include <channeltab.h>

Inheritance diagram for ChannelTab:

ChatTab Tab

List of all members.


Detailed Description

A tab for a chat channel.

Definition at line 32 of file channeltab.h.


Public Member Functions

ChannelgetChannel () const
void showHelp ()
 Add any extra help text to the output.
bool handleCommand (const std::string &type, const std::string &args)
 Handle special commands.

Protected Member Functions

 ChannelTab (Channel *channel)
 Constructor.
 ~ChannelTab ()
 Destructor.
void handleInput (const std::string &msg)

Private Attributes

ChannelmChannel

Friends

class Channel

Constructor & Destructor Documentation

ChannelTab::ChannelTab ( Channel channel  )  [protected]

Constructor.

Definition at line 31 of file channeltab.cpp.

ChannelTab::~ChannelTab (  )  [protected]

Destructor.

Definition at line 38 of file channeltab.cpp.


Member Function Documentation

Channel* ChannelTab::getChannel (  )  const [inline]

Definition at line 36 of file channeltab.h.

void ChannelTab::showHelp (  )  [virtual]

Add any extra help text to the output.

Allows tabs to define help for commands defined by the tab itself.

Reimplemented from ChatTab.

Definition at line 47 of file channeltab.cpp.

bool ChannelTab::handleCommand ( const std::string &  type,
const std::string &  args 
) [virtual]

Handle special commands.

Allows a tab to handle commands it defines itself.

Returns:
true if the command was handled false if the command was not handled

Reimplemented from ChatTab.

Definition at line 56 of file channeltab.cpp.

void ChannelTab::handleInput ( const std::string &  msg  )  [protected, virtual]

Reimplemented from ChatTab.

Definition at line 42 of file channeltab.cpp.


Friends And Related Function Documentation

friend class Channel [friend]

Definition at line 44 of file channeltab.h.


Member Data Documentation

Definition at line 59 of file channeltab.h.


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

Generated on Sun Apr 26 17:30:43 2009 for The Mana World by  doxygen 1.5.5