~ubuntu-branches/ubuntu/saucy/gnome-bluetooth/saucy

« back to all changes in this revision

Viewing changes to docs/reference/libgnome-bluetooth/html/gnome-bluetooth-BluetoothClient.html

  • Committer: Bazaar Package Importer
  • Author(s): Andrea Veri
  • Date: 2009-10-23 12:20:27 UTC
  • mto: (2.2.1 experimental) (1.4.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 30.
  • Revision ID: james.westby@ubuntu.com-20091023122027-qsz916rqtp277rmf
Tags: upstream-2.28.3
Import upstream version 2.28.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
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>
30
30
</td></tr>
31
31
</table>
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>
35
35
<td valign="top">
38
38
</td>
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)
45
 
                    BluetoothClient;
46
 
BluetoothClient *   bluetooth_client_new                (void);
47
 
<a
48
 
href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html"
49
 
>GtkTreeModel</a> *      bluetooth_client_get_model          (BluetoothClient *client);
50
 
<a
51
 
href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html"
52
 
>GtkTreeModel</a> *      bluetooth_client_get_filter_model   (BluetoothClient *client,
 
44
#define             <a
 
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)
 
47
                    <a
 
48
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-BluetoothClient.html#BluetoothClient"
 
49
>BluetoothClient</a>;
 
50
<a
 
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);
 
55
<a
 
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);
 
62
<a
 
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,
53
69
                                                         <a
54
70
href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModelFilter.html#GtkTreeModelFilterVisibleFunc"
55
71
>GtkTreeModelFilterVisibleFunc</a> func,
61
77
>GDestroyNotify</a> destroy);
62
78
<a
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);
65
85
<a
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,
68
92
                                                         <a
69
93
href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGProxy.html#DBusGProxy"
70
94
>DBusGProxy</a> *adapter);
71
95
<a
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>
 
100
                                                        (<a
 
101
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-BluetoothClient.html#BluetoothClient"
 
102
>BluetoothClient</a> *client,
75
103
                                                         <a
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);
87
115
const <a
88
116
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
89
 
>gchar</a> *       bluetooth_type_to_string            (<a
 
117
>gchar</a> *       <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"
91
121
>guint</a> type);
92
122
<a
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);
 
124
>gboolean</a>            <a
 
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);
 
127
const char *        <a
 
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);
96
130
</pre>
97
131
</div>
98
 
<div class="refsect1" lang="en">
 
132
<div class="refsect1" title="Description">
99
133
<a name="gnome-bluetooth-BluetoothClient.description"></a><h2>Description</h2>
100
134
<p>
101
135
</p>
102
136
</div>
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>
108
142
<p>
117
151
</table></div>
118
152
</div>
119
153
<hr>
120
 
<div class="refsect2" lang="en">
 
154
<div class="refsect2" title="BluetoothClient">
121
155
<a name="BluetoothClient"></a><h3>BluetoothClient</h3>
122
156
<pre class="programlisting">typedef struct {
123
157
        GObject parent;
127
161
</p>
128
162
</div>
129
163
<hr>
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>
133
169
<p>
134
170
</p>
135
171
<p>
138
174
<col align="left" valign="top">
139
175
<tbody><tr>
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.
142
180
</td>
143
181
</tr></tbody>
144
182
</table></div>
145
183
</div>
146
184
<hr>
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>
152
192
<p>
153
193
</p>
154
194
<p>
158
198
<tbody>
159
199
<tr>
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
 
201
<td> a <a
 
202
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-BluetoothClient.html#BluetoothClient"
 
203
><span class="type">BluetoothClient</span></a> object
162
204
</td>
163
205
</tr>
164
206
<tr>
172
214
</table></div>
173
215
</div>
174
216
<hr>
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,
180
224
                                                         <a
181
225
href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModelFilter.html#GtkTreeModelFilterVisibleFunc"
182
226
>GtkTreeModelFilterVisibleFunc</a> func,
195
239
<tbody>
196
240
<tr>
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
 
242
<td> a <a
 
243
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-BluetoothClient.html#BluetoothClient"
 
244
><span class="type">BluetoothClient</span></a> object
199
245
</td>
200
246
</tr>
201
247
<tr>
232
278
</table></div>
233
279
</div>
234
280
<hr>
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>
240
288
<p>
241
289
</p>
242
290
<p>
246
294
<tbody>
247
295
<tr>
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
 
297
<td> a <a
 
298
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-BluetoothClient.html#BluetoothClient"
 
299
><span class="type">BluetoothClient</span></a> object
250
300
</td>
251
301
</tr>
252
302
<tr>
260
310
</table></div>
261
311
</div>
262
312
<hr>
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,
268
320
                                                         <a
269
321
href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGProxy.html#DBusGProxy"
270
322
>DBusGProxy</a> *adapter);</pre>
277
329
<tbody>
278
330
<tr>
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
 
332
<td> a <a
 
333
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-BluetoothClient.html#BluetoothClient"
 
334
><span class="type">BluetoothClient</span></a> object
281
335
</td>
282
336
</tr>
283
337
<tr>
302
356
</table></div>
303
357
</div>
304
358
<hr>
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,
 
364
                                                        (<a
 
365
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-BluetoothClient.html#BluetoothClient"
 
366
>BluetoothClient</a> *client,
311
367
                                                         <a
312
368
href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGProxy.html#DBusGProxy"
313
369
>DBusGProxy</a> *adapter,
329
385
<tbody>
330
386
<tr>
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
 
388
<td> a <a
 
389
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-BluetoothClient.html#BluetoothClient"
 
390
><span class="type">BluetoothClient</span></a> object
333
391
</td>
334
392
</tr>
335
393
<tr>
371
429
</table></div>
372
430
</div>
373
431
<hr>
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"
401
459
</table></div>
402
460
</div>
403
461
<hr>
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"
427
485
</table></div>
428
486
</div>
429
487
<hr>
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>
433
491
<p>