Disk ARchive
2.7.15
Full featured and portable backup and archiving tool
|
full implementation class for user_interaction, which shows nothing and assumes answer "no" to any question More...
#include <user_interaction_blind.hpp>
Public Member Functions | |
user_interaction_blind (const user_interaction_blind &ref)=default | |
user_interaction_blind (user_interaction_blind &&ref) noexcept=default | |
user_interaction_blind & | operator= (const user_interaction_blind &ref)=default |
user_interaction_blind & | operator= (user_interaction_blind &&ref) noexcept=default |
Public Member Functions inherited from libdar::user_interaction | |
user_interaction (const user_interaction &ref)=default | |
user_interaction (user_interaction &&ref) noexcept=default | |
user_interaction & | operator= (const user_interaction &ref)=default |
user_interaction & | operator= (user_interaction &&ref) noexcept=default |
void | message (const std::string &message) |
void | pause (const std::string &message) |
std::string | get_string (const std::string &message, bool echo) |
secu_string | get_secu_string (const std::string &message, bool echo) |
virtual void | printf (const char *format,...) |
libdar uses this call to format output before send to message() method. More... | |
Protected Member Functions | |
virtual void | inherited_message (const std::string &message) override |
virtual bool | inherited_pause (const std::string &message) override |
method used to ask a boolean question to the user. More... | |
virtual std::string | inherited_get_string (const std::string &message, bool echo) override |
method used to ask a question that needs an arbitrary answer. More... | |
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 More... | |
full implementation class for user_interaction, which shows nothing and assumes answer "no" to any question
Definition at line 46 of file user_interaction_blind.hpp.
|
inlineoverrideprotectedvirtual |
same a get_string() but uses libdar::secu_string instead of std::string
[in] | message | is the question to display to the user. |
[in] | echo | is set to false is the answer must not be shown while the user answers. |
Implements libdar::user_interaction.
Definition at line 60 of file user_interaction_blind.hpp.
|
inlineoverrideprotectedvirtual |
method used to ask a question that needs an arbitrary answer.
[in] | message | is the question to display to the user. |
[in] | echo | is set to false is the answer must not be shown while the user answers. |
Implements libdar::user_interaction.
Definition at line 59 of file user_interaction_blind.hpp.
|
inlineoverrideprotectedvirtual |
method used to display a warning or a message to the user.
[in] | message | is the message to display. |
Implements libdar::user_interaction.
Definition at line 57 of file user_interaction_blind.hpp.
|
inlineoverrideprotectedvirtual |
method used to ask a boolean question to the user.
[in] | message | The boolean question to ask to the user |
Implements libdar::user_interaction.
Definition at line 58 of file user_interaction_blind.hpp.