Implement the Delete interface

Implement the xyz.openbmc_project.Object.Delete interface
to delete an IBM logging object.

This is required because if someone calls Delete on an entry
in /xyz/openbmc_project/logging/, the REST server will also
call Delete on the corresponding object here.

Change-Id: I742320e49bcf1b371840dda4c7f5b1d0f572ad6a
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/manager.hpp b/manager.hpp
index ca5e16b..69d9479 100644
--- a/manager.hpp
+++ b/manager.hpp
@@ -42,6 +42,13 @@
      */
     explicit Manager(sdbusplus::bus::bus& bus);
 
+    /**
+     * Deletes the entry with the specified path
+     *
+     * @param[in] objectPath - the entry object path
+     */
+    void erase(const std::string& objectPath);
+
   private:
     /**
      * The callback for an interfaces added signal
@@ -93,6 +100,14 @@
 #endif
 
     /**
+     * Creates the Delete interface for a single error log
+     * and saves it in the list of interfaces.
+     *
+     * @param[in] objectPath - object path of the error log
+     */
+    void createDeleteInterface(const std::string& objectPath);
+
+    /**
      * Returns the entry ID for a log
      *
      * @param[in] objectPath - the object path of the log