Add Software Activation Interface
Change-Id: I922d6cfe31b6a20bd228167c5e12def69d5ef113
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/version_software_manager.hpp b/version_software_manager.hpp
index 7212cc2..a011022 100644
--- a/version_software_manager.hpp
+++ b/version_software_manager.hpp
@@ -2,6 +2,7 @@
#include <sdbusplus/bus.hpp>
#include "xyz/openbmc_project/Software/Version/server.hpp"
+#include "xyz/openbmc_project/Software/Activation/server.hpp"
namespace phosphor
{
@@ -16,7 +17,8 @@
* DBus API.
*/
class Version : public sdbusplus::server::object::object<
- sdbusplus::xyz::openbmc_project::Software::server::Version>
+ sdbusplus::xyz::openbmc_project::Software::server::Version,
+ sdbusplus::xyz::openbmc_project::Software::server::Activation>
{
public:
/** @brief Constructs Version Software Manager
@@ -31,9 +33,11 @@
Version(sdbusplus::bus::bus& bus,
const char* objPath) :
sdbusplus::server::object::object<
- sdbusplus::xyz::openbmc_project::Software::server::Version>
- (bus, (std::string{objPath} + '/' +
- getId()).c_str(), true)
+ sdbusplus::xyz::openbmc_project::Software::server::Version,
+ sdbusplus::xyz::openbmc_project::Software::
+ server::Activation>
+ (bus, (std::string{objPath} + '/' +
+ getId()).c_str(), true)
{
// Set properties.
purpose(VersionPurpose::BMC);