An array of interface implementations, terminated by one with
name
equal to %NULL
Initialize the class cls
to use the D-Bus Properties mixin.
The given struct member, of size sizeof(TpDBusPropertiesMixinClass),
will be used to store property implementation information.
Each property and each interface must have been declared as a member of
a GInterface implemented by cls,
using
tp_svc_interface_set_dbus_properties_info().
Before calling this function, the array interfaces
must have been
placed in the #TpDBusPropertiesMixinClass structure; if it would be empty,
it may instead be %NULL.
This function should be called from the class_init callback in such a way that it will only be called once, even if the class is subclassed.
Changed in 0.7.9: TpDBusPropertiesMixinClass::interfaces may now be %NULL, which means that only interfaces whose properties are set up using tp_dbus_properties_mixin_implement_interface() will be used.
Changed in 0.7.15: offset
may now be 0, in which case the
#TpDBusPropertiesMixinClass can be omitted from cls
. It is treated as if
it were present, but with all fields (including
TpDBusPropertiesMixinClass::interfaces) being %NULL, so only interfaces
whose properties are set using
tp_dbus_properties_mixin_implement_interface() will be used.
a subclass of #GObjectClass
the offset within cls
of a TpDBusPropertiesMixinClass structure
Structure representing all of a class's property implementations. One of these structures may be placed in the layout of an object class structure.
In addition to the documented fields, there are 7 pointers reserved for future use, which must be initialized to %NULL.