#include <msg.h>
Public Member Functions | |
Question (void) | |
Question (std::string msg) | |
Question (const char *msgfmt,...) | |
void | printMessage (void) const |
bool | getAnswer (void) |
Private Attributes | |
std::string | yeschar |
std::string | nochar |
Question::Question | ( | void | ) |
Question::Question | ( | std::string | msg | ) |
Question::Question | ( | const char * | msgfmt, | |
... | ||||
) |
bool Question::getAnswer | ( | void | ) |
wait for the user to answer the question (should be printed before)
void Question::printMessage | ( | void | ) | const [virtual] |
Implements MessageBase.
std::string Question::nochar [private] |
std::string Question::yeschar [private] |