26#ifndef USER_INTERACTION_HPP
27#define USER_INTERACTION_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);
62 secu_string get_secu_string(
const std::string & message,
bool echo);
73 virtual void printf(
const char *format, ...);
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
switch module to limitint (32 ou 64 bits integers) or infinint
include macro defined by the configure script and some specific additional ones
libdar namespace encapsulate all libdar symbols
this file contains the definition of secu_string class, a std::string like class but allocated in sec...