blob: 68caf36de967680b083fe6986ba1ed321b66f493 [file] [log] [blame]
Adriana Kobylak8bc2ab42020-07-15 09:16:27 -05001#pragma once
2
3#include "activation.hpp"
4
5namespace openpower
6{
7namespace software
8{
9namespace updater
10{
11
12namespace fs = std::filesystem;
13
14/** @class ActivationMMC
15 * @brief Implementation for eMMC PNOR layout
16 */
17class ActivationMMC : public Activation
18{
19 public:
20 using Activation::Activation;
21 ~ActivationMMC() = default;
22 Activations activation(Activations value) override;
23
24 private:
25 void unitStateChange(sdbusplus::message::message& msg) override;
26 void startActivation() override;
27 void finishActivation() override;
28};
29
30} // namespace updater
31} // namespace software
32} // namespace openpower