39
40
<td valign="top" align="right"></td>
40
41
</tr></table></div>
41
<div class="refsynopsisdiv">
42
<div class="refsynopsisdiv" title="Synopsis">
42
43
<a name="libbrasero-media-BraseroDrive.synopsis"></a><h2>Synopsis</h2>
43
<pre class="synopsis">
45
href="../libbrasero-media/BraseroDrive.html#BraseroDriveCaps"
46
>BraseroDriveCaps</a>;
48
href="../libbrasero-media/BraseroDrive.html"
51
href="../libbrasero-media/BraseroDrive.html#brasero-drive-reprobe"
52
>brasero_drive_reprobe</a> (<a
53
href="../libbrasero-media/BraseroDrive.html"
54
>BraseroDrive</a> *drive);
56
href="../libbrasero-media/BraseroMedium.html"
57
>BraseroMedium</a> * <a
58
href="../libbrasero-media/BraseroDrive.html#brasero-drive-get-medium"
59
>brasero_drive_get_medium</a> (<a
60
href="../libbrasero-media/BraseroDrive.html"
61
>BraseroDrive</a> *drive);
63
href="http://library.gnome.org/devel/gio/unstable/GDrive.html"
65
href="../libbrasero-media/BraseroDrive.html#brasero-drive-get-gdrive"
66
>brasero_drive_get_gdrive</a> (<a
67
href="../libbrasero-media/BraseroDrive.html"
68
>BraseroDrive</a> *drive);
70
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
72
href="../libbrasero-media/BraseroDrive.html#brasero-drive-get-udi"
73
>brasero_drive_get_udi</a> (<a
74
href="../libbrasero-media/BraseroDrive.html"
75
>BraseroDrive</a> *drive);
77
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
79
href="../libbrasero-media/BraseroDrive.html#brasero-drive-is-fake"
80
>brasero_drive_is_fake</a> (<a
81
href="../libbrasero-media/BraseroDrive.html"
82
>BraseroDrive</a> *drive);
84
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
86
href="../libbrasero-media/BraseroDrive.html#brasero-drive-get-display-name"
87
>brasero_drive_get_display_name</a> (<a
88
href="../libbrasero-media/BraseroDrive.html"
89
>BraseroDrive</a> *drive);
91
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
93
href="../libbrasero-media/BraseroDrive.html#brasero-drive-get-device"
94
>brasero_drive_get_device</a> (<a
95
href="../libbrasero-media/BraseroDrive.html"
96
>BraseroDrive</a> *drive);
98
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
100
href="../libbrasero-media/BraseroDrive.html#brasero-drive-get-block-device"
101
>brasero_drive_get_block_device</a> (<a
102
href="../libbrasero-media/BraseroDrive.html"
103
>BraseroDrive</a> *drive);
105
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
107
href="../libbrasero-media/BraseroDrive.html#brasero-drive-get-bus-target-lun-string"
108
>brasero_drive_get_bus_target_lun_string</a>
110
href="../libbrasero-media/BraseroDrive.html"
111
>BraseroDrive</a> *drive);
113
href="../libbrasero-media/BraseroDrive.html#BraseroDriveCaps"
114
>BraseroDriveCaps</a> <a
115
href="../libbrasero-media/BraseroDrive.html#brasero-drive-get-caps"
116
>brasero_drive_get_caps</a> (<a
117
href="../libbrasero-media/BraseroDrive.html"
118
>BraseroDrive</a> *drive);
120
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
122
href="../libbrasero-media/BraseroDrive.html#brasero-drive-can-write"
123
>brasero_drive_can_write</a> (<a
124
href="../libbrasero-media/BraseroDrive.html"
125
>BraseroDrive</a> *drive);
127
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
129
href="../libbrasero-media/BraseroDrive.html#brasero-drive-can-eject"
130
>brasero_drive_can_eject</a> (<a
131
href="../libbrasero-media/BraseroDrive.html"
132
>BraseroDrive</a> *drive);
134
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
136
href="../libbrasero-media/BraseroDrive.html#brasero-drive-eject"
137
>brasero_drive_eject</a> (<a
138
href="../libbrasero-media/BraseroDrive.html"
139
>BraseroDrive</a> *drive,
141
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
144
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
145
>GError</a> **error);
147
href="../libbrasero-media/BraseroDrive.html#brasero-drive-cancel-current-operation"
148
>brasero_drive_cancel_current_operation</a>
150
href="../libbrasero-media/BraseroDrive.html"
151
>BraseroDrive</a> *drive);
153
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
155
href="../libbrasero-media/BraseroDrive.html#brasero-drive-is-door-open"
156
>brasero_drive_is_door_open</a> (<a
157
href="../libbrasero-media/BraseroDrive.html"
158
>BraseroDrive</a> *drive);
160
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
162
href="../libbrasero-media/BraseroDrive.html#brasero-drive-can-use-exclusively"
163
>brasero_drive_can_use_exclusively</a> (<a
164
href="../libbrasero-media/BraseroDrive.html"
165
>BraseroDrive</a> *drive);
167
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
169
href="../libbrasero-media/BraseroDrive.html#brasero-drive-lock"
170
>brasero_drive_lock</a> (<a
171
href="../libbrasero-media/BraseroDrive.html"
172
>BraseroDrive</a> *drive,
174
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
177
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
178
>gchar</a> **reason_for_failure);
180
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
182
href="../libbrasero-media/BraseroDrive.html#brasero-drive-unlock"
183
>brasero_drive_unlock</a> (<a
184
href="../libbrasero-media/BraseroDrive.html"
185
>BraseroDrive</a> *drive);
44
<pre class="synopsis">enum <a href="libbrasero-media-BraseroDrive.html#BraseroDriveCaps">BraseroDriveCaps</a>;
45
<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a>;
46
void <a href="libbrasero-media-BraseroDrive.html#brasero-drive-reprobe">brasero_drive_reprobe</a> (<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a> *drive);
47
<a href="libbrasero-media-BraseroMedium.html#BraseroMedium">BraseroMedium</a> * <a href="libbrasero-media-BraseroDrive.html#brasero-drive-get-medium">brasero_drive_get_medium</a> (<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a> *drive);
48
<a href="http://library.gnome.org/devel/gio/unstable/GDrive.html">GDrive</a> * <a href="libbrasero-media-BraseroDrive.html#brasero-drive-get-gdrive">brasero_drive_get_gdrive</a> (<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a> *drive);
49
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar">gchar</a> * <a href="libbrasero-media-BraseroDrive.html#brasero-drive-get-udi">brasero_drive_get_udi</a> (<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a> *drive);
50
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean">gboolean</a> <a href="libbrasero-media-BraseroDrive.html#brasero-drive-is-fake">brasero_drive_is_fake</a> (<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a> *drive);
51
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar">gchar</a> * <a href="libbrasero-media-BraseroDrive.html#brasero-drive-get-display-name">brasero_drive_get_display_name</a> (<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a> *drive);
52
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar">gchar</a> * <a href="libbrasero-media-BraseroDrive.html#brasero-drive-get-device">brasero_drive_get_device</a> (<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a> *drive);
53
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar">gchar</a> * <a href="libbrasero-media-BraseroDrive.html#brasero-drive-get-block-device">brasero_drive_get_block_device</a> (<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a> *drive);
54
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar">gchar</a> * <a href="libbrasero-media-BraseroDrive.html#brasero-drive-get-bus-target-lun-string">brasero_drive_get_bus_target_lun_string</a>
55
(<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a> *drive);
56
<a href="libbrasero-media-BraseroDrive.html#BraseroDriveCaps">BraseroDriveCaps</a> <a href="libbrasero-media-BraseroDrive.html#brasero-drive-get-caps">brasero_drive_get_caps</a> (<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a> *drive);
57
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean">gboolean</a> <a href="libbrasero-media-BraseroDrive.html#brasero-drive-can-write">brasero_drive_can_write</a> (<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a> *drive);
58
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean">gboolean</a> <a href="libbrasero-media-BraseroDrive.html#brasero-drive-can-eject">brasero_drive_can_eject</a> (<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a> *drive);
59
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean">gboolean</a> <a href="libbrasero-media-BraseroDrive.html#brasero-drive-eject">brasero_drive_eject</a> (<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a> *drive,
60
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean">gboolean</a> wait,
61
<a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError">GError</a> **error);
62
void <a href="libbrasero-media-BraseroDrive.html#brasero-drive-cancel-current-operation">brasero_drive_cancel_current_operation</a>
63
(<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a> *drive);
64
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean">gboolean</a> <a href="libbrasero-media-BraseroDrive.html#brasero-drive-is-door-open">brasero_drive_is_door_open</a> (<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a> *drive);
65
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean">gboolean</a> <a href="libbrasero-media-BraseroDrive.html#brasero-drive-can-use-exclusively">brasero_drive_can_use_exclusively</a> (<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a> *drive);
66
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean">gboolean</a> <a href="libbrasero-media-BraseroDrive.html#brasero-drive-lock">brasero_drive_lock</a> (<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a> *drive,
67
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar">gchar</a> *reason,
68
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar">gchar</a> **reason_for_failure);
69
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean">gboolean</a> <a href="libbrasero-media-BraseroDrive.html#brasero-drive-unlock">brasero_drive_unlock</a> (<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a> *drive);
188
<div class="refsect1" lang="en">
72
<div class="refsect1" title="Description">
189
73
<a name="libbrasero-media-BraseroDrive.description"></a><h2>Description</h2>
193
<div class="refsect1" lang="en">
77
<div class="refsect1" title="Details">
194
78
<a name="libbrasero-media-BraseroDrive.details"></a><h2>Details</h2>
195
<div class="refsect2" lang="en">
79
<div class="refsect2" title="enum BraseroDriveCaps">
196
80
<a name="BraseroDriveCaps"></a><h3>enum BraseroDriveCaps</h3>
197
81
<pre class="programlisting">typedef enum {
198
82
BRASERO_DRIVE_CAPS_NONE = 0,
216
<div class="refsect2" lang="en">
100
<div class="refsect2" title="BraseroDrive">
217
101
<a name="BraseroDrive"></a><h3>BraseroDrive</h3>
218
102
<pre class="programlisting">typedef struct {
219
103
GObject parent_instance;
107
Represents a physical drive currently connected.</p>
226
<div class="refsect2" lang="en">
110
<div class="refsect2" title="brasero_drive_reprobe ()">
227
111
<a name="brasero-drive-reprobe"></a><h3>brasero_drive_reprobe ()</h3>
228
<pre class="programlisting">void brasero_drive_reprobe (<a
229
href="../libbrasero-media/BraseroDrive.html"
230
>BraseroDrive</a> *drive);</pre>
112
<pre class="programlisting">void brasero_drive_reprobe (<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a> *drive);</pre>
232
114
Reprobes the drive contents. Useful when an operation has just been performed
233
115
(blanking, burning, ...) and medium status should be updated.
236
118
NOTE: This operation does not block.</p>
239
119
<div class="variablelist"><table border="0">
240
120
<col align="left" valign="top">
242
122
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
244
href="../libbrasero-media/BraseroDrive.html"
245
><span class="type">BraseroDrive</span></a>
123
<td> a <a href="libbrasero-media-BraseroDrive.html#BraseroDrive"><span class="type">BraseroDrive</span></a>
251
<div class="refsect2" lang="en">
129
<div class="refsect2" title="brasero_drive_get_medium ()">
252
130
<a name="brasero-drive-get-medium"></a><h3>brasero_drive_get_medium ()</h3>
253
<pre class="programlisting"><a
254
href="../libbrasero-media/BraseroMedium.html"
255
>BraseroMedium</a> * brasero_drive_get_medium (<a
256
href="../libbrasero-media/BraseroDrive.html"
257
>BraseroDrive</a> *drive);</pre>
131
<pre class="programlisting"><a href="libbrasero-media-BraseroMedium.html#BraseroMedium">BraseroMedium</a> * brasero_drive_get_medium (<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a> *drive);</pre>
259
133
Gets the medium currently inserted in the drive. If there is no medium or if
260
134
the medium is not probed yet then it returns NULL.</p>
263
135
<div class="variablelist"><table border="0">
264
136
<col align="left" valign="top">
267
139
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
269
href="../libbrasero-media/BraseroDrive.html"
270
><span class="type">BraseroDrive</span></a>
140
<td> a <a href="libbrasero-media-BraseroDrive.html#BraseroDrive"><span class="type">BraseroDrive</span></a>
274
144
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
276
href="../libbrasero-media/BraseroMedium.html"
277
><span class="type">BraseroMedium</span></a> object or NULL. No need to unref after use.
145
<td> a <a href="libbrasero-media-BraseroMedium.html#BraseroMedium"><span class="type">BraseroMedium</span></a> object or NULL. No need to unref after use.. <acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>. </td>
284
<div class="refsect2" lang="en">
151
<div class="refsect2" title="brasero_drive_get_gdrive ()">
285
152
<a name="brasero-drive-get-gdrive"></a><h3>brasero_drive_get_gdrive ()</h3>
286
<pre class="programlisting"><a
287
href="http://library.gnome.org/devel/gio/unstable/GDrive.html"
288
>GDrive</a> * brasero_drive_get_gdrive (<a
289
href="../libbrasero-media/BraseroDrive.html"
290
>BraseroDrive</a> *drive);</pre>
293
href="http://library.gnome.org/devel/gio/unstable/GDrive.html"
294
><span class="type">GDrive</span></a> corresponding to this <a
295
href="../libbrasero-media/BraseroDrive.html"
296
><span class="type">BraseroDrive</span></a></p>
153
<pre class="programlisting"><a href="http://library.gnome.org/devel/gio/unstable/GDrive.html">GDrive</a> * brasero_drive_get_gdrive (<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a> *drive);</pre>
155
Returns the <a href="http://library.gnome.org/devel/gio/unstable/GDrive.html"><span class="type">GDrive</span></a> corresponding to this <a href="libbrasero-media-BraseroDrive.html#BraseroDrive"><span class="type">BraseroDrive</span></a></p>
299
156
<div class="variablelist"><table border="0">
300
157
<col align="left" valign="top">
303
160
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
305
href="../libbrasero-media/BraseroDrive.html"
306
><span class="type">BraseroDrive</span></a>
161
<td> a <a href="libbrasero-media-BraseroDrive.html#BraseroDrive"><span class="type">BraseroDrive</span></a>
310
165
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
312
href="http://library.gnome.org/devel/gio/unstable/GDrive.html"
313
><span class="type">GDrive</span></a> or NULL. Unref after use.
166
<td> a <a href="http://library.gnome.org/devel/gio/unstable/GDrive.html"><span class="type">GDrive</span></a> or NULL. Unref after use.
320
<div class="refsect2" lang="en">
173
<div class="refsect2" title="brasero_drive_get_udi ()">
321
174
<a name="brasero-drive-get-udi"></a><h3>brasero_drive_get_udi ()</h3>
322
<pre class="programlisting">const <a
323
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
324
>gchar</a> * brasero_drive_get_udi (<a
325
href="../libbrasero-media/BraseroDrive.html"
326
>BraseroDrive</a> *drive);</pre>
175
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar">gchar</a> * brasero_drive_get_udi (<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a> *drive);</pre>
328
177
Gets a string holding the HAL udi corresponding to this device. It can be used
329
178
to uniquely identify the drive.</p>
332
179
<div class="variablelist"><table border="0">
333
180
<col align="left" valign="top">
336
183
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
338
href="../libbrasero-media/BraseroDrive.html"
339
><span class="type">BraseroDrive</span></a>
184
<td> a <a href="libbrasero-media-BraseroDrive.html#BraseroDrive"><span class="type">BraseroDrive</span></a>
351
<div class="refsect2" lang="en">
196
<div class="refsect2" title="brasero_drive_is_fake ()">
352
197
<a name="brasero-drive-is-fake"></a><h3>brasero_drive_is_fake ()</h3>
353
<pre class="programlisting"><a
354
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
355
>gboolean</a> brasero_drive_is_fake (<a
356
href="../libbrasero-media/BraseroDrive.html"
357
>BraseroDrive</a> *drive);</pre>
198
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean">gboolean</a> brasero_drive_is_fake (<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a> *drive);</pre>
359
200
Returns whether or not the drive is a fake one. There is only one and
360
201
corresponds to a file which is used when the user wants to burn to a file.</p>
363
202
<div class="variablelist"><table border="0">
364
203
<col align="left" valign="top">
367
206
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
369
href="../libbrasero-media/BraseroDrive.html"
370
><span class="type">BraseroDrive</span></a>
207
<td> a <a href="libbrasero-media-BraseroDrive.html#BraseroDrive"><span class="type">BraseroDrive</span></a>
374
211
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
376
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
377
><code class="literal">TRUE</code></a> or <a
378
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
379
><code class="literal">FALSE</code></a>.
212
<td> <code class="literal">TRUE</code> or <code class="literal">FALSE</code>.
386
<div class="refsect2" lang="en">
219
<div class="refsect2" title="brasero_drive_get_display_name ()">
387
220
<a name="brasero-drive-get-display-name"></a><h3>brasero_drive_get_display_name ()</h3>
388
<pre class="programlisting"><a
389
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
390
>gchar</a> * brasero_drive_get_display_name (<a
391
href="../libbrasero-media/BraseroDrive.html"
392
>BraseroDrive</a> *drive);</pre>
221
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar">gchar</a> * brasero_drive_get_display_name (<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a> *drive);</pre>
394
223
Gets a string holding the name for the drive. That string can be then
395
224
displayed in a user interface.</p>
398
225
<div class="variablelist"><table border="0">
399
226
<col align="left" valign="top">
402
229
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
404
href="../libbrasero-media/BraseroDrive.html"
405
><span class="type">BraseroDrive</span></a>
230
<td> a <a href="libbrasero-media-BraseroDrive.html#BraseroDrive"><span class="type">BraseroDrive</span></a>
527
<div class="refsect2" lang="en">
328
<div class="refsect2" title="brasero_drive_get_caps ()">
528
329
<a name="brasero-drive-get-caps"></a><h3>brasero_drive_get_caps ()</h3>
529
<pre class="programlisting"><a
530
href="../libbrasero-media/BraseroDrive.html#BraseroDriveCaps"
531
>BraseroDriveCaps</a> brasero_drive_get_caps (<a
532
href="../libbrasero-media/BraseroDrive.html"
533
>BraseroDrive</a> *drive);</pre>
330
<pre class="programlisting"><a href="libbrasero-media-BraseroDrive.html#BraseroDriveCaps">BraseroDriveCaps</a> brasero_drive_get_caps (<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a> *drive);</pre>
535
332
Returns what type(s) of disc the drive can write to.</p>
538
333
<div class="variablelist"><table border="0">
539
334
<col align="left" valign="top">
542
337
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
544
href="../libbrasero-media/BraseroDrive.html"
545
><span class="type">BraseroDrive</span></a>
338
<td> a <a href="libbrasero-media-BraseroDrive.html#BraseroDrive"><span class="type">BraseroDrive</span></a>
549
342
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
551
href="../libbrasero-media/BraseroDrive.html#BraseroDriveCaps"
552
><span class="type">BraseroDriveCaps</span></a>.
343
<td> a <a href="libbrasero-media-BraseroDrive.html#BraseroDriveCaps"><span class="type">BraseroDriveCaps</span></a>.
559
<div class="refsect2" lang="en">
350
<div class="refsect2" title="brasero_drive_can_write ()">
560
351
<a name="brasero-drive-can-write"></a><h3>brasero_drive_can_write ()</h3>
561
<pre class="programlisting"><a
562
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
563
>gboolean</a> brasero_drive_can_write (<a
564
href="../libbrasero-media/BraseroDrive.html"
565
>BraseroDrive</a> *drive);</pre>
352
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean">gboolean</a> brasero_drive_can_write (<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a> *drive);</pre>
567
354
Returns whether the disc can burn any disc at all.</p>
570
355
<div class="variablelist"><table border="0">
571
356
<col align="left" valign="top">
574
359
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
576
href="../libbrasero-media/BraseroDrive.html"
577
><span class="type">BraseroDrive</span></a>
360
<td> a <a href="libbrasero-media-BraseroDrive.html#BraseroDrive"><span class="type">BraseroDrive</span></a>
581
364
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
583
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
584
><span class="type">gboolean</span></a>. TRUE if the drive can write a disc and FALSE otherwise
365
<td> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>. TRUE if the drive can write a disc and FALSE otherwise
591
<div class="refsect2" lang="en">
372
<div class="refsect2" title="brasero_drive_can_eject ()">
592
373
<a name="brasero-drive-can-eject"></a><h3>brasero_drive_can_eject ()</h3>
593
<pre class="programlisting"><a
594
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
595
>gboolean</a> brasero_drive_can_eject (<a
596
href="../libbrasero-media/BraseroDrive.html"
597
>BraseroDrive</a> *drive);</pre>
374
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean">gboolean</a> brasero_drive_can_eject (<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a> *drive);</pre>
599
376
Returns whether the drive can eject media.</p>
602
377
<div class="variablelist"><table border="0">
603
378
<col align="left" valign="top">
606
381
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
608
href="../libbrasero-media/BraseroDrive.html"
609
><span class="type">BraseroDrive</span></a>
382
<td> <a href="libbrasero-media-BraseroDrive.html#BraseroDrive"><span class="type">BraseroDrive</span></a>
613
386
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
615
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
616
><span class="type">gboolean</span></a>. TRUE if the media can be ejected, FALSE otherwise.
387
<td> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>. TRUE if the media can be ejected, FALSE otherwise.
624
<div class="refsect2" lang="en">
395
<div class="refsect2" title="brasero_drive_eject ()">
625
396
<a name="brasero-drive-eject"></a><h3>brasero_drive_eject ()</h3>
626
<pre class="programlisting"><a
627
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
628
>gboolean</a> brasero_drive_eject (<a
629
href="../libbrasero-media/BraseroDrive.html"
630
>BraseroDrive</a> *drive,
632
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
635
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
636
>GError</a> **error);</pre>
397
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean">gboolean</a> brasero_drive_eject (<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a> *drive,
398
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean">gboolean</a> wait,
399
<a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError">GError</a> **error);</pre>
638
401
Open the drive tray or ejects the media if there is any inside.</p>
641
402
<div class="variablelist"><table border="0">
642
403
<col align="left" valign="top">
645
406
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
647
href="../libbrasero-media/BraseroDrive.html"
648
><span class="type">BraseroDrive</span></a>
407
<td> <a href="libbrasero-media-BraseroDrive.html#BraseroDrive"><span class="type">BraseroDrive</span></a>
652
411
<td><p><span class="term"><em class="parameter"><code>wait</code></em> :</span></p></td>
654
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
655
><span class="type">gboolean</span></a> whether to wait for the completion of the operation (with a GMainLoop)
412
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> whether to wait for the completion of the operation (with a GMainLoop)
659
416
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
661
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
662
><span class="type">GError</span></a>
417
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>
666
421
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
668
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
669
><span class="type">gboolean</span></a>. TRUE on success, FALSE otherwise.
422
<td> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>. TRUE on success, FALSE otherwise.
677
<div class="refsect2" lang="en">
430
<div class="refsect2" title="brasero_drive_cancel_current_operation ()">
678
431
<a name="brasero-drive-cancel-current-operation"></a><h3>brasero_drive_cancel_current_operation ()</h3>
679
432
<pre class="programlisting">void brasero_drive_cancel_current_operation
681
href="../libbrasero-media/BraseroDrive.html"
682
>BraseroDrive</a> *drive);</pre>
433
(<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a> *drive);</pre>
684
435
Cancels all operations currently running for <em class="parameter"><code>drive</code></em></p>
687
436
<div class="variablelist"><table border="0">
688
437
<col align="left" valign="top">
690
439
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
692
href="../libbrasero-media/BraseroDrive.html"
693
><span class="type">BraseroDrive</span></a> *
440
<td> <a href="libbrasero-media-BraseroDrive.html#BraseroDrive"><span class="type">BraseroDrive</span></a> *
699
<div class="refsect2" lang="en">
446
<div class="refsect2" title="brasero_drive_is_door_open ()">
700
447
<a name="brasero-drive-is-door-open"></a><h3>brasero_drive_is_door_open ()</h3>
701
<pre class="programlisting"><a
702
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
703
>gboolean</a> brasero_drive_is_door_open (<a
704
href="../libbrasero-media/BraseroDrive.html"
705
>BraseroDrive</a> *drive);</pre>
448
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean">gboolean</a> brasero_drive_is_door_open (<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a> *drive);</pre>
707
450
Returns whether or not the drive door is open.</p>
710
451
<div class="variablelist"><table border="0">
711
452
<col align="left" valign="top">
714
455
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
716
href="../libbrasero-media/BraseroDrive.html"
717
><span class="type">BraseroDrive</span></a>
456
<td> a <a href="libbrasero-media-BraseroDrive.html#BraseroDrive"><span class="type">BraseroDrive</span></a>
721
460
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
723
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
724
><code class="literal">TRUE</code></a> or <a
725
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
726
><code class="literal">FALSE</code></a>.
461
<td> <code class="literal">TRUE</code> or <code class="literal">FALSE</code>.
733
<div class="refsect2" lang="en">
468
<div class="refsect2" title="brasero_drive_can_use_exclusively ()">
734
469
<a name="brasero-drive-can-use-exclusively"></a><h3>brasero_drive_can_use_exclusively ()</h3>
735
<pre class="programlisting"><a
736
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
737
>gboolean</a> brasero_drive_can_use_exclusively (<a
738
href="../libbrasero-media/BraseroDrive.html"
739
>BraseroDrive</a> *drive);</pre>
470
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean">gboolean</a> brasero_drive_can_use_exclusively (<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a> *drive);</pre>
741
472
Returns whether or not the drive can be used exclusively, that is whether or
742
473
not it is currently used by another application.</p>
745
474
<div class="variablelist"><table border="0">
746
475
<col align="left" valign="top">
749
478
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
751
href="../libbrasero-media/BraseroDrive.html"
752
><span class="type">BraseroDrive</span></a>
479
<td> a <a href="libbrasero-media-BraseroDrive.html#BraseroDrive"><span class="type">BraseroDrive</span></a>
756
483
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
758
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
759
><code class="literal">TRUE</code></a> or <a
760
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
761
><code class="literal">FALSE</code></a>.
484
<td> <code class="literal">TRUE</code> or <code class="literal">FALSE</code>.
768
<div class="refsect2" lang="en">
491
<div class="refsect2" title="brasero_drive_lock ()">
769
492
<a name="brasero-drive-lock"></a><h3>brasero_drive_lock ()</h3>
770
<pre class="programlisting"><a
771
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
772
>gboolean</a> brasero_drive_lock (<a
773
href="../libbrasero-media/BraseroDrive.html"
774
>BraseroDrive</a> *drive,
776
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
779
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
780
>gchar</a> **reason_for_failure);</pre>
783
href="../libbrasero-media/BraseroDrive.html"
784
><span class="type">BraseroDrive</span></a>. Manual ejection shouldn't be possible any more.</p>
493
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean">gboolean</a> brasero_drive_lock (<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a> *drive,
494
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar">gchar</a> *reason,
495
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar">gchar</a> **reason_for_failure);</pre>
497
Locks a <a href="libbrasero-media-BraseroDrive.html#BraseroDrive"><span class="type">BraseroDrive</span></a>. Manual ejection shouldn't be possible any more.</p>
787
498
<div class="variablelist"><table border="0">
788
499
<col align="left" valign="top">
791
502
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
793
href="../libbrasero-media/BraseroDrive.html"
794
><span class="type">BraseroDrive</span></a>
503
<td> a <a href="libbrasero-media-BraseroDrive.html#BraseroDrive"><span class="type">BraseroDrive</span></a>
808
517
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
810
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
811
><code class="literal">TRUE</code></a> if the drive was successfully locked or <a
812
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
813
><code class="literal">FALSE</code></a>.
518
<td> <code class="literal">TRUE</code> if the drive was successfully locked or <code class="literal">FALSE</code>.
820
<div class="refsect2" lang="en">
525
<div class="refsect2" title="brasero_drive_unlock ()">
821
526
<a name="brasero-drive-unlock"></a><h3>brasero_drive_unlock ()</h3>
822
<pre class="programlisting"><a
823
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
824
>gboolean</a> brasero_drive_unlock (<a
825
href="../libbrasero-media/BraseroDrive.html"
826
>BraseroDrive</a> *drive);</pre>
829
href="../libbrasero-media/BraseroDrive.html"
830
><span class="type">BraseroDrive</span></a>.</p>
527
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean">gboolean</a> brasero_drive_unlock (<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a> *drive);</pre>
529
Unlocks a <a href="libbrasero-media-BraseroDrive.html#BraseroDrive"><span class="type">BraseroDrive</span></a>.</p>
833
530
<div class="variablelist"><table border="0">
834
531
<col align="left" valign="top">
837
534
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
839
href="../libbrasero-media/BraseroDrive.html"
840
><span class="type">BraseroDrive</span></a>
535
<td> a <a href="libbrasero-media-BraseroDrive.html#BraseroDrive"><span class="type">BraseroDrive</span></a>
844
539
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
846
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
847
><code class="literal">TRUE</code></a> if the drive was successfully unlocked or <a
848
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
849
><code class="literal">FALSE</code></a>.
540
<td> <code class="literal">TRUE</code> if the drive was successfully unlocked or <code class="literal">FALSE</code>.