summaryrefslogtreecommitdiffstats
path: root/item_updater.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'item_updater.hpp')
-rw-r--r--item_updater.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/item_updater.hpp b/item_updater.hpp
index 330ec82..ec7aee0 100644
--- a/item_updater.hpp
+++ b/item_updater.hpp
@@ -61,6 +61,15 @@ class ItemUpdater : public ItemUpdaterInherit
emit_object_added();
};
+ /** @brief Save priority value to persistent storage (flash and optionally
+ * a U-Boot environment variable)
+ *
+ * @param[in] versionId - The Id of the version
+ * @param[in] value - The priority value
+ * @return None
+ */
+ void savePriority(const std::string& versionId, uint8_t value);
+
/** @brief Sets the given priority free by incrementing
* any existing priority with the same value by 1
*
OpenPOWER on IntegriCloud