Add implementation for delete all error log entries in one shot

Resolves openbmc/openbmc#1561.

Change-Id: Iac5aaee1bdf9b87ccce9bf8801468ac5a8f9be6c
Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
diff --git a/elog_entry.hpp b/elog_entry.hpp
index b3d5963..24d93cf 100644
--- a/elog_entry.hpp
+++ b/elog_entry.hpp
@@ -19,7 +19,10 @@
 using AssociationList =
      std::vector<std::tuple<std::string, std::string, std::string>>;
 
+namespace internal
+{
 class Manager;
+}
 
 /** @class Entry
  *  @brief OpenBMC logging entry implementation.
@@ -57,7 +60,7 @@
               std::string&& msgErr,
               std::vector<std::string>&& additionalDataErr,
               AssociationList&& objects,
-              Manager& parent) :
+              internal::Manager& parent) :
               EntryIfaces(bus, path.c_str(), true),
               parent(parent)
         {
@@ -87,7 +90,7 @@
         Entry(sdbusplus::bus::bus& bus,
               const std::string& path,
               uint32_t entryId,
-              Manager& parent) :
+              internal::Manager& parent) :
               EntryIfaces(bus, path.c_str(), true),
               parent(parent)
         {
@@ -113,7 +116,7 @@
         AssociationList assocs = {};
 
         /** @brief This entry's parent */
-        Manager& parent;
+        internal::Manager& parent;
 };
 
 } // namespace logging