Lei YU | b53425d | 2019-02-22 11:38:40 +0800 | [diff] [blame^] | 1 | #pragma once |
| 2 | |
| 3 | #include "activation.hpp" |
| 4 | |
| 5 | namespace openpower |
| 6 | { |
| 7 | namespace software |
| 8 | { |
| 9 | namespace updater |
| 10 | { |
| 11 | |
| 12 | /** @class ActivationStatic |
| 13 | * @brief Implementation for static PNOR layout |
| 14 | */ |
| 15 | class ActivationStatic : public Activation |
| 16 | { |
| 17 | public: |
| 18 | using Activation::Activation; |
| 19 | ~ActivationStatic() = default; |
| 20 | |
| 21 | private: |
| 22 | void unitStateChange(sdbusplus::message::message& msg) override; |
| 23 | void startActivation() override; |
| 24 | void finishActivation() override; |
| 25 | }; |
| 26 | |
| 27 | } // namespace updater |
| 28 | } // namespace software |
| 29 | } // namespace openpower |