blob: 258a6126d9dc815369fff79e8b1e27d40d817c14 [file] [log] [blame]
#pragma once
#include "activation.hpp"
#include <filesystem>
namespace openpower
{
namespace software
{
namespace updater
{
namespace fs = std::filesystem;
/** @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;
fs::path pnorFilePath;
};
} // namespace updater
} // namespace software
} // namespace openpower