blob: 59407c6c29742c355aa1109cc0715fbd55ba8936 [file] [log] [blame]
#pragma once
#include "status.hpp"
#include <memory>
#include <string>
namespace ipmi_flash
{
class VerificationInterface
{
public:
virtual ~VerificationInterface() = default;
/**
* Trigger verification service.
*
* @return true if successfully started, false otherwise.
*/
virtual bool triggerVerification() = 0;
/** Abort the verification process. */
virtual void abortVerification() = 0;
/** Check the current state of the verification process. */
virtual VerifyCheckResponses checkVerificationState() = 0;
};
} // namespace ipmi_flash