libstorage-ng
Loading...
Searching...
No Matches
storage::Callbacks Class Referenceabstract
Inheritance diagram for storage::Callbacks:
[legend]

Public Member Functions

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.

Member Function Documentation

◆ error()

virtual bool storage::Callbacks::error ( const std::string & message,
const std::string & what ) const
pure virtual

Callback for errors.

message is translated. what is usually not translated and may be empty.

If it returns true the error is ignored as good as possible.

◆ message()

virtual void storage::Callbacks::message ( const std::string & message) const
pure virtual

Callback for progress messages.

message is translated.


The documentation for this class was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/libstorage-ng-4.5.253-build/libstorage-ng-4.5.253/storage/Utils/Callbacks.h