blob: 68caf36de967680b083fe6986ba1ed321b66f493 [file] [log] [blame]
#pragma once
#include "activation.hpp"
namespace openpower
{
namespace software
{
namespace updater
{
namespace fs = std::filesystem;
/** @class ActivationMMC
* @brief Implementation for eMMC PNOR layout
*/
class ActivationMMC : public Activation
{
public:
using Activation::Activation;
~ActivationMMC() = default;
Activations activation(Activations value) override;
private:
void unitStateChange(sdbusplus::message::message& msg) override;
void startActivation() override;
void finishActivation() override;
};
} // namespace updater
} // namespace software
} // namespace openpower