blob: 99ac98634b5afd934cb96a58fafabd8ad24f8494 [file] [log] [blame]
Gunnar Millsec1b41c2017-05-02 12:20:36 -05001#pragma once
2
3#include <sdbusplus/bus.hpp>
4#include <xyz/openbmc_project/Software/Activation/server.hpp>
5
6namespace phosphor
7{
8namespace software
9{
10namespace updater
11{
12
13using ActivationInherit = sdbusplus::server::object::object<
14 sdbusplus::xyz::openbmc_project::Software::server::Activation>;
15
16/** @class Activation
17 * @brief OpenBMC activation software management implementation.
18 * @details A concrete implementation for
19 * xyz.openbmc_project.Software.Activation DBus API.
20 */
21class Activation : public ActivationInherit
22{
23 public:
24 /** @brief Constructs Activation Software Manager
25 *
26 * @param[in] bus - The Dbus bus object
27 * @param[in] path - The Dbus object path
28 */
29 Activation(sdbusplus::bus::bus& bus, const std::string& path) :
30 ActivationInherit(bus, path.c_str()) {};
31};
32
33} // namespace updater
34} // namespace software
35} // namespace phosphor