Create Version and Activation objects for current PNOR image

On BMC boot, create the Software version and activation that
points to the current PNOR version by reading:
/var/lib/phosphor-software-manager/pnor/ro

Resolves openbmc/openbmc#1762

Change-Id: I46ddb37491a1a230699da9f3acbd3fcff23dc538
Signed-off-by: Saqib Khan <khansa@us.ibm.com>
diff --git a/version.hpp b/version.hpp
index 573255c..23bf604 100644
--- a/version.hpp
+++ b/version.hpp
@@ -46,6 +46,28 @@
             // Emit deferred signal.
             emit_object_added();
         }
+
+        /**
+         * @brief Read the manifest file to get the value of the key.
+         *
+         * @param[in] filePath - The path to file which contains the value
+         *                       of keys.
+         * @param[in] keys     - A map of keys with empty values.
+         *
+         * @return The map of keys with filled values.
+         **/
+        static std::map<std::string, std::string> getValue(
+                const std::string& filePath,
+                std::map<std::string, std::string> keys);
+
+        /**
+         * @brief Get the Version id.
+         *
+         * @param[in] version     - The image version.
+         *
+         * @return The id.
+         */
+        static std::string getId(const std::string& version);
 };
 
 } // namespace updater