GME
13
|
#include <Prompter.h>
Public Member Functions | |
TextPromptImpl () | |
virtual | ~TextPromptImpl () |
virtual bool | prompt (const char *realm, const char *pi_username, bool maySave) |
virtual bool | askYesNo (const char *realm, const char *question, bool yesIsDefault) |
virtual int | askTrust (const char *question, bool maySave) |
virtual std::string | askQuestion (const char *realm, const char *question, bool showAnswer, bool maySave) |
virtual std::string | password () |
virtual std::string | username () |
Protected Types | |
enum | EntryType { UserName, Password } |
Protected Member Functions | |
std::string | readcnf (const EntryType &p_type) |
Protected Attributes | |
std::string | m_uName |
std::string | m_pWord |
std::string | m_answer |
Definition at line 69 of file Prompter.h.
enum TextPromptImpl::EntryType [protected] |
Definition at line 75 of file Prompter.h.
virtual TextPromptImpl::~TextPromptImpl | ( | ) | [virtual] |
virtual std::string TextPromptImpl::askQuestion | ( | const char * | realm, |
const char * | question, | ||
bool | showAnswer, | ||
bool | maySave | ||
) | [virtual] |
Implements PromptImpl.
virtual int TextPromptImpl::askTrust | ( | const char * | question, |
bool | maySave | ||
) | [virtual] |
Implements PromptImpl.
virtual bool TextPromptImpl::askYesNo | ( | const char * | realm, |
const char * | question, | ||
bool | yesIsDefault | ||
) | [virtual] |
Implements PromptImpl.
virtual std::string TextPromptImpl::password | ( | ) | [virtual] |
Implements PromptImpl.
virtual bool TextPromptImpl::prompt | ( | const char * | realm, |
const char * | pi_username, | ||
bool | maySave | ||
) | [virtual] |
Implements PromptImpl.
std::string TextPromptImpl::readcnf | ( | const EntryType & | p_type | ) | [protected] |
virtual std::string TextPromptImpl::username | ( | ) | [virtual] |
Implements PromptImpl.
std::string TextPromptImpl::m_answer [protected] |
Definition at line 82 of file Prompter.h.
std::string TextPromptImpl::m_pWord [protected] |
Definition at line 73 of file Prompter.h.
std::string TextPromptImpl::m_uName [protected] |
Definition at line 72 of file Prompter.h.