Prompt Class Reference

#include <prompt.h>

List of all members.

Public Member Functions

 Prompt (string prompt, QueryNamesForPrefix toQuery)
string prompt () const
QueryNamesForPrefix toQuery () const

Private Attributes

string prompt_
QueryNamesForPrefix toQuery_


Detailed Description

Represents a prompt in input mode. A prompt may also contain a query method pointer for dynamic menu support.

Definition at line 23 of file prompt.h.


Constructor & Destructor Documentation

Prompt::Prompt ( string  prompt,
QueryNamesForPrefix  toQuery 
)

Definition at line 10 of file prompt.cpp.

References prompt_, and toQuery_.


Member Function Documentation

string Prompt::prompt (  )  const

Definition at line 16 of file prompt.cpp.

References prompt_.

Referenced by InputBar::illuminate().

QueryNamesForPrefix Prompt::toQuery (  )  const

Definition at line 20 of file prompt.cpp.

References toQuery_.

Referenced by InputBar::queryText(), and InputBar::removeChar().


Member Data Documentation

string Prompt::prompt_ [private]

Definition at line 35 of file prompt.h.

Referenced by prompt(), and Prompt().

QueryNamesForPrefix Prompt::toQuery_ [private]

Definition at line 36 of file prompt.h.

Referenced by Prompt(), and toQuery().


The documentation for this class was generated from the following files:
Generated on Thu May 24 15:20:23 2007 for ncwm by  doxygen 1.5.1