oem-ibm: Implement SetEffecter actions corresponding to code
update actions
This commit defines the actions taken corresponding to the code
update actions.
Code update actions include- START, END, ABORT, ACCEPT and REJECT
Signed-off-by: Sagar Srinivas <sagar.srinivas@ibm.com>
Change-Id: I2e86177efe4c8924069cc400b79e4fc4b8983df4
diff --git a/oem/ibm/libpldmresponder/inband_code_update.hpp b/oem/ibm/libpldmresponder/inband_code_update.hpp
index 28c7c9c..77ada56 100644
--- a/oem/ibm/libpldmresponder/inband_code_update.hpp
+++ b/oem/ibm/libpldmresponder/inband_code_update.hpp
@@ -101,6 +101,20 @@
*/
void clearDirPath(const std::string& dirPath);
+ /* @brief Method to set the RequestApplyTime D-Bus property
+ * on start update to OnReset
+ * @return - Completion codes
+ */
+ int setRequestedApplyTime();
+
+ /* @brief Method to set the RequestedActivation D-Bus property
+ * on end update to Active by fetching the newImageID and
+ * clearning it once RequestedActivation is set or on error
+ * @param[in] codeUpdate - codeUpdate pointer
+ * @return - Completion codes
+ */
+ int setRequestedActivation();
+
virtual ~CodeUpdate()
{}