diff options
author | Max Kellermann <max@musicpd.org> | 2018-06-03 20:30:02 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-06-03 20:30:08 +0200 |
commit | d3793dfe5bc53e4b8e2f2073a3774cff5071bfe8 (patch) | |
tree | af1a6bd7b756b3df179a451d70c14e0184abe4b3 /src/lib/dbus | |
parent | 234f8d287aa1be8de4b0554f40beb12aa0c8f912 (diff) |
lib/dbus/Types: add ObjectPathTypeTraits
Diffstat (limited to 'src/lib/dbus')
-rw-r--r-- | src/lib/dbus/Types.hxx | 3 |
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> { }; |