Add Manager class
This class will hold the IBM interface objects.
It has callbacks on the interfaces added and removed
signals for the actual logging entries so it knows when
to add and remove the IBM interface objects.
It can hold multiple interface objects per logging entry
by using a map of std::experimental::any objects.
Future commits will add more functionality, such as doing
the actual creation of the interface objects and checking
for existing error logs entries on startup.
Change-Id: I1feef9e3416380a0bc9f94e470204eeac5464200
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/dbus.hpp b/dbus.hpp
new file mode 100644
index 0000000..54dfd4a
--- /dev/null
+++ b/dbus.hpp
@@ -0,0 +1,25 @@
+#pragma once
+
+#include <map>
+#include <sdbusplus/server.hpp>
+#include <string>
+#include <vector>
+
+namespace ibm
+{
+namespace logging
+{
+
+using DbusInterface = std::string;
+using DbusProperty = std::string;
+using Value = sdbusplus::message::variant<bool, uint32_t, uint64_t,
+ std::string,
+ std::vector<std::string>>;
+
+using DbusPropertyMap = std::map<DbusProperty, Value>;
+using DbusInterfaceMap = std::map<DbusInterface, DbusPropertyMap>;
+using DbusInterfaceList = std::vector<DbusInterface>;
+
+}
+}
+