 |
Disk ARchive
2.6.8
Full featured and portable backup and archiving tool
|
Go to the documentation of this file.
26 #ifndef USER_INTERACTION_HPP
27 #define USER_INTERACTION_HPP
29 #include "../my_config.h"
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, ...);
virtual bool inherited_pause(const std::string &message)=0
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.
switch module to limitint (32 ou 64 bits integers) or infinint
this file contains the definition of secu_string class, a std::string like class but allocated in sec...
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 void inherited_message(const std::string &message)=0
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