summaryrefslogtreecommitdiff
path: root/src/lib/dbus
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-06-03 20:30:02 +0200
committerMax Kellermann <max@musicpd.org>2018-06-03 20:30:08 +0200
commitd3793dfe5bc53e4b8e2f2073a3774cff5071bfe8 (patch)
treeaf1a6bd7b756b3df179a451d70c14e0184abe4b3 /src/lib/dbus
parent234f8d287aa1be8de4b0554f40beb12aa0c8f912 (diff)
lib/dbus/Types: add ObjectPathTypeTraits
Diffstat (limited to 'src/lib/dbus')
-rw-r--r--src/lib/dbus/Types.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/dbus/Types.hxx b/src/lib/dbus/Types.hxx
index 2181cccfe..b5ddd9241 100644
--- a/src/lib/dbus/Types.hxx
+++ b/src/lib/dbus/Types.hxx
@@ -55,6 +55,9 @@ struct TypeTraits<const char *> : BasicTypeTraits<DBUS_TYPE_STRING> {
using StringTypeTraits = TypeTraits<const char *>;
+struct ObjectPathTypeTraits : BasicTypeTraits<DBUS_TYPE_OBJECT_PATH> {
+};
+
template<>
struct TypeTraits<dbus_uint32_t> : BasicTypeTraits<DBUS_TYPE_UINT32> {
};