blob: 34191bca2502d7d8fc4bd660ba51a41541e42f54 [file] [log] [blame]
Adriana Kobylak2d8fa222017-03-15 12:34:32 -05001#pragma once
2
3#include <sdbusplus/bus.hpp>
4#include <xyz/openbmc_project/Software/Activation/server.hpp>
5
6namespace openpower
7{
8namespace software
9{
10namespace manager
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 manager
34} // namespace software
35} // namespace openpower
36