![]() |
![]() |
![]() |
telepathy-glib Reference Manual | ![]() |
---|---|---|---|---|
#include <telepathy-glib/channel-iface.h> void (*TpChannelFunc) (TpChannelIface *self, gpointer userdata); TpChannelIface; TpChannelIfaceClass;
"channel-type" gchar* : Read / Write / Construct Only "handle" guint : Read / Write / Construct Only "handle-type" guint : Read / Write / Construct Only "object-path" gchar* : Read / Write / Construct Only
This interface defines a basic set of channel properties. It's mainly used in TpChannelFactoryIface to represent the returned channel objects.
void (*TpChannelFunc) (TpChannelIface *self, gpointer userdata);
A callback for functions which act on channels.
self : |
An object implementing the channel interface |
userdata : |
Arbitrary user-supplied data |
typedef struct _TpChannelIface TpChannelIface;
Opaque typedef representing a channel.
typedef struct { GTypeInterface parent_class; } TpChannelIfaceClass;
The class of the TpChannelIface interface.
GTypeInterface parent_class ; |
The parent interface |
"channel-type"
property"channel-type" gchar* : Read / Write / Construct Only
The D-Bus interface representing the type of this channel. Read-only except during construction (and in connection managers, attempts to set it during construction will usually be ignored or treated as an error).
This is really only read-write for the benefit of TpChannel - GLib considers CONSTRUCT_ONLY|READWRITE to be incompatible with READONLY, because CONSTRUCT_ONLY is a restriction (arguably a GLib bug)
Default value: NULL
"handle"
property"handle" guint : Read / Write / Construct Only
This channel's associated handle, or 0 if there is no associated handle. Read-only except during construction (and depending on the channel type, attempts to set it during construction might also be ignored).
Default value: 0
"handle-type"
property"handle-type" guint : Read / Write / Construct Only
The type (TpHandleType) of this channel's associated handle, or 0 if there is no associated handle. Read-only except during construction (and depending on the channel type, attempts to set it during construction might also be ignored).
Default value: 0