29 #ifndef USER_INTERACTION_BLIND_HPP
30 #define USER_INTERACTION_BLIND_HPP
32 #include "../my_config.h"
58 virtual bool inherited_pause(
const std::string & message)
override {
return false; };
59 virtual std::string
inherited_get_string(
const std::string & message,
bool echo)
override {
return "user_interaction_blind, is blindly answering no"; };
full implementation class for user_interaction, which shows nothing and assumes answer "no" to any qu...
virtual secu_string inherited_get_secu_string(const std::string &message, bool echo) override
same a get_string() but uses libdar::secu_string instead of std::string
virtual void inherited_message(const std::string &message) override
virtual std::string inherited_get_string(const std::string &message, bool echo) override
method used to ask a question that needs an arbitrary answer.
virtual bool inherited_pause(const std::string &message) override
method used to ask a boolean question to the user.
This is a pure virtual class that is used by libdar when interaction with the user is required.
libdar namespace encapsulate all libdar symbols
this file contains the definition of secu_string class, a std::string like class but allocated in sec...
defines the interaction interface between libdar and users.