/* * TextDialog.cpp * * Created on: Jan 5, 2010 * Author: crueger */ #include #include "TextDialog.hpp" #include "log.hpp" #include "verbose.hpp" using namespace std; TextDialog::TextDialog() { // TODO Auto-generated constructor stub } TextDialog::~TextDialog() { // TODO Auto-generated destructor stub } void TextDialog::handleInt(std::string title, int *target) { Log() << Verbose(0) << title; cin >> (*target); } void TextDialog::handleString(std::string title, string *target) { string input; Log() << Verbose(0) << title; cin >> (*target); }