コード例 #1
0
ファイル: room-list-chan.c プロジェクト: GNOME/folks
static void
fill_immutable_properties (TpBaseChannel *chan,
    GHashTable *properties)
{
  TpBaseChannelClass *klass = TP_BASE_CHANNEL_CLASS (
      tp_tests_room_list_chan_parent_class);

  klass->fill_immutable_properties (chan, properties);

  tp_dbus_properties_mixin_fill_properties_hash (
      G_OBJECT (chan), properties,
      TP_IFACE_CHANNEL_TYPE_ROOM_LIST, "Server",
      NULL);
}
コード例 #2
0
    static void
fetion_im_channel_fill_immutable_properties (TpBaseChannel *chan,
        GHashTable *properties)
{
    TpBaseChannelClass *klass = TP_BASE_CHANNEL_CLASS (
            fetion_im_channel_parent_class);

    klass->fill_immutable_properties (chan, properties);

    tp_dbus_properties_mixin_fill_properties_hash (
            G_OBJECT (chan), properties,
            TP_IFACE_CHANNEL_INTERFACE_MESSAGES, "MessagePartSupportFlags",
            TP_IFACE_CHANNEL_INTERFACE_MESSAGES, "DeliveryReportingSupport",
            TP_IFACE_CHANNEL_INTERFACE_MESSAGES, "SupportedContentTypes",
            TP_IFACE_CHANNEL_INTERFACE_MESSAGES, "MessageTypes",
            NULL);
}