libstorage-ng
|
Public Member Functions | |
virtual bool | missing_command (const std::string &message, const std::string &what, const std::string &command, uint64_t used_features) const =0 |
Callback for missing commands. | |
![]() | |
![]() | |
virtual void | message (const std::string &message) const =0 |
Callback for progress messages. | |
virtual bool | error (const std::string &message, const std::string &what) const =0 |
Callback for errors. | |
|
pure virtual |
Callback for missing commands.
message is translated. what is usually not translated and may be empty. command is the missing command.
used_features reports for which storage feature the command is needed. used_features may be zero, e.g. if a command fails for which the library has hard dependencies.
If it returns true the error is ignored as good as possible.