1 #pragma once
2 
3 #include "activation.hpp"
4 
5 #include <filesystem>
6 
7 namespace openpower
8 {
9 namespace software
10 {
11 namespace updater
12 {
13 
14 namespace fs = std::filesystem;
15 
16 /** @class ActivationStatic
17  *  @brief Implementation for static PNOR layout
18  */
19 class ActivationStatic : public Activation
20 {
21   public:
22     using Activation::Activation;
23     ~ActivationStatic() = default;
24     Activations activation(Activations value) override;
25 
26   private:
27     void unitStateChange(sdbusplus::message::message& msg) override;
28     void startActivation() override;
29     void finishActivation() override;
30 
31     std::string pnorUpdateUnit;
32 
33     fs::path pnorFilePath;
34 };
35 
36 } // namespace updater
37 } // namespace software
38 } // namespace openpower
39