EditorNewAccount Class Reference

Inheritance diagram for EditorNewAccount:

Inheritance graph
[legend]

List of all members.

Public Member Functions

void OnEmptyLine ()
 This function is called whenever the user sends an empty line.
void OnLine (const std::string &line)
 This function is called whenever a user sends a line.
std::string name ()
 Returns the name of this editor.
bool canReceiveChannel (mud::ChannelPtr channel) const
 Whether the current editor is capable of receiving messages from the specified channel.
bool supportPrefixes () const
 Whether prefixes should be handled in the current editor.


Detailed Description

Definition at line 25 of file EditorNewAccount.h.


Member Function Documentation

void EditorNewAccount::OnEmptyLine (  )  [virtual]

This function is called whenever the user sends an empty line.

Reimplemented from Editor.

void EditorNewAccount::OnLine ( const std::string &  line  )  [virtual]

This function is called whenever a user sends a line.

The default implementation will handle the input and use lookup to find the matching command. If matched it will dispatch it with the dispatch functions.

See also:
lookup

dispatch

Reimplemented from Editor.

std::string EditorNewAccount::name (  )  [inline, virtual]

Returns the name of this editor.

Implements Editor.

Definition at line 33 of file EditorNewAccount.h.

bool EditorNewAccount::canReceiveChannel ( mud::ChannelPtr  channel  )  const [virtual]

Whether the current editor is capable of receiving messages from the specified channel.

Reimplemented from Editor.

bool EditorNewAccount::supportPrefixes (  )  const [virtual]

Whether prefixes should be handled in the current editor.

Reimplemented from Editor.


Generated for UnsignedByte by  doxygen 1.5.3
SourceForge.net Logo