Added sdbusplus::sdbus Interface and Mock
This is meant to be used as an interface to sd-bus. It sets up a
singleton to the default interface and a mock for use in testing.
Note: This was originally part of another patchset.
Change-Id: I133770fdeec327e018b6c587a7992cbccc7b3f10
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/Makefile.am b/Makefile.am
index 8c96b3e..9bcba6d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -5,6 +5,8 @@
mapbox/variant.hpp \
sdbusplus/bus.hpp \
sdbusplus/bus/match.hpp \
+ sdbusplus/sdbus.hpp \
+ sdbusplus/test/sdbus_mock.hpp \
sdbusplus/exception.hpp \
sdbusplus/message.hpp \
sdbusplus/message/append.hpp \
@@ -23,7 +25,8 @@
sdbusplus/vtable.hpp
LIBSDBUSPLUS_FILES = \
- sdbusplus/exception.cpp
+ sdbusplus/exception.cpp \
+ sdbusplus/sdbus.cpp
if WANT_TRANSACTION
nobase_include_HEADERS += \