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