26#ifndef USER_INTERACTION_HPP
27#define USER_INTERACTION_HPP
29#include "//include/dar/libdar_my_config.h"
32#include "//include/dar/secu_string.hpp"
33#include "//include/dar/infinint.hpp"
59 void message(
const std::string & message);
60 void pause(
const std::string & message);
61 std::string get_string(
const std::string & message,
bool echo);
This is a pure virtual class that is used by libdar when interaction with the user is required.
virtual bool inherited_pause(const std::string &message)=0
method used to ask a boolean question to the user.
virtual void inherited_message(const std::string &message)=0
virtual std::string inherited_get_string(const std::string &message, bool echo)=0
method used to ask a question that needs an arbitrary answer.
virtual void printf(const char *format,...)
libdar uses this call to format output before send to message() method.
virtual secu_string inherited_get_secu_string(const std::string &message, bool echo)=0
same a get_string() but uses libdar::secu_string instead of std::string
libdar namespace encapsulate all libdar symbols