~ubuntu-branches/ubuntu/maverick/brasero/maverick

« back to all changes in this revision

Viewing changes to docs/reference/libbrasero-media/html/libbrasero-media-BraseroDrive.html

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2009-11-26 16:20:01 UTC
  • mto: This revision was merged to the branch mainline in revision 58.
  • Revision ID: james.westby@ubuntu.com-20091126162001-5iw2jzxdx8l31okz
Tags: upstream-2.29.2
Import upstream version 2.29.2

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>BraseroDrive</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="Libbrasero-media Reference Manual">
8
8
<link rel="up" href="ch01.html" title="API Reference for Libbrasero-media">
9
9
<link rel="prev" href="libbrasero-media-BraseroMediumMonitor.html" title="BraseroMediumMonitor">
10
10
<link rel="next" href="libbrasero-media-BraseroMedium.html" title="BraseroMedium">
11
 
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.12 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
<link rel="chapter" href="ch01.html" title="API Reference for Libbrasero-media">
14
14
<link rel="chapter" href="object-tree.html" title="Object Hierarchy">
15
15
<link rel="index" href="api-index-full.html" title="API Index">
 
16
<link rel="glossary" href="annotation-glossary.html" title="Annotation Glossary">
16
17
</head>
17
18
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
18
19
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
25
26
</tr>
26
27
<tr><td colspan="5" class="shortcuts">
27
28
<a href="#libbrasero-media-BraseroDrive.synopsis" class="shortcut">Top</a>
28
 
                 | 
29
 
                <a href="#libbrasero-media-BraseroDrive.description" class="shortcut">Description</a>
 
29
                   | 
 
30
                  <a href="#libbrasero-media-BraseroDrive.description" class="shortcut">Description</a>
30
31
</td></tr>
31
32
</table>
32
 
<div class="refentry" lang="en">
 
33
<div class="refentry" title="BraseroDrive">
33
34
<a name="libbrasero-media-BraseroDrive"></a><div class="titlepage"></div>
34
35
<div class="refnamediv"><table width="100%"><tr>
35
36
<td valign="top">
38
39
</td>
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">
44
 
enum                <a
45
 
href="../libbrasero-media/BraseroDrive.html#BraseroDriveCaps"
46
 
>BraseroDriveCaps</a>;
47
 
                    <a
48
 
href="../libbrasero-media/BraseroDrive.html"
49
 
>BraseroDrive</a>;
50
 
void                <a
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);
55
 
<a
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);
62
 
<a
63
 
href="http://library.gnome.org/devel/gio/unstable/GDrive.html"
64
 
>GDrive</a> *            <a
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);
69
 
const <a
70
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
71
 
>gchar</a> *       <a
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);
76
 
<a
77
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
78
 
>gboolean</a>            <a
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);
83
 
<a
84
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
85
 
>gchar</a> *             <a
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);
90
 
const <a
91
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
92
 
>gchar</a> *       <a
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);
97
 
const <a
98
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
99
 
>gchar</a> *       <a
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);
104
 
<a
105
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
106
 
>gchar</a> *             <a
107
 
href="../libbrasero-media/BraseroDrive.html#brasero-drive-get-bus-target-lun-string"
108
 
>brasero_drive_get_bus_target_lun_string</a>
109
 
                                                        (<a
110
 
href="../libbrasero-media/BraseroDrive.html"
111
 
>BraseroDrive</a> *drive);
112
 
<a
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);
119
 
<a
120
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
121
 
>gboolean</a>            <a
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);
126
 
<a
127
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
128
 
>gboolean</a>            <a
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);
133
 
<a
134
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
135
 
>gboolean</a>            <a
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,
140
 
                                                         <a
141
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
142
 
>gboolean</a> wait,
143
 
                                                         <a
144
 
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
145
 
>GError</a> **error);
146
 
void                <a
147
 
href="../libbrasero-media/BraseroDrive.html#brasero-drive-cancel-current-operation"
148
 
>brasero_drive_cancel_current_operation</a>
149
 
                                                        (<a
150
 
href="../libbrasero-media/BraseroDrive.html"
151
 
>BraseroDrive</a> *drive);
152
 
<a
153
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
154
 
>gboolean</a>            <a
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);
159
 
<a
160
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
161
 
>gboolean</a>            <a
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);
166
 
<a
167
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
168
 
>gboolean</a>            <a
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,
173
 
                                                         const <a
174
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
175
 
>gchar</a> *reason,
176
 
                                                         <a
177
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
178
 
>gchar</a> **reason_for_failure);
179
 
<a
180
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
181
 
>gboolean</a>            <a
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);
186
70
</pre>
187
71
</div>
188
 
<div class="refsect1" lang="en">
 
72
<div class="refsect1" title="Description">
189
73
<a name="libbrasero-media-BraseroDrive.description"></a><h2>Description</h2>
190
74
<p>
191
75
</p>
192
76
</div>
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,
203
87
        BRASERO_DRIVE_CAPS_DVDR_PLUS            = 1 &lt;&lt; 4,
204
88
        BRASERO_DRIVE_CAPS_DVDRW_PLUS           = 1 &lt;&lt; 5,
205
89
        BRASERO_DRIVE_CAPS_DVDR_PLUS_DL         = 1 &lt;&lt; 6,
206
 
        BRASERO_DRIVE_CAPS_DVDRW_PLUS_DL        = 1 &lt;&lt; 7,
 
90
        BRASERO_DRIVE_CAPS_DVDRW_PLUS_DL = 1 &lt;&lt; 7,
207
91
        BRASERO_DRIVE_CAPS_DVDRAM               = 1 &lt;&lt; 10,
208
92
        BRASERO_DRIVE_CAPS_BDR                  = 1 &lt;&lt; 8,
209
93
        BRASERO_DRIVE_CAPS_BDRW                 = 1 &lt;&lt; 9
213
97
</p>
214
98
</div>
215
99
<hr>
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;
220
104
} BraseroDrive;
221
105
</pre>
222
106
<p>
223
 
</p>
 
107
Represents a physical drive currently connected.</p>
224
108
</div>
225
109
<hr>
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>
231
113
<p>
232
114
Reprobes the drive contents. Useful when an operation has just been performed
233
115
(blanking, burning, ...) and medium status should be updated.
234
116
</p>
235
117
<p>
236
118
NOTE: This operation does not block.</p>
237
 
<p>
238
 
</p>
239
119
<div class="variablelist"><table border="0">
240
120
<col align="left" valign="top">
241
121
<tbody><tr>
242
122
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
243
 
<td> a <a
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>
246
124
</td>
247
125
</tr></tbody>
248
126
</table></div>
249
127
</div>
250
128
<hr>
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>
258
132
<p>
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>
261
 
<p>
262
 
</p>
263
135
<div class="variablelist"><table border="0">
264
136
<col align="left" valign="top">
265
137
<tbody>
266
138
<tr>
267
139
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
268
 
<td> a <a
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>
271
141
</td>
272
142
</tr>
273
143
<tr>
274
144
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
275
 
<td> a <a
276
 
href="../libbrasero-media/BraseroMedium.html"
277
 
><span class="type">BraseroMedium</span></a> object or NULL. No need to unref after use.
278
 
</td>
 
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>
279
146
</tr>
280
147
</tbody>
281
148
</table></div>
282
149
</div>
283
150
<hr>
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>
291
 
<p>
292
 
Returns the <a
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>
297
 
<p>
298
 
</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>
 
154
<p>
 
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">
301
158
<tbody>
302
159
<tr>
303
160
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
304
 
<td> a <a
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>
307
162
</td>
308
163
</tr>
309
164
<tr>
310
165
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
311
 
<td> a <a
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.
314
167
</td>
315
168
</tr>
316
169
</tbody>
317
170
</table></div>
318
171
</div>
319
172
<hr>
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>
327
176
<p>
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>
330
 
<p>
331
 
</p>
332
179
<div class="variablelist"><table border="0">
333
180
<col align="left" valign="top">
334
181
<tbody>
335
182
<tr>
336
183
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
337
 
<td> a <a
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>
340
185
</td>
341
186
</tr>
342
187
<tr>
348
193
</table></div>
349
194
</div>
350
195
<hr>
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>
358
199
<p>
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>
361
 
<p>
362
 
</p>
363
202
<div class="variablelist"><table border="0">
364
203
<col align="left" valign="top">
365
204
<tbody>
366
205
<tr>
367
206
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
368
 
<td> a <a
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>
371
208
</td>
372
209
</tr>
373
210
<tr>
374
211
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
375
 
<td> <a
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>.
380
213
</td>
381
214
</tr>
382
215
</tbody>
383
216
</table></div>
384
217
</div>
385
218
<hr>
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>
393
222
<p>
394
223
Gets a string holding the name for the drive. That string can be then
395
224
displayed in a user interface.</p>
396
 
<p>
397
 
</p>
398
225
<div class="variablelist"><table border="0">
399
226
<col align="left" valign="top">
400
227
<tbody>
401
228
<tr>
402
229
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
403
 
<td> a <a
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>
406
231
</td>
407
232
</tr>
408
233
<tr>
414
239
</table></div>
415
240
</div>
416
241
<hr>
417
 
<div class="refsect2" lang="en">
 
242
<div class="refsect2" title="brasero_drive_get_device ()">
418
243
<a name="brasero-drive-get-device"></a><h3>brasero_drive_get_device ()</h3>
419
 
<pre class="programlisting">const <a
420
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
421
 
>gchar</a> *       brasero_drive_get_device            (<a
422
 
href="../libbrasero-media/BraseroDrive.html"
423
 
>BraseroDrive</a> *drive);</pre>
 
244
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar">gchar</a> *       brasero_drive_get_device            (<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a> *drive);</pre>
424
245
<p>
425
246
Gets a string holding the device path for the drive.</p>
426
 
<p>
427
 
</p>
428
247
<div class="variablelist"><table border="0">
429
248
<col align="left" valign="top">
430
249
<tbody>
431
250
<tr>
432
251
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
433
 
<td> a <a
434
 
href="../libbrasero-media/BraseroDrive.html"
435
 
><span class="type">BraseroDrive</span></a>
 
252
<td> a <a href="libbrasero-media-BraseroDrive.html#BraseroDrive"><span class="type">BraseroDrive</span></a>
436
253
</td>
437
254
</tr>
438
255
<tr>
445
262
</table></div>
446
263
</div>
447
264
<hr>
448
 
<div class="refsect2" lang="en">
 
265
<div class="refsect2" title="brasero_drive_get_block_device ()">
449
266
<a name="brasero-drive-get-block-device"></a><h3>brasero_drive_get_block_device ()</h3>
450
 
<pre class="programlisting">const <a
451
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
452
 
>gchar</a> *       brasero_drive_get_block_device      (<a
453
 
href="../libbrasero-media/BraseroDrive.html"
454
 
>BraseroDrive</a> *drive);</pre>
 
267
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar">gchar</a> *       brasero_drive_get_block_device      (<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a> *drive);</pre>
455
268
<p>
456
269
Gets a string holding the block device path for the drive. This can be used on
457
270
some other OSes, like Solaris, for GIO operations instead of the device
464
277
</p>
465
278
<p>
466
279
If such a path is not available, it returns the device path.</p>
467
 
<p>
468
 
</p>
469
280
<div class="variablelist"><table border="0">
470
281
<col align="left" valign="top">
471
282
<tbody>
472
283
<tr>
473
284
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
474
 
<td> a <a
475
 
href="../libbrasero-media/BraseroDrive.html"
476
 
><span class="type">BraseroDrive</span></a>
 
285
<td> a <a href="libbrasero-media-BraseroDrive.html#BraseroDrive"><span class="type">BraseroDrive</span></a>
477
286
</td>
478
287
</tr>
479
288
<tr>
485
294
</table></div>
486
295
</div>
487
296
<hr>
488
 
<div class="refsect2" lang="en">
 
297
<div class="refsect2" title="brasero_drive_get_bus_target_lun_string ()">
489
298
<a name="brasero-drive-get-bus-target-lun-string"></a><h3>brasero_drive_get_bus_target_lun_string ()</h3>
490
 
<pre class="programlisting"><a
491
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
492
 
>gchar</a> *             brasero_drive_get_bus_target_lun_string
493
 
                                                        (<a
494
 
href="../libbrasero-media/BraseroDrive.html"
495
 
>BraseroDrive</a> *drive);</pre>
 
299
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar">gchar</a> *             brasero_drive_get_bus_target_lun_string
 
300
                                                        (<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a> *drive);</pre>
496
301
<p>
497
302
Returns the bus, target, lun ("{bus},{target},{lun}") as a string which is
498
303
sometimes needed by some backends like cdrecord.
502
307
according to OSes. Basically it returns bus/target/lun only for FreeBSD
503
308
which is the only OS in need for that. For all others it returns the device
504
309
path.</p>
505
 
<p>
506
 
</p>
507
310
<div class="variablelist"><table border="0">
508
311
<col align="left" valign="top">
509
312
<tbody>
510
313
<tr>
511
314
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
512
 
<td> a <a
513
 
href="../libbrasero-media/BraseroDrive.html"
514
 
><span class="type">BraseroDrive</span></a>
 
315
<td> a <a href="libbrasero-media-BraseroDrive.html#BraseroDrive"><span class="type">BraseroDrive</span></a>
515
316
</td>
516
317
</tr>
517
318
<tr>
524
325
</table></div>
525
326
</div>
526
327
<hr>
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>
534
331
<p>
535
332
Returns what type(s) of disc the drive can write to.</p>
536
 
<p>
537
 
</p>
538
333
<div class="variablelist"><table border="0">
539
334
<col align="left" valign="top">
540
335
<tbody>
541
336
<tr>
542
337
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
543
 
<td> a <a
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>
546
339
</td>
547
340
</tr>
548
341
<tr>
549
342
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
550
 
<td> a <a
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>.
553
344
</td>
554
345
</tr>
555
346
</tbody>
556
347
</table></div>
557
348
</div>
558
349
<hr>
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>
566
353
<p>
567
354
Returns whether the disc can burn any disc at all.</p>
568
 
<p>
569
 
</p>
570
355
<div class="variablelist"><table border="0">
571
356
<col align="left" valign="top">
572
357
<tbody>
573
358
<tr>
574
359
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
575
 
<td> a <a
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>
578
361
</td>
579
362
</tr>
580
363
<tr>
581
364
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
582
 
<td> a <a
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
585
366
</td>
586
367
</tr>
587
368
</tbody>
588
369
</table></div>
589
370
</div>
590
371
<hr>
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>
598
375
<p>
599
376
Returns whether the drive can eject media.</p>
600
 
<p>
601
 
</p>
602
377
<div class="variablelist"><table border="0">
603
378
<col align="left" valign="top">
604
379
<tbody>
605
380
<tr>
606
381
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
607
 
<td> <a
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>
610
383
</td>
611
384
</tr>
612
385
<tr>
613
386
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
614
 
<td> a <a
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.
617
388
 
618
389
</td>
619
390
</tr>
621
392
</table></div>
622
393
</div>
623
394
<hr>
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,
631
 
                                                         <a
632
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
633
 
>gboolean</a> wait,
634
 
                                                         <a
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>
637
400
<p>
638
401
Open the drive tray or ejects the media if there is any inside.</p>
639
 
<p>
640
 
</p>
641
402
<div class="variablelist"><table border="0">
642
403
<col align="left" valign="top">
643
404
<tbody>
644
405
<tr>
645
406
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
646
 
<td> <a
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>
649
408
</td>
650
409
</tr>
651
410
<tr>
652
411
<td><p><span class="term"><em class="parameter"><code>wait</code></em> :</span></p></td>
653
 
<td> <a
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)
656
413
</td>
657
414
</tr>
658
415
<tr>
659
416
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
660
 
<td> <a
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>
663
418
</td>
664
419
</tr>
665
420
<tr>
666
421
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
667
 
<td> a <a
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.
670
423
 
671
424
</td>
672
425
</tr>
674
427
</table></div>
675
428
</div>
676
429
<hr>
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
680
 
                                                        (<a
681
 
href="../libbrasero-media/BraseroDrive.html"
682
 
>BraseroDrive</a> *drive);</pre>
 
433
                                                        (<a href="libbrasero-media-BraseroDrive.html#BraseroDrive">BraseroDrive</a> *drive);</pre>
683
434
<p>
684
435
Cancels all operations currently running for <em class="parameter"><code>drive</code></em></p>
685
 
<p>
686
 
</p>
687
436
<div class="variablelist"><table border="0">
688
437
<col align="left" valign="top">
689
438
<tbody><tr>
690
439
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
691
 
<td> <a
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> *
694
441
</td>
695
442
</tr></tbody>
696
443
</table></div>
697
444
</div>
698
445
<hr>
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>
706
449
<p>
707
450
Returns whether or not the drive door is open.</p>
708
 
<p>
709
 
</p>
710
451
<div class="variablelist"><table border="0">
711
452
<col align="left" valign="top">
712
453
<tbody>
713
454
<tr>
714
455
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
715
 
<td> a <a
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>
718
457
</td>
719
458
</tr>
720
459
<tr>
721
460
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
722
 
<td> <a
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>.
727
462
</td>
728
463
</tr>
729
464
</tbody>
730
465
</table></div>
731
466
</div>
732
467
<hr>
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>
740
471
<p>
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>
743
 
<p>
744
 
</p>
745
474
<div class="variablelist"><table border="0">
746
475
<col align="left" valign="top">
747
476
<tbody>
748
477
<tr>
749
478
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
750
 
<td> a <a
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>
753
480
</td>
754
481
</tr>
755
482
<tr>
756
483
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
757
 
<td> <a
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>.
762
485
</td>
763
486
</tr>
764
487
</tbody>
765
488
</table></div>
766
489
</div>
767
490
<hr>
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,
775
 
                                                         const <a
776
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
777
 
>gchar</a> *reason,
778
 
                                                         <a
779
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
780
 
>gchar</a> **reason_for_failure);</pre>
781
 
<p>
782
 
Locks a <a
783
 
href="../libbrasero-media/BraseroDrive.html"
784
 
><span class="type">BraseroDrive</span></a>. Manual ejection shouldn't be possible any more.</p>
785
 
<p>
786
 
</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>
 
496
<p>
 
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">
789
500
<tbody>
790
501
<tr>
791
502
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
792
 
<td> a <a
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>
795
504
</td>
796
505
</tr>
797
506
<tr>
806
515
</tr>
807
516
<tr>
808
517
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
809
 
<td> <a
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>.
814
519
</td>
815
520
</tr>
816
521
</tbody>
817
522
</table></div>
818
523
</div>
819
524
<hr>
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>
827
 
<p>
828
 
Unlocks a <a
829
 
href="../libbrasero-media/BraseroDrive.html"
830
 
><span class="type">BraseroDrive</span></a>.</p>
831
 
<p>
832
 
</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>
 
528
<p>
 
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">
835
532
<tbody>
836
533
<tr>
837
534
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
838
 
<td> a <a
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>
841
536
</td>
842
537
</tr>
843
538
<tr>
844
539
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
845
 
<td> <a
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>.
850
541
</td>
851
542
</tr>
852
543
</tbody>
856
547
</div>
857
548
<div class="footer">
858
549
<hr>
859
 
          Generated by GTK-Doc V1.11</div>
 
550
          Generated by GTK-Doc V1.12</div>
860
551
</body>
861
552
</html>