1 /* tp-conn-ifaces-signal-setters.c |
|
2 * |
|
3 * Copyright (C) 2005 Collabora Ltd. |
|
4 * |
|
5 * |
|
6 * This library is free software; you can redistribute it and/or |
|
7 * modify it under the terms of the GNU Lesser General Public |
|
8 * License as published by the Free Software Foundation; either |
|
9 * version 2.1 of the License, or (at your option) any later version. |
|
10 * |
|
11 * This library is distributed in the hope that it will be useful, |
|
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
14 * Lesser General Public License for more details. |
|
15 * |
|
16 * You should have received a copy of the GNU Lesser General Public |
|
17 * License along with this library; if not, write to the Free Software |
|
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
19 * |
|
20 */ |
|
21 |
|
22 #include "tp-conn-ifaces-signal-setters.h" |
|
23 |
|
24 void tp_conn_set_aliasing_signatures(DBusGProxy *proxy) |
|
25 { |
|
26 dbus_g_proxy_add_signal(proxy, "AliasesChanged", |
|
27 dbus_g_type_get_struct ("GValueArray", |
|
28 G_TYPE_UINT, G_TYPE_STRING, G_TYPE_INVALID), |
|
29 G_TYPE_INVALID); |
|
30 } |
|
31 |
|
32 void tp_conn_set_capabilities_signatures(DBusGProxy *proxy) |
|
33 { |
|
34 dbus_g_proxy_add_signal(proxy, "CapabilitiesChanged", |
|
35 dbus_g_type_get_struct ("GValueArray", |
|
36 G_TYPE_UINT, G_TYPE_STRING, G_TYPE_UINT, |
|
37 G_TYPE_UINT, G_TYPE_INVALID), |
|
38 G_TYPE_INVALID); |
|
39 } |
|
40 |
|
41 void tp_conn_set_contactinfo_signatures(DBusGProxy *proxy) |
|
42 { |
|
43 dbus_g_proxy_add_signal(proxy, "GotContactInfo", |
|
44 G_TYPE_UINT, G_TYPE_STRING, G_TYPE_INVALID); |
|
45 } |
|
46 void tp_conn_set_forwarding_signatures(DBusGProxy *proxy) |
|
47 { |
|
48 dbus_g_proxy_add_signal(proxy, "ForwardingChanged", |
|
49 G_TYPE_UINT, G_TYPE_INVALID); |
|
50 } |
|
51 void tp_conn_set_presence_signatures(DBusGProxy *proxy) |
|
52 { |
|
53 dbus_g_proxy_add_signal(proxy, "PresenceUpdate", |
|
54 dbus_g_type_get_map ("GHashTable", G_TYPE_UINT, |
|
55 (dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, |
|
56 (dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, |
|
57 (dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, |
|
58 G_TYPE_VALUE)))), G_TYPE_INVALID))), G_TYPE_INVALID); |
|
59 } |
|
60 void tp_conn_set_privacy_signatures(DBusGProxy *proxy) |
|
61 { |
|
62 dbus_g_proxy_add_signal(proxy, "PrivacyModeChanged", |
|
63 G_TYPE_STRING, G_TYPE_INVALID); |
|
64 } |
|
65 void tp_conn_set_renaming_signatures(DBusGProxy *proxy) |
|
66 { |
|
67 dbus_g_proxy_add_signal(proxy, "Renamed", |
|
68 G_TYPE_UINT, G_TYPE_UINT, G_TYPE_INVALID); |
|
69 } |
|
70 void tp_conn_set_avatar_signatures(DBusGProxy *proxy) |
|
71 { |
|
72 //dbus_g_proxy_add_signal( proxy, "AvatarUpdated", ) |
|
73 dbus_g_proxy_add_signal(proxy, "AvatarUpdated", G_TYPE_UINT, G_TYPE_STRING, G_TYPE_INVALID); |
|
74 dbus_g_proxy_add_signal(proxy, "AvatarRetrieved", G_TYPE_UINT, G_TYPE_STRING, DBUS_TYPE_G_UCHAR_ARRAY, G_TYPE_STRING,G_TYPE_INVALID); |
|
75 } |
|