blob: 34191bca2502d7d8fc4bd660ba51a41541e42f54 [file] [log] [blame]
#pragma once
#include <sdbusplus/bus.hpp>
#include <xyz/openbmc_project/Software/Activation/server.hpp>
namespace openpower
{
namespace software
{
namespace manager
{
using ActivationInherit = sdbusplus::server::object::object<
sdbusplus::xyz::openbmc_project::Software::server::Activation>;
/** @class Activation
* @brief OpenBMC activation software management implementation.
* @details A concrete implementation for
* xyz.openbmc_project.Software.Activation DBus API.
*/
class Activation : public ActivationInherit
{
public:
/** @brief Constructs Activation Software Manager
*
* @param[in] bus - The Dbus bus object
* @param[in] path - The Dbus object path
*/
Activation(sdbusplus::bus::bus& bus, const std::string& path) :
ActivationInherit(bus, path.c_str()) {};
};
} // namespace manager
} // namespace software
} // namespace openpower