41
41
<a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive">BraseroDrive</a>;
42
42
<span class="returnvalue">void</span> <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-reprobe" title="brasero_drive_reprobe ()">brasero_drive_reprobe</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
43
43
<a class="link" href="libbrasero-media-BraseroMedium.html#BraseroMedium" title="BraseroMedium"><span class="returnvalue">BraseroMedium</span></a> * <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-get-medium" title="brasero_drive_get_medium ()">brasero_drive_get_medium</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
44
<a href="http://library.gnome.org/devel/gio/unstable/GDrive.html"><span class="returnvalue">GDrive</span></a> * <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-get-gdrive" title="brasero_drive_get_gdrive ()">brasero_drive_get_gdrive</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
45
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-get-udi" title="brasero_drive_get_udi ()">brasero_drive_get_udi</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
46
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-is-fake" title="brasero_drive_is_fake ()">brasero_drive_is_fake</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
47
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-get-display-name" title="brasero_drive_get_display_name ()">brasero_drive_get_display_name</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
48
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-get-device" title="brasero_drive_get_device ()">brasero_drive_get_device</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
49
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-get-block-device" title="brasero_drive_get_block_device ()">brasero_drive_get_block_device</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
50
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-get-bus-target-lun-string" title="brasero_drive_get_bus_target_lun_string ()">brasero_drive_get_bus_target_lun_string</a>
44
<a href="/usr/share/gtk-doc/html/gio/GDrive.html"><span class="returnvalue">GDrive</span></a> * <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-get-gdrive" title="brasero_drive_get_gdrive ()">brasero_drive_get_gdrive</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
45
const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-get-udi" title="brasero_drive_get_udi ()">brasero_drive_get_udi</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
46
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-is-fake" title="brasero_drive_is_fake ()">brasero_drive_is_fake</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
47
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-get-display-name" title="brasero_drive_get_display_name ()">brasero_drive_get_display_name</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
48
const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-get-device" title="brasero_drive_get_device ()">brasero_drive_get_device</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
49
const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-get-block-device" title="brasero_drive_get_block_device ()">brasero_drive_get_block_device</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
50
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-get-bus-target-lun-string" title="brasero_drive_get_bus_target_lun_string ()">brasero_drive_get_bus_target_lun_string</a>
51
51
(<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
52
52
<a class="link" href="libbrasero-media-brasero-drive.html#BraseroDriveCaps" title="enum BraseroDriveCaps"><span class="returnvalue">BraseroDriveCaps</span></a> <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-get-caps" title="brasero_drive_get_caps ()">brasero_drive_get_caps</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
53
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-can-write" title="brasero_drive_can_write ()">brasero_drive_can_write</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
54
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-can-eject" title="brasero_drive_can_eject ()">brasero_drive_can_eject</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
55
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-eject" title="brasero_drive_eject ()">brasero_drive_eject</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>,
56
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> wait</code></em>,
57
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
53
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-can-write" title="brasero_drive_can_write ()">brasero_drive_can_write</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
54
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-can-eject" title="brasero_drive_can_eject ()">brasero_drive_can_eject</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
55
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-eject" title="brasero_drive_eject ()">brasero_drive_eject</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>,
56
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> wait</code></em>,
57
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
58
58
<span class="returnvalue">void</span> <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-cancel-current-operation" title="brasero_drive_cancel_current_operation ()">brasero_drive_cancel_current_operation</a>
59
59
(<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
60
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-is-door-open" title="brasero_drive_is_door_open ()">brasero_drive_is_door_open</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
61
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-can-use-exclusively" title="brasero_drive_can_use_exclusively ()">brasero_drive_can_use_exclusively</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
62
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-lock" title="brasero_drive_lock ()">brasero_drive_lock</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>,
63
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *reason</code></em>,
64
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **reason_for_failure</code></em>);
65
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-unlock" title="brasero_drive_unlock ()">brasero_drive_unlock</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
60
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-is-door-open" title="brasero_drive_is_door_open ()">brasero_drive_is_door_open</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
61
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-can-use-exclusively" title="brasero_drive_can_use_exclusively ()">brasero_drive_can_use_exclusively</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
62
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-lock" title="brasero_drive_lock ()">brasero_drive_lock</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>,
63
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *reason</code></em>,
64
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **reason_for_failure</code></em>);
65
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-unlock" title="brasero_drive_unlock ()">brasero_drive_unlock</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
68
68
<div class="refsect1" title="Description">
405
406
<div class="refsect2" title="brasero_drive_eject ()">
406
407
<a name="brasero-drive-eject"></a><h3>brasero_drive_eject ()</h3>
407
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> brasero_drive_eject (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>,
408
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> wait</code></em>,
409
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
408
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> brasero_drive_eject (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>,
409
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> wait</code></em>,
410
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
411
412
Open the drive tray or ejects the media if there is any inside.
509
510
<div class="refsect2" title="brasero_drive_lock ()">
510
511
<a name="brasero-drive-lock"></a><h3>brasero_drive_lock ()</h3>
511
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> brasero_drive_lock (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>,
512
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *reason</code></em>,
513
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **reason_for_failure</code></em>);</pre>
512
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> brasero_drive_lock (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>,
513
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *reason</code></em>,
514
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **reason_for_failure</code></em>);</pre>
515
516
Locks a <a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a>. Manual ejection shouldn't be possible any more.