Add a function for resolving errors

Create a function that will take a callback and message as input
parameters. These will be used to find each error that matches, so that
the Resolved property can be set to true.

Change-Id: Icd19e72b3f59c7f7e719d58746c490d8c7e22fad
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
diff --git a/power-supply/power_supply.cpp b/power-supply/power_supply.cpp
index f463595..f1c0f81 100644
--- a/power-supply/power_supply.cpp
+++ b/power-supply/power_supply.cpp
@@ -537,6 +537,13 @@
     return;
 }
 
+void PowerSupply::resolveError(const std::string& callout,
+                               const std::string& message)
+{
+    // to be filled in.
+    return;
+}
+
 }
 }
 }
diff --git a/power-supply/power_supply.hpp b/power-supply/power_supply.hpp
index 7a5f1b5..c969734 100644
--- a/power-supply/power_supply.hpp
+++ b/power-supply/power_supply.hpp
@@ -71,6 +71,15 @@
          */
         void clearFaults() override;
 
+        /**
+         * Mark error for specified callout and message as resolved.
+         *
+         * @param[in] callout - The callout to be resolved (inventory path)
+         * @parma[in] message - The message for the fault to be resolved
+         */
+        void resolveError(const std::string& callout,
+                          const std::string& message);
+
     private:
         /**
          * The path to use for reading various PMBus bits/words.