Move Active BMC version object to item_updater.
- There needs to be only one version class for both
BMC and PNOR images. Thus removing the BMCVERSION
class and moving the functionality to MANAGER class.
Change-Id: I6dda818960588cfd9ed345fe93068531efc7a877
Signed-off-by: Saqib Khan <khansa@us.ibm.com>
diff --git a/version.hpp b/version.hpp
index 75289a3..eca6670 100755
--- a/version.hpp
+++ b/version.hpp
@@ -62,6 +62,12 @@
**/
static std::string getId(const std::string& version);
+ /**
+ * @brief Get the active bmc version identifier.
+ *
+ * @return The version identifier.
+ */
+ static std::string getBMCVersion();
};
} // namespace manager