diff --git a/src/lib/dbus/Types.hxx b/src/lib/dbus/Types.hxx index fc1db3440..f3bcae6b8 100644 --- a/src/lib/dbus/Types.hxx +++ b/src/lib/dbus/Types.hxx @@ -69,6 +69,16 @@ struct ArrayTypeTraits { typedef TemplateString::InsertBefore TypeAsString; }; +template +struct DictEntryTypeTraits { + static constexpr int TYPE = DBUS_TYPE_DICT_ENTRY; + + typedef TemplateString::Concat, + typename KeyT::TypeAsString, + typename ValueT::TypeAsString, + TemplateString::CharAsString> TypeAsString; +}; + using VariantTypeTraits = BasicTypeTraits; template