1 /* tp-chan-type-search-gen.h |
|
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 /* Generated by dbus-binding-tool; do not edit! */ |
|
22 |
|
23 #include <glib/gtypes.h> |
|
24 #include <glib/gerror.h> |
|
25 #include <dbus/dbus-glib.h> |
|
26 |
|
27 G_BEGIN_DECLS |
|
28 |
|
29 #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Channel_Type_Search |
|
30 #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Channel_Type_Search |
|
31 |
|
32 |
|
33 static |
|
34 #ifdef G_HAVE_INLINE |
|
35 inline |
|
36 #endif |
|
37 gboolean |
|
38 tp_chan_type_search (DBusGProxy *proxy, const GHashTable* IN_terms, GError **error) |
|
39 |
|
40 { |
|
41 return dbus_g_proxy_call (proxy, "Search", error, dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, G_TYPE_VALUE), IN_terms, G_TYPE_INVALID, G_TYPE_INVALID); |
|
42 } |
|
43 |
|
44 typedef void (*tp_chan_type_search_reply) (DBusGProxy *proxy, GError *error, gpointer userdata); |
|
45 |
|
46 static void |
|
47 tp_chan_type_search_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data) |
|
48 { |
|
49 DBusGAsyncData *data = (DBusGAsyncData*)user_data; |
|
50 GError *error = NULL; |
|
51 dbus_g_proxy_end_call (proxy, call, &error,G_TYPE_INVALID); |
|
52 (*(tp_chan_type_search_reply)data->cb) (proxy, error, data->userdata); |
|
53 return; |
|
54 } |
|
55 |
|
56 #ifdef SYMBIAN |
|
57 EXPORT_C |
|
58 #endif |
|
59 static |
|
60 #ifdef G_HAVE_INLINE |
|
61 inline |
|
62 #endif |
|
63 DBusGProxyCall* |
|
64 tp_chan_type_search_async (DBusGProxy *proxy, const GHashTable *IN_params, tp_chan_type_search_reply callback, gpointer userdata) |
|
65 |
|
66 { |
|
67 DBusGAsyncData *stuff; |
|
68 stuff = g_new (DBusGAsyncData, 1); |
|
69 stuff->cb = G_CALLBACK (callback); |
|
70 stuff->userdata = userdata; |
|
71 return dbus_g_proxy_begin_call (proxy, "Search", tp_chan_type_search_async_callback, stuff, g_free, dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, G_TYPE_VALUE), IN_params, G_TYPE_INVALID); |
|
72 } |
|
73 |
|
74 static |
|
75 #ifdef G_HAVE_INLINE |
|
76 inline |
|
77 #endif |
|
78 gboolean |
|
79 tp_chan_type_search_get_search_state (DBusGProxy *proxy, guint* OUT_arg0, GError **error) |
|
80 |
|
81 { |
|
82 return dbus_g_proxy_call (proxy, "GetSearchState", error, G_TYPE_INVALID, G_TYPE_UINT, OUT_arg0, G_TYPE_INVALID); |
|
83 } |
|
84 |
|
85 typedef void (*tp_chan_type_search_get_search_state_reply) (DBusGProxy *proxy, guint OUT_arg0, GError *error, gpointer userdata); |
|
86 |
|
87 static void |
|
88 tp_chan_type_search_get_search_state_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data) |
|
89 { |
|
90 DBusGAsyncData *data = (DBusGAsyncData*)user_data; |
|
91 GError *error = NULL; |
|
92 guint OUT_arg2; |
|
93 dbus_g_proxy_end_call (proxy, call, &error,G_TYPE_UINT, &OUT_arg2, G_TYPE_INVALID); |
|
94 (*(tp_chan_type_search_get_search_state_reply)data->cb) (proxy, OUT_arg2, error, data->userdata); |
|
95 return; |
|
96 } |
|
97 |
|
98 #ifdef SYMBIAN |
|
99 EXPORT_C |
|
100 #endif |
|
101 static |
|
102 #ifdef G_HAVE_INLINE |
|
103 inline |
|
104 #endif |
|
105 DBusGProxyCall* |
|
106 tp_chan_type_search_get_search_state_async (DBusGProxy *proxy, tp_chan_type_search_get_search_state_reply callback, gpointer userdata) |
|
107 |
|
108 { |
|
109 DBusGAsyncData *stuff; |
|
110 stuff = g_new (DBusGAsyncData, 1); |
|
111 stuff->cb = G_CALLBACK (callback); |
|
112 stuff->userdata = userdata; |
|
113 return dbus_g_proxy_begin_call (proxy, "GetSearchState", tp_chan_type_search_get_search_state_async_callback, stuff, g_free, G_TYPE_INVALID); |
|
114 } |
|
115 |
|
116 |
|
117 static |
|
118 #ifdef G_HAVE_INLINE |
|
119 inline |
|
120 #endif |
|
121 gboolean |
|
122 tp_chan_type_search_get_search_keys (DBusGProxy *proxy, char ** OUT_arg0, char *** OUT_arg1, GError **error) |
|
123 |
|
124 { |
|
125 return dbus_g_proxy_call (proxy, "GetSearchKeys", error, G_TYPE_INVALID, G_TYPE_STRING, OUT_arg0, G_TYPE_STRV, OUT_arg1, G_TYPE_INVALID); |
|
126 } |
|
127 |
|
128 typedef void (*tp_chan_type_search_get_search_keys_reply) (DBusGProxy *proxy, char * OUT_arg0, char * *OUT_arg1, GError *error, gpointer userdata); |
|
129 |
|
130 |
|
131 static void |
|
132 tp_chan_type_search_get_search_keys_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data) |
|
133 { |
|
134 DBusGAsyncData *data = (DBusGAsyncData*) user_data; |
|
135 GError *error = NULL; |
|
136 char * OUT_arg0; |
|
137 char ** OUT_arg1; |
|
138 dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRING, &OUT_arg0, G_TYPE_STRV, &OUT_arg1, G_TYPE_INVALID); |
|
139 (*(tp_chan_type_search_get_search_keys_reply)data->cb) (proxy, OUT_arg0, OUT_arg1, error, data->userdata); |
|
140 return; |
|
141 } |
|
142 |
|
143 |
|
144 #ifdef SYMBIAN |
|
145 EXPORT_C |
|
146 #endif |
|
147 static |
|
148 #ifdef G_HAVE_INLINE |
|
149 inline |
|
150 #endif |
|
151 DBusGProxyCall* |
|
152 tp_chan_type_search_get_search_keys_async (DBusGProxy *proxy, tp_chan_type_search_get_search_keys_reply callback, gpointer userdata) |
|
153 |
|
154 { |
|
155 DBusGAsyncData *stuff; |
|
156 stuff = g_new (DBusGAsyncData, 1); |
|
157 stuff->cb = G_CALLBACK (callback); |
|
158 stuff->userdata = userdata; |
|
159 return dbus_g_proxy_begin_call (proxy, "GetSearchKeys", tp_chan_type_search_get_search_keys_async_callback, stuff, g_free, G_TYPE_INVALID); |
|
160 } |
|
161 |
|
162 |
|
163 |
|
164 #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Channel_Type_Search */ |
|
165 |
|
166 G_END_DECLS |
|