blob: d674f9c6def888d6c1405f23a42f5292835b3e6b [file] [log] [blame]
Gunnar Mills9df13162017-03-08 15:00:08 -06001#pragma once
2
3#include <sdbusplus/bus.hpp>
4#include "xyz/openbmc_project/Software/Version/server.hpp"
5
6namespace openpower
7{
8namespace software
9{
10namespace manager
11{
12
13using VersionInherit = sdbusplus::server::object::object<
14 sdbusplus::xyz::openbmc_project::Software::server::Version>;
15
16/** @class Version
17 * @brief OpenBMC version software management implementation.
18 * @details A concrete implementation for xyz.openbmc_project.Software.Version
19 * DBus API.
20 */
21class Version : public VersionInherit
22{
23 public:
24 /** @brief Constructs Version Software Manager
25 *
26 * @param[in] bus - The Dbus bus object
27 * @param[in] objPath - The Dbus object path
28 */
29 Version(sdbusplus::bus::bus& bus,
30 const char* objPath) : VersionInherit(
31 bus, objPath) {};
32};
33
34} // namespace manager
35} // namespace software
36} // namespace openpower
37