Room List channels

Room List channels — service-side interface for the Room List channel type

Synopsis


#include <telepathy-glib/svc-channel.h>

                    TpSvcChannelTypeRoomList;
                    TpSvcChannelTypeRoomListClass;
void                (*tp_svc_channel_type_room_list_get_listing_rooms_impl)
                                                        (TpSvcChannelTypeRoomList *self,
                                                         DBusGMethodInvocation *context);
void                tp_svc_channel_type_room_list_implement_get_listing_rooms
                                                        (TpSvcChannelTypeRoomListClass *klass,
                                                         tp_svc_channel_type_room_list_get_listing_rooms_impl impl);
void                tp_svc_channel_type_room_list_return_from_get_listing_rooms
                                                        (DBusGMethodInvocation *context,
                                                         gboolean out0);
void                (*tp_svc_channel_type_room_list_list_rooms_impl)
                                                        (TpSvcChannelTypeRoomList *self,
                                                         DBusGMethodInvocation *context);
void                tp_svc_channel_type_room_list_implement_list_rooms
                                                        (TpSvcChannelTypeRoomListClass *klass,
                                                         tp_svc_channel_type_room_list_list_rooms_impl impl);
void                tp_svc_channel_type_room_list_return_from_list_rooms
                                                        (DBusGMethodInvocation *context);
void                (*tp_svc_channel_type_room_list_stop_listing_impl)
                                                        (TpSvcChannelTypeRoomList *self,
                                                         DBusGMethodInvocation *context);
void                tp_svc_channel_type_room_list_implement_stop_listing
                                                        (TpSvcChannelTypeRoomListClass *klass,
                                                         tp_svc_channel_type_room_list_stop_listing_impl impl);
void                tp_svc_channel_type_room_list_return_from_stop_listing
                                                        (DBusGMethodInvocation *context);
void                tp_svc_channel_type_room_list_emit_got_rooms
                                                        (gpointer instance,
                                                         const GPtrArray *arg_rooms);
void                tp_svc_channel_type_room_list_emit_listing_rooms
                                                        (gpointer instance,
                                                         gboolean arg_listing);

Description

Many instant messaging protocols allow named chatrooms to be listed. This section documents the auto-generated C wrappers for the Room List channel type.

Details

TpSvcChannelTypeRoomList

typedef struct _TpSvcChannelTypeRoomList TpSvcChannelTypeRoomList;

Dummy typedef representing any implementation of this interface.


TpSvcChannelTypeRoomListClass

typedef struct _TpSvcChannelTypeRoomListClass TpSvcChannelTypeRoomListClass;

The class of TpSvcChannelTypeRoomList.


tp_svc_channel_type_room_list_get_listing_rooms_impl ()

void                (*tp_svc_channel_type_room_list_get_listing_rooms_impl)
                                                        (TpSvcChannelTypeRoomList *self,
                                                         DBusGMethodInvocation *context);

The signature of an implementation of the D-Bus method GetListingRooms on interface org.freedesktop.Telepathy.Channel.Type.RoomList.

self :

The object implementing this interface

context :

Used to return values or throw an error

tp_svc_channel_type_room_list_implement_get_listing_rooms ()

void                tp_svc_channel_type_room_list_implement_get_listing_rooms
                                                        (TpSvcChannelTypeRoomListClass *klass,
                                                         tp_svc_channel_type_room_list_get_listing_rooms_impl impl);

Register an implementation for the GetListingRooms method in the vtable of an implementation of this interface. To be called from the interface init function.

klass :

A class whose instances implement this interface

impl :

A callback used to implement the GetListingRooms D-Bus method

tp_svc_channel_type_room_list_return_from_get_listing_rooms ()

void                tp_svc_channel_type_room_list_return_from_get_listing_rooms
                                                        (DBusGMethodInvocation *context,
                                                         gboolean out0);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

context :

The D-Bus method invocation context

out0 :

gboolean (FIXME, generate documentation)

tp_svc_channel_type_room_list_list_rooms_impl ()

void                (*tp_svc_channel_type_room_list_list_rooms_impl)
                                                        (TpSvcChannelTypeRoomList *self,
                                                         DBusGMethodInvocation *context);

The signature of an implementation of the D-Bus method ListRooms on interface org.freedesktop.Telepathy.Channel.Type.RoomList.

self :

The object implementing this interface

context :

Used to return values or throw an error

tp_svc_channel_type_room_list_implement_list_rooms ()

void                tp_svc_channel_type_room_list_implement_list_rooms
                                                        (TpSvcChannelTypeRoomListClass *klass,
                                                         tp_svc_channel_type_room_list_list_rooms_impl impl);

Register an implementation for the ListRooms method in the vtable of an implementation of this interface. To be called from the interface init function.

klass :

A class whose instances implement this interface

impl :

A callback used to implement the ListRooms D-Bus method

tp_svc_channel_type_room_list_return_from_list_rooms ()

void                tp_svc_channel_type_room_list_return_from_list_rooms
                                                        (DBusGMethodInvocation *context);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

context :

The D-Bus method invocation context

tp_svc_channel_type_room_list_stop_listing_impl ()

void                (*tp_svc_channel_type_room_list_stop_listing_impl)
                                                        (TpSvcChannelTypeRoomList *self,
                                                         DBusGMethodInvocation *context);

The signature of an implementation of the D-Bus method StopListing on interface org.freedesktop.Telepathy.Channel.Type.RoomList.

self :

The object implementing this interface

context :

Used to return values or throw an error

tp_svc_channel_type_room_list_implement_stop_listing ()

void                tp_svc_channel_type_room_list_implement_stop_listing
                                                        (TpSvcChannelTypeRoomListClass *klass,
                                                         tp_svc_channel_type_room_list_stop_listing_impl impl);

Register an implementation for the StopListing method in the vtable of an implementation of this interface. To be called from the interface init function.

klass :

A class whose instances implement this interface

impl :

A callback used to implement the StopListing D-Bus method

tp_svc_channel_type_room_list_return_from_stop_listing ()

void                tp_svc_channel_type_room_list_return_from_stop_listing
                                                        (DBusGMethodInvocation *context);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

context :

The D-Bus method invocation context

tp_svc_channel_type_room_list_emit_got_rooms ()

void                tp_svc_channel_type_room_list_emit_got_rooms
                                                        (gpointer instance,
                                                         const GPtrArray *arg_rooms);

Type-safe wrapper around g_signal_emit to emit the GotRooms signal on interface org.freedesktop.Telepathy.Channel.Type.RoomList.

instance :

The object implementing this interface

arg_rooms :

const GPtrArray * (FIXME, generate documentation)

tp_svc_channel_type_room_list_emit_listing_rooms ()

void                tp_svc_channel_type_room_list_emit_listing_rooms
                                                        (gpointer instance,
                                                         gboolean arg_listing);

Type-safe wrapper around g_signal_emit to emit the ListingRooms signal on interface org.freedesktop.Telepathy.Channel.Type.RoomList.

instance :

The object implementing this interface

arg_listing :

gboolean (FIXME, generate documentation)