4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>BluetoothClient</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.74.3">
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7
7
<link rel="home" href="index.html" title="gnome-bluetooth Reference Manual">
8
8
<link rel="up" href="ch01.html" title="API Reference">
9
9
<link rel="prev" href="BluetoothChooser.html" title="BluetoothChooser">
29
29
<a href="#gnome-bluetooth-BluetoothClient.description" class="shortcut">Description</a>
32
<div class="refentry" lang="en">
32
<div class="refentry" title="BluetoothClient">
33
33
<a name="gnome-bluetooth-BluetoothClient"></a><div class="titlepage"></div>
34
34
<div class="refnamediv"><table width="100%"><tr>
39
39
<td valign="top" align="right"></td>
40
40
</tr></table></div>
41
<div class="refsynopsisdiv">
41
<div class="refsynopsisdiv" title="Synopsis">
42
42
<a name="gnome-bluetooth-BluetoothClient.synopsis"></a><h2>Synopsis</h2>
43
43
<pre class="synopsis">
44
#define BLUETOOTH_GET_CLIENT_CLASS (obj)
46
BluetoothClient * bluetooth_client_new (void);
48
href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html"
49
>GtkTreeModel</a> * bluetooth_client_get_model (BluetoothClient *client);
51
href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html"
52
>GtkTreeModel</a> * bluetooth_client_get_filter_model (BluetoothClient *client,
45
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-BluetoothClient.html#BLUETOOTH-GET-CLIENT-CLASS--CAPS"
46
>BLUETOOTH_GET_CLIENT_CLASS</a> (obj)
48
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-BluetoothClient.html#BluetoothClient"
51
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-BluetoothClient.html#BluetoothClient"
52
>BluetoothClient</a> * <a
53
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-BluetoothClient.html#bluetooth-client-new"
54
>bluetooth_client_new</a> (void);
56
href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html"
57
>GtkTreeModel</a> * <a
58
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-BluetoothClient.html#bluetooth-client-get-model"
59
>bluetooth_client_get_model</a> (<a
60
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-BluetoothClient.html#BluetoothClient"
61
>BluetoothClient</a> *client);
63
href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html"
64
>GtkTreeModel</a> * <a
65
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-BluetoothClient.html#bluetooth-client-get-filter-model"
66
>bluetooth_client_get_filter_model</a> (<a
67
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-BluetoothClient.html#BluetoothClient"
68
>BluetoothClient</a> *client,
54
70
href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModelFilter.html#GtkTreeModelFilterVisibleFunc"
55
71
>GtkTreeModelFilterVisibleFunc</a> func,
61
77
>GDestroyNotify</a> destroy);
63
79
href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html"
64
>GtkTreeModel</a> * bluetooth_client_get_adapter_model (BluetoothClient *client);
80
>GtkTreeModel</a> * <a
81
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-BluetoothClient.html#bluetooth-client-get-adapter-model"
82
>bluetooth_client_get_adapter_model</a> (<a
83
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-BluetoothClient.html#BluetoothClient"
84
>BluetoothClient</a> *client);
66
86
href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html"
67
>GtkTreeModel</a> * bluetooth_client_get_device_model (BluetoothClient *client,
87
>GtkTreeModel</a> * <a
88
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-BluetoothClient.html#bluetooth-client-get-device-model"
89
>bluetooth_client_get_device_model</a> (<a
90
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-BluetoothClient.html#BluetoothClient"
91
>BluetoothClient</a> *client,
69
93
href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGProxy.html#DBusGProxy"
70
94
>DBusGProxy</a> *adapter);
72
96
href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html"
73
>GtkTreeModel</a> * bluetooth_client_get_device_filter_model
74
(BluetoothClient *client,
97
>GtkTreeModel</a> * <a
98
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-BluetoothClient.html#bluetooth-client-get-device-filter-model"
99
>bluetooth_client_get_device_filter_model</a>
101
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-BluetoothClient.html#BluetoothClient"
102
>BluetoothClient</a> *client,
76
104
href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGProxy.html#DBusGProxy"
77
105
>DBusGProxy</a> *adapter,
86
114
>GDestroyNotify</a> destroy);
88
116
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
89
>gchar</a> * bluetooth_type_to_string (<a
118
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-BluetoothClient.html#bluetooth-type-to-string"
119
>bluetooth_type_to_string</a> (<a
90
120
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
93
123
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
94
>gboolean</a> bluetooth_verify_address (const char *bdaddr);
95
const char * bluetooth_uuid_to_string (const char *uuid);
125
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-BluetoothClient.html#bluetooth-verify-address"
126
>bluetooth_verify_address</a> (const char *bdaddr);
128
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-BluetoothClient.html#bluetooth-uuid-to-string"
129
>bluetooth_uuid_to_string</a> (const char *uuid);
98
<div class="refsect1" lang="en">
132
<div class="refsect1" title="Description">
99
133
<a name="gnome-bluetooth-BluetoothClient.description"></a><h2>Description</h2>
103
<div class="refsect1" lang="en">
137
<div class="refsect1" title="Details">
104
138
<a name="gnome-bluetooth-BluetoothClient.details"></a><h2>Details</h2>
105
<div class="refsect2" lang="en">
139
<div class="refsect2" title="BLUETOOTH_GET_CLIENT_CLASS()">
106
140
<a name="BLUETOOTH-GET-CLIENT-CLASS--CAPS"></a><h3>BLUETOOTH_GET_CLIENT_CLASS()</h3>
107
141
<pre class="programlisting">#define BLUETOOTH_GET_CLIENT_CLASS(obj)</pre>
130
<div class="refsect2" lang="en">
164
<div class="refsect2" title="bluetooth_client_new ()">
131
165
<a name="bluetooth-client-new"></a><h3>bluetooth_client_new ()</h3>
132
<pre class="programlisting">BluetoothClient * bluetooth_client_new (void);</pre>
166
<pre class="programlisting"><a
167
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-BluetoothClient.html#BluetoothClient"
168
>BluetoothClient</a> * bluetooth_client_new (void);</pre>
138
174
<col align="left" valign="top">
140
176
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
141
<td> a reference to the <span class="type">BluetoothClient</span> singleton. Unref the object when done.
177
<td> a reference to the <a
178
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-BluetoothClient.html#BluetoothClient"
179
><span class="type">BluetoothClient</span></a> singleton. Unref the object when done.
147
<div class="refsect2" lang="en">
185
<div class="refsect2" title="bluetooth_client_get_model ()">
148
186
<a name="bluetooth-client-get-model"></a><h3>bluetooth_client_get_model ()</h3>
149
187
<pre class="programlisting"><a
150
188
href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html"
151
>GtkTreeModel</a> * bluetooth_client_get_model (BluetoothClient *client);</pre>
189
>GtkTreeModel</a> * bluetooth_client_get_model (<a
190
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-BluetoothClient.html#BluetoothClient"
191
>BluetoothClient</a> *client);</pre>
160
200
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
161
<td> a <span class="type">BluetoothClient</span> object
202
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-BluetoothClient.html#BluetoothClient"
203
><span class="type">BluetoothClient</span></a> object
175
<div class="refsect2" lang="en">
217
<div class="refsect2" title="bluetooth_client_get_filter_model ()">
176
218
<a name="bluetooth-client-get-filter-model"></a><h3>bluetooth_client_get_filter_model ()</h3>
177
219
<pre class="programlisting"><a
178
220
href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html"
179
>GtkTreeModel</a> * bluetooth_client_get_filter_model (BluetoothClient *client,
221
>GtkTreeModel</a> * bluetooth_client_get_filter_model (<a
222
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-BluetoothClient.html#BluetoothClient"
223
>BluetoothClient</a> *client,
181
225
href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModelFilter.html#GtkTreeModelFilterVisibleFunc"
182
226
>GtkTreeModelFilterVisibleFunc</a> func,
197
241
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
198
<td> a <span class="type">BluetoothClient</span> object
243
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-BluetoothClient.html#BluetoothClient"
244
><span class="type">BluetoothClient</span></a> object
235
<div class="refsect2" lang="en">
281
<div class="refsect2" title="bluetooth_client_get_adapter_model ()">
236
282
<a name="bluetooth-client-get-adapter-model"></a><h3>bluetooth_client_get_adapter_model ()</h3>
237
283
<pre class="programlisting"><a
238
284
href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html"
239
>GtkTreeModel</a> * bluetooth_client_get_adapter_model (BluetoothClient *client);</pre>
285
>GtkTreeModel</a> * bluetooth_client_get_adapter_model (<a
286
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-BluetoothClient.html#BluetoothClient"
287
>BluetoothClient</a> *client);</pre>
248
296
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
249
<td> a <span class="type">BluetoothClient</span> object
298
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-BluetoothClient.html#BluetoothClient"
299
><span class="type">BluetoothClient</span></a> object
263
<div class="refsect2" lang="en">
313
<div class="refsect2" title="bluetooth_client_get_device_model ()">
264
314
<a name="bluetooth-client-get-device-model"></a><h3>bluetooth_client_get_device_model ()</h3>
265
315
<pre class="programlisting"><a
266
316
href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html"
267
>GtkTreeModel</a> * bluetooth_client_get_device_model (BluetoothClient *client,
317
>GtkTreeModel</a> * bluetooth_client_get_device_model (<a
318
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-BluetoothClient.html#BluetoothClient"
319
>BluetoothClient</a> *client,
269
321
href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGProxy.html#DBusGProxy"
270
322
>DBusGProxy</a> *adapter);</pre>
279
331
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
280
<td> a <span class="type">BluetoothClient</span> object
333
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-BluetoothClient.html#BluetoothClient"
334
><span class="type">BluetoothClient</span></a> object
305
<div class="refsect2" lang="en">
359
<div class="refsect2" title="bluetooth_client_get_device_filter_model ()">
306
360
<a name="bluetooth-client-get-device-filter-model"></a><h3>bluetooth_client_get_device_filter_model ()</h3>
307
361
<pre class="programlisting"><a
308
362
href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html"
309
363
>GtkTreeModel</a> * bluetooth_client_get_device_filter_model
310
(BluetoothClient *client,
365
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-BluetoothClient.html#BluetoothClient"
366
>BluetoothClient</a> *client,
312
368
href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGProxy.html#DBusGProxy"
313
369
>DBusGProxy</a> *adapter,
331
387
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
332
<td> a <span class="type">BluetoothClient</span> object
389
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-BluetoothClient.html#BluetoothClient"
390
><span class="type">BluetoothClient</span></a> object
374
<div class="refsect2" lang="en">
432
<div class="refsect2" title="bluetooth_type_to_string ()">
375
433
<a name="bluetooth-type-to-string"></a><h3>bluetooth_type_to_string ()</h3>
376
434
<pre class="programlisting">const <a
377
435
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
404
<div class="refsect2" lang="en">
462
<div class="refsect2" title="bluetooth_verify_address ()">
405
463
<a name="bluetooth-verify-address"></a><h3>bluetooth_verify_address ()</h3>
406
464
<pre class="programlisting"><a
407
465
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
430
<div class="refsect2" lang="en">
488
<div class="refsect2" title="bluetooth_uuid_to_string ()">
431
489
<a name="bluetooth-uuid-to-string"></a><h3>bluetooth_uuid_to_string ()</h3>
432
490
<pre class="programlisting">const char * bluetooth_uuid_to_string (const char *uuid);</pre>