![]() |
![]() |
![]() |
[Insert name here] Reference Manual | ![]() |
---|---|---|---|---|
TpaIConnection; void tpa_connection_init (TpaIConnection *iface, gpointer data); void tpa_connection_finalize (GObject *obj); gchar* tpa_connection_get_string (GObject *obj, guint handle); TpaHandle* tpa_connection_get_handle (GObject *obj, TpaConnectionHandleType type, const gchar *string); #define tpa_connection_get_contact_handle (conn, string) #define tpa_connection_get_list_handle (conn, string) #define tpa_connection_get_room_handle (conn, string) void tpa_connection_signal_new_channel (GObject *obj, const gchar *obj_path, TpaChannelType type, const gchar *string, gboolean suppress_handler); void tpa_connection_signal_status_changed (GObject *obj, TpaConnectionStatus status, TpaConnectionStatusReason reason);
"disconnected" : Run Last / Has Details "new-channel" : Run Last / Has Details "status-changed" : Run Last / Has Details
void tpa_connection_init (TpaIConnection *iface, gpointer data);
iface : |
|
data : |
gchar* tpa_connection_get_string (GObject *obj, guint handle);
Returned string must be freed.
obj : |
|
handle : |
|
Returns : |
TpaHandle* tpa_connection_get_handle (GObject *obj, TpaConnectionHandleType type, const gchar *string);
Get handle for given string, if it is not available yet create one. Given string must be normalized to protocol.
obj : |
|
type : |
|
string : |
|
Returns : |
#define tpa_connection_get_contact_handle(conn, string)
conn : |
|
string : |
#define tpa_connection_get_list_handle(conn, string)
conn : |
|
string : |
#define tpa_connection_get_room_handle(conn, string)
conn : |
|
string : |
void tpa_connection_signal_new_channel (GObject *obj, const gchar *obj_path, TpaChannelType type, const gchar *string, gboolean suppress_handler);
Implements DBus signal NewChannel on interface org.freedesktop.Telepathy.Connection
obj : |
|
obj_path : |
|
type : |
|
string : |
|
suppress_handler : |
void user_function (TpaIConnection *tpaiconnection, gpointer user_data) : Run Last / Has Details
tpaiconnection : |
the object which received the signal. |
user_data : |
user data set when the signal handler was connected. |
void user_function (TpaIConnection *tpaiconnection, DBusGObjectPath *arg1, gchar *arg2, guint arg3, guint arg4, gboolean arg5, gpointer user_data) : Run Last / Has Details
tpaiconnection : |
the object which received the signal. |
arg1 : |
|
arg2 : |
|
arg3 : |
|
arg4 : |
|
arg5 : |
|
user_data : |
user data set when the signal handler was connected. |
void user_function (TpaIConnection *tpaiconnection, guint arg1, guint arg2, gpointer user_data) : Run Last / Has Details
tpaiconnection : |
the object which received the signal. |
arg1 : |
|
arg2 : |
|
user_data : |
user data set when the signal handler was connected. |