Specialized callbacks with a more generic parameter for Bitlocker activation. More...
#include <Storage.h>
Public Member Functions | |
virtual void | begin () const |
Called at the begin of activation. | |
virtual void | end () const |
Called at the end of activation. | |
virtual std::pair< bool, std::string > | bitlocker (const BitlockerInfo &bitlocker_info, int attempt) const =0 |
Decide whether the BitLocker should be activated. | |
![]() | |
virtual std::pair< bool, std::string > | luks (const LuksInfo &luks_info, int attempt) const =0 |
Decide whether the LUKS should be activated. | |
![]() | |
virtual bool | multipath (bool looks_like_real_multipath) const =0 |
Decide whether multipath should be activated. | |
virtual std::pair< bool, std::string > | luks (const std::string &uuid, int attempt) const =0 |
Decide whether the LUKS with uuid should be activated. | |
![]() | |
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. | |
Specialized callbacks with a more generic parameter for Bitlocker activation.
|
pure virtual |
Decide whether the BitLocker should be activated.
Parameter "info" contains all known information about the BitLocker device.