~ubuntu-branches/ubuntu/trusty/glib2.0/trusty-proposed

« back to all changes in this revision

Viewing changes to docs/reference/gio/html/GDrive.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-03-09 11:28:22 UTC
  • mfrom: (3.4.8 experimental)
  • Revision ID: james.westby@ubuntu.com-20100309112822-j4n0v3xbtsup8s97
Tags: 2.23.5-1ubuntu1
* Resync on Debian
* debian/patches/01_gettext-desktopfiles.patch:
  - updated to use gettext for X-GNOME-Fullname too
* debian/patches/71_gio_launch_handler.patch:
  - new gio default launch handle feature required for wncksync
* debian/control.in, 
  debian/patches/80-gtester-subunit.patch:
  - gtester-report subunit support
* debian/libglib2.0-0.symbols:
  - updated the symbols list for the gio launcher handler
* debian/rules:
  - don't break build on test suite errors, debian recently activated this but
    the build breaks even when there is no error in the testsuite

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>GDrive</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
7
7
<link rel="home" href="index.html" title="GIO Reference Manual">
8
8
<link rel="up" href="volume_mon.html" title="Volumes and Drives">
9
9
<link rel="prev" href="GMount.html" title="GMount">
10
10
<link rel="next" href="gio-Unix-Mounts.html" title="Unix Mounts">
11
 
<meta name="generator" content="GTK-Doc V1.13 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
<link rel="part" href="pt01.html" title="Part I. GIO Overview">
14
14
<link rel="chapter" href="ch01.html" title="Introduction">
52
52
</tr>
53
53
<tr><td colspan="5" class="shortcuts">
54
54
<a href="#GDrive.synopsis" class="shortcut">Top</a>
55
 
                   | 
56
 
                  <a href="#GDrive.description" class="shortcut">Description</a>
57
 
                   | 
58
 
                  <a href="#GDrive.object-hierarchy" class="shortcut">Object Hierarchy</a>
59
 
                   | 
60
 
                  <a href="#GDrive.prerequisites" class="shortcut">Prerequisites</a>
61
 
                   | 
62
 
                  <a href="#GDrive.signals" class="shortcut">Signals</a>
 
55
                 | 
 
56
                <a href="#GDrive.description" class="shortcut">Description</a>
 
57
                 | 
 
58
                <a href="#GDrive.object-hierarchy" class="shortcut">Object Hierarchy</a>
 
59
                 | 
 
60
                <a href="#GDrive.prerequisites" class="shortcut">Prerequisites</a>
 
61
                 | 
 
62
                <a href="#GDrive.signals" class="shortcut">Signals</a>
63
63
</td></tr>
64
64
</table>
65
65
<div class="refentry" title="GDrive">
74
74
<div class="refsynopsisdiv" title="Synopsis">
75
75
<a name="GDrive.synopsis"></a><h2>Synopsis</h2>
76
76
<pre class="synopsis">
 
77
 
77
78
#include &lt;gio/gio.h&gt;
78
79
 
79
80
                    <a class="link" href="GDrive.html#GDrive-struct" title="GDrive">GDrive</a>;
80
81
                    <a class="link" href="GDrive.html#GDriveIface" title="GDriveIface">GDriveIface</a>;
81
82
enum                <a class="link" href="GDrive.html#GDriveStartFlags" title="enum GDriveStartFlags">GDriveStartFlags</a>;
82
83
enum                <a class="link" href="GDrive.html#GDriveStartStopType" title="enum GDriveStartStopType">GDriveStartStopType</a>;
83
 
<span class="returnvalue">char</span> *              <a class="link" href="GDrive.html#g-drive-get-name" title="g_drive_get_name ()">g_drive_get_name</a>                    (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive);
84
 
<a class="link" href="GIcon.html" title="GIcon"><span class="returnvalue">GIcon</span></a> *             <a class="link" href="GDrive.html#g-drive-get-icon" title="g_drive_get_icon ()">g_drive_get_icon</a>                    (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive);
85
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GDrive.html#g-drive-has-volumes" title="g_drive_has_volumes ()">g_drive_has_volumes</a>                 (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive);
86
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             <a class="link" href="GDrive.html#g-drive-get-volumes" title="g_drive_get_volumes ()">g_drive_get_volumes</a>                 (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive);
87
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GDrive.html#g-drive-can-eject" title="g_drive_can_eject ()">g_drive_can_eject</a>                   (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive);
88
 
<a class="link" href="GDrive.html#GDriveStartStopType" title="enum GDriveStartStopType"><span class="returnvalue">GDriveStartStopType</span></a>  <a class="link" href="GDrive.html#g-drive-get-start-stop-type" title="g_drive_get_start_stop_type ()">g_drive_get_start_stop_type</a>        (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive);
89
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GDrive.html#g-drive-can-start" title="g_drive_can_start ()">g_drive_can_start</a>                   (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive);
90
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GDrive.html#g-drive-can-start-degraded" title="g_drive_can_start_degraded ()">g_drive_can_start_degraded</a>          (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive);
91
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GDrive.html#g-drive-can-stop" title="g_drive_can_stop ()">g_drive_can_stop</a>                    (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive);
92
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GDrive.html#g-drive-can-poll-for-media" title="g_drive_can_poll_for_media ()">g_drive_can_poll_for_media</a>          (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive);
93
 
<span class="returnvalue">void</span>                <a class="link" href="GDrive.html#g-drive-poll-for-media" title="g_drive_poll_for_media ()">g_drive_poll_for_media</a>              (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive,
94
 
                                                         <a class="link" href="GCancellable.html" title="GCancellable"><span class="returnvalue">GCancellable</span></a> *cancellable,
95
 
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="returnvalue">GAsyncReadyCallback</span></a> callback,
96
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data);
97
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GDrive.html#g-drive-poll-for-media-finish" title="g_drive_poll_for_media_finish ()">g_drive_poll_for_media_finish</a>       (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive,
98
 
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="returnvalue">GAsyncResult</span></a> *result,
99
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> **error);
100
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GDrive.html#g-drive-has-media" title="g_drive_has_media ()">g_drive_has_media</a>                   (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive);
101
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GDrive.html#g-drive-is-media-check-automatic" title="g_drive_is_media_check_automatic ()">g_drive_is_media_check_automatic</a>    (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive);
102
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GDrive.html#g-drive-is-media-removable" title="g_drive_is_media_removable ()">g_drive_is_media_removable</a>          (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive);
103
 
<span class="returnvalue">void</span>                <a class="link" href="GDrive.html#g-drive-eject" title="g_drive_eject ()">g_drive_eject</a>                       (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive,
104
 
                                                         <a class="link" href="GMount.html#GMountUnmountFlags" title="enum GMountUnmountFlags"><span class="returnvalue">GMountUnmountFlags</span></a> flags,
105
 
                                                         <a class="link" href="GCancellable.html" title="GCancellable"><span class="returnvalue">GCancellable</span></a> *cancellable,
106
 
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="returnvalue">GAsyncReadyCallback</span></a> callback,
107
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data);
108
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GDrive.html#g-drive-eject-finish" title="g_drive_eject_finish ()">g_drive_eject_finish</a>                (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive,
109
 
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="returnvalue">GAsyncResult</span></a> *result,
110
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> **error);
111
 
<span class="returnvalue">void</span>                <a class="link" href="GDrive.html#g-drive-eject-with-operation" title="g_drive_eject_with_operation ()">g_drive_eject_with_operation</a>        (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive,
112
 
                                                         <a class="link" href="GMount.html#GMountUnmountFlags" title="enum GMountUnmountFlags"><span class="returnvalue">GMountUnmountFlags</span></a> flags,
113
 
                                                         <a class="link" href="GMountOperation.html" title="GMountOperation"><span class="returnvalue">GMountOperation</span></a> *mount_operation,
114
 
                                                         <a class="link" href="GCancellable.html" title="GCancellable"><span class="returnvalue">GCancellable</span></a> *cancellable,
115
 
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="returnvalue">GAsyncReadyCallback</span></a> callback,
116
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data);
117
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GDrive.html#g-drive-eject-with-operation-finish" title="g_drive_eject_with_operation_finish ()">g_drive_eject_with_operation_finish</a> (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive,
118
 
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="returnvalue">GAsyncResult</span></a> *result,
119
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> **error);
120
 
<span class="returnvalue">void</span>                <a class="link" href="GDrive.html#g-drive-start" title="g_drive_start ()">g_drive_start</a>                       (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive,
121
 
                                                         <a class="link" href="GDrive.html#GDriveStartFlags" title="enum GDriveStartFlags"><span class="returnvalue">GDriveStartFlags</span></a> flags,
122
 
                                                         <a class="link" href="GMountOperation.html" title="GMountOperation"><span class="returnvalue">GMountOperation</span></a> *mount_operation,
123
 
                                                         <a class="link" href="GCancellable.html" title="GCancellable"><span class="returnvalue">GCancellable</span></a> *cancellable,
124
 
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="returnvalue">GAsyncReadyCallback</span></a> callback,
125
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data);
126
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GDrive.html#g-drive-start-finish" title="g_drive_start_finish ()">g_drive_start_finish</a>                (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive,
127
 
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="returnvalue">GAsyncResult</span></a> *result,
128
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> **error);
129
 
<span class="returnvalue">void</span>                <a class="link" href="GDrive.html#g-drive-stop" title="g_drive_stop ()">g_drive_stop</a>                        (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive,
130
 
                                                         <a class="link" href="GMount.html#GMountUnmountFlags" title="enum GMountUnmountFlags"><span class="returnvalue">GMountUnmountFlags</span></a> flags,
131
 
                                                         <a class="link" href="GMountOperation.html" title="GMountOperation"><span class="returnvalue">GMountOperation</span></a> *mount_operation,
132
 
                                                         <a class="link" href="GCancellable.html" title="GCancellable"><span class="returnvalue">GCancellable</span></a> *cancellable,
133
 
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="returnvalue">GAsyncReadyCallback</span></a> callback,
134
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data);
135
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GDrive.html#g-drive-stop-finish" title="g_drive_stop_finish ()">g_drive_stop_finish</a>                 (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive,
136
 
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="returnvalue">GAsyncResult</span></a> *result,
137
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> **error);
138
 
<span class="returnvalue">char</span> **             <a class="link" href="GDrive.html#g-drive-enumerate-identifiers" title="g_drive_enumerate_identifiers ()">g_drive_enumerate_identifiers</a>       (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive);
139
 
<span class="returnvalue">char</span> *              <a class="link" href="GDrive.html#g-drive-get-identifier" title="g_drive_get_identifier ()">g_drive_get_identifier</a>              (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive,
140
 
                                                         const <span class="returnvalue">char</span> *kind);
 
84
char *              <a class="link" href="GDrive.html#g-drive-get-name" title="g_drive_get_name ()">g_drive_get_name</a>                    (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);
 
85
<a class="link" href="GIcon.html" title="GIcon">GIcon</a> *             <a class="link" href="GDrive.html#g-drive-get-icon" title="g_drive_get_icon ()">g_drive_get_icon</a>                    (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);
 
86
<a
 
87
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
88
>gboolean</a>            <a class="link" href="GDrive.html#g-drive-has-volumes" title="g_drive_has_volumes ()">g_drive_has_volumes</a>                 (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);
 
89
<a
 
90
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
 
91
>GList</a> *             <a class="link" href="GDrive.html#g-drive-get-volumes" title="g_drive_get_volumes ()">g_drive_get_volumes</a>                 (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);
 
92
<a
 
93
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
94
>gboolean</a>            <a class="link" href="GDrive.html#g-drive-can-eject" title="g_drive_can_eject ()">g_drive_can_eject</a>                   (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);
 
95
<a class="link" href="GDrive.html#GDriveStartStopType" title="enum GDriveStartStopType">GDriveStartStopType</a>  <a class="link" href="GDrive.html#g-drive-get-start-stop-type" title="g_drive_get_start_stop_type ()">g_drive_get_start_stop_type</a>        (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);
 
96
<a
 
97
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
98
>gboolean</a>            <a class="link" href="GDrive.html#g-drive-can-start" title="g_drive_can_start ()">g_drive_can_start</a>                   (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);
 
99
<a
 
100
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
101
>gboolean</a>            <a class="link" href="GDrive.html#g-drive-can-start-degraded" title="g_drive_can_start_degraded ()">g_drive_can_start_degraded</a>          (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);
 
102
<a
 
103
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
104
>gboolean</a>            <a class="link" href="GDrive.html#g-drive-can-stop" title="g_drive_can_stop ()">g_drive_can_stop</a>                    (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);
 
105
<a
 
106
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
107
>gboolean</a>            <a class="link" href="GDrive.html#g-drive-can-poll-for-media" title="g_drive_can_poll_for_media ()">g_drive_can_poll_for_media</a>          (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);
 
108
void                <a class="link" href="GDrive.html#g-drive-poll-for-media" title="g_drive_poll_for_media ()">g_drive_poll_for_media</a>              (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive,
 
109
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
 
110
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()">GAsyncReadyCallback</a> callback,
 
111
                                                         <a
 
112
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
 
113
>gpointer</a> user_data);
 
114
<a
 
115
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
116
>gboolean</a>            <a class="link" href="GDrive.html#g-drive-poll-for-media-finish" title="g_drive_poll_for_media_finish ()">g_drive_poll_for_media_finish</a>       (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive,
 
117
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *result,
 
118
                                                         <a
 
119
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
 
120
>GError</a> **error);
 
121
<a
 
122
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
123
>gboolean</a>            <a class="link" href="GDrive.html#g-drive-has-media" title="g_drive_has_media ()">g_drive_has_media</a>                   (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);
 
124
<a
 
125
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
126
>gboolean</a>            <a class="link" href="GDrive.html#g-drive-is-media-check-automatic" title="g_drive_is_media_check_automatic ()">g_drive_is_media_check_automatic</a>    (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);
 
127
<a
 
128
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
129
>gboolean</a>            <a class="link" href="GDrive.html#g-drive-is-media-removable" title="g_drive_is_media_removable ()">g_drive_is_media_removable</a>          (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);
 
130
void                <a class="link" href="GDrive.html#g-drive-eject" title="g_drive_eject ()">g_drive_eject</a>                       (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive,
 
131
                                                         <a class="link" href="GMount.html#GMountUnmountFlags" title="enum GMountUnmountFlags">GMountUnmountFlags</a> flags,
 
132
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
 
133
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()">GAsyncReadyCallback</a> callback,
 
134
                                                         <a
 
135
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
 
136
>gpointer</a> user_data);
 
137
<a
 
138
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
139
>gboolean</a>            <a class="link" href="GDrive.html#g-drive-eject-finish" title="g_drive_eject_finish ()">g_drive_eject_finish</a>                (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive,
 
140
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *result,
 
141
                                                         <a
 
142
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
 
143
>GError</a> **error);
 
144
void                <a class="link" href="GDrive.html#g-drive-eject-with-operation" title="g_drive_eject_with_operation ()">g_drive_eject_with_operation</a>        (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive,
 
145
                                                         <a class="link" href="GMount.html#GMountUnmountFlags" title="enum GMountUnmountFlags">GMountUnmountFlags</a> flags,
 
146
                                                         <a class="link" href="GMountOperation.html" title="GMountOperation">GMountOperation</a> *mount_operation,
 
147
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
 
148
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()">GAsyncReadyCallback</a> callback,
 
149
                                                         <a
 
150
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
 
151
>gpointer</a> user_data);
 
152
<a
 
153
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
154
>gboolean</a>            <a class="link" href="GDrive.html#g-drive-eject-with-operation-finish" title="g_drive_eject_with_operation_finish ()">g_drive_eject_with_operation_finish</a> (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive,
 
155
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *result,
 
156
                                                         <a
 
157
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
 
158
>GError</a> **error);
 
159
void                <a class="link" href="GDrive.html#g-drive-start" title="g_drive_start ()">g_drive_start</a>                       (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive,
 
160
                                                         <a class="link" href="GDrive.html#GDriveStartFlags" title="enum GDriveStartFlags">GDriveStartFlags</a> flags,
 
161
                                                         <a class="link" href="GMountOperation.html" title="GMountOperation">GMountOperation</a> *mount_operation,
 
162
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
 
163
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()">GAsyncReadyCallback</a> callback,
 
164
                                                         <a
 
165
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
 
166
>gpointer</a> user_data);
 
167
<a
 
168
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
169
>gboolean</a>            <a class="link" href="GDrive.html#g-drive-start-finish" title="g_drive_start_finish ()">g_drive_start_finish</a>                (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive,
 
170
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *result,
 
171
                                                         <a
 
172
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
 
173
>GError</a> **error);
 
174
void                <a class="link" href="GDrive.html#g-drive-stop" title="g_drive_stop ()">g_drive_stop</a>                        (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive,
 
175
                                                         <a class="link" href="GMount.html#GMountUnmountFlags" title="enum GMountUnmountFlags">GMountUnmountFlags</a> flags,
 
176
                                                         <a class="link" href="GMountOperation.html" title="GMountOperation">GMountOperation</a> *mount_operation,
 
177
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
 
178
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()">GAsyncReadyCallback</a> callback,
 
179
                                                         <a
 
180
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
 
181
>gpointer</a> user_data);
 
182
<a
 
183
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
184
>gboolean</a>            <a class="link" href="GDrive.html#g-drive-stop-finish" title="g_drive_stop_finish ()">g_drive_stop_finish</a>                 (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive,
 
185
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *result,
 
186
                                                         <a
 
187
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
 
188
>GError</a> **error);
 
189
char **             <a class="link" href="GDrive.html#g-drive-enumerate-identifiers" title="g_drive_enumerate_identifiers ()">g_drive_enumerate_identifiers</a>       (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);
 
190
char *              <a class="link" href="GDrive.html#g-drive-get-identifier" title="g_drive_get_identifier ()">g_drive_get_identifier</a>              (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive,
 
191
                                                         const char *kind);
141
192
</pre>
142
193
</div>
143
194
<div class="refsect1" title="Object Hierarchy">
151
202
<a name="GDrive.prerequisites"></a><h2>Prerequisites</h2>
152
203
<p>
153
204
GDrive requires
154
 
 <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>.</p>
 
205
 GObject.</p>
155
206
</div>
156
207
<div class="refsect1" title="Signals">
157
208
<a name="GDrive.signals"></a><h2>Signals</h2>
195
246
<p>
196
247
For porting from GnomeVFS note that there is no equivalent of
197
248
<a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> in that API.</p>
 
249
<p>
 
250
</p>
198
251
</div>
199
252
<div class="refsect1" title="Details">
200
253
<a name="GDrive.details"></a><h2>Details</h2>
203
256
<pre class="programlisting">typedef struct _GDrive GDrive;</pre>
204
257
<p>
205
258
Opaque drive object.</p>
 
259
<p>
 
260
</p>
206
261
</div>
207
262
<hr>
208
263
<div class="refsect2" title="GDriveIface">
285
340
</pre>
286
341
<p>
287
342
Interface for creating <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> implementations.</p>
 
343
<p>
 
344
</p>
288
345
<div class="variablelist"><table border="0">
289
346
<col align="left" valign="top">
290
347
<tbody>
291
348
<tr>
292
 
<td><p><span class="term"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GTypeInterface"><span class="type">GTypeInterface</span></a> <em class="structfield"><code><a name="GDriveIface.g-iface"></a>g_iface</code></em>;</span></p></td>
 
349
<td><p><span class="term">GTypeInterface <em class="structfield"><code>g_iface</code></em>;</span></p></td>
293
350
<td> The parent interface.
294
351
</td>
295
352
</tr>
296
353
<tr>
297
 
<td><p><span class="term"><em class="structfield"><code><a name="GDriveIface.changed"></a>changed</code></em> ()</span></p></td>
 
354
<td><p><span class="term"><em class="structfield"><code>changed</code></em> ()</span></p></td>
298
355
<td> Signal emitted when the drive is changed.
299
356
</td>
300
357
</tr>
301
358
<tr>
302
 
<td><p><span class="term"><em class="structfield"><code><a name="GDriveIface.disconnected"></a>disconnected</code></em> ()</span></p></td>
 
359
<td><p><span class="term"><em class="structfield"><code>disconnected</code></em> ()</span></p></td>
303
360
<td> The removed signal that is emitted when the <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> have been disconnected. If the recipient is holding references to the object they should release them so the object can be finalized.
304
361
</td>
305
362
</tr>
306
363
<tr>
307
 
<td><p><span class="term"><em class="structfield"><code><a name="GDriveIface.eject-button"></a>eject_button</code></em> ()</span></p></td>
 
364
<td><p><span class="term"><em class="structfield"><code>eject_button</code></em> ()</span></p></td>
308
365
<td> Signal emitted when the physical eject button (if any) of a drive have been pressed.
309
366
</td>
310
367
</tr>
311
368
<tr>
312
 
<td><p><span class="term"><em class="structfield"><code><a name="GDriveIface.get-name"></a>get_name</code></em> ()</span></p></td>
 
369
<td><p><span class="term"><em class="structfield"><code>get_name</code></em> ()</span></p></td>
313
370
<td> Returns the name for the given <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a>.
314
371
</td>
315
372
</tr>
316
373
<tr>
317
 
<td><p><span class="term"><em class="structfield"><code><a name="GDriveIface.get-icon"></a>get_icon</code></em> ()</span></p></td>
 
374
<td><p><span class="term"><em class="structfield"><code>get_icon</code></em> ()</span></p></td>
318
375
<td> Returns a <a class="link" href="GIcon.html" title="GIcon"><span class="type">GIcon</span></a> for the given <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a>.
319
376
</td>
320
377
</tr>
321
378
<tr>
322
 
<td><p><span class="term"><em class="structfield"><code><a name="GDriveIface.has-volumes"></a>has_volumes</code></em> ()</span></p></td>
323
 
<td> Returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> has mountable volumes.
324
 
</td>
325
 
</tr>
326
 
<tr>
327
 
<td><p><span class="term"><em class="structfield"><code><a name="GDriveIface.get-volumes"></a>get_volumes</code></em> ()</span></p></td>
328
 
<td> Returns a list <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of <a class="link" href="GVolume.html" title="GVolume"><span class="type">GVolume</span></a> for the <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a>.
329
 
</td>
330
 
</tr>
331
 
<tr>
332
 
<td><p><span class="term"><em class="structfield"><code><a name="GDriveIface.is-media-removable"></a>is_media_removable</code></em> ()</span></p></td>
333
 
<td> Returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> supports removal and insertion of media.
334
 
</td>
335
 
</tr>
336
 
<tr>
337
 
<td><p><span class="term"><em class="structfield"><code><a name="GDriveIface.has-media"></a>has_media</code></em> ()</span></p></td>
338
 
<td> Returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> has media inserted.
339
 
</td>
340
 
</tr>
341
 
<tr>
342
 
<td><p><span class="term"><em class="structfield"><code><a name="GDriveIface.is-media-check-automatic"></a>is_media_check_automatic</code></em> ()</span></p></td>
343
 
<td> Returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> is capabable of automatically detecting media changes.
344
 
</td>
345
 
</tr>
346
 
<tr>
347
 
<td><p><span class="term"><em class="structfield"><code><a name="GDriveIface.can-eject"></a>can_eject</code></em> ()</span></p></td>
348
 
<td> Returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> can eject media.
349
 
</td>
350
 
</tr>
351
 
<tr>
352
 
<td><p><span class="term"><em class="structfield"><code><a name="GDriveIface.can-poll-for-media"></a>can_poll_for_media</code></em> ()</span></p></td>
353
 
<td> Returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> is capable of manually polling for media change.
354
 
</td>
355
 
</tr>
356
 
<tr>
357
 
<td><p><span class="term"><em class="structfield"><code><a name="GDriveIface.eject"></a>eject</code></em> ()</span></p></td>
 
379
<td><p><span class="term"><em class="structfield"><code>has_volumes</code></em> ()</span></p></td>
 
380
<td> Returns <a
 
381
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
 
382
><code class="literal">TRUE</code></a> if the <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> has mountable volumes.
 
383
</td>
 
384
</tr>
 
385
<tr>
 
386
<td><p><span class="term"><em class="structfield"><code>get_volumes</code></em> ()</span></p></td>
 
387
<td> Returns a list <a
 
388
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
 
389
><span class="type">GList</span></a> of <a class="link" href="GVolume.html" title="GVolume"><span class="type">GVolume</span></a> for the <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a>.
 
390
</td>
 
391
</tr>
 
392
<tr>
 
393
<td><p><span class="term"><em class="structfield"><code>is_media_removable</code></em> ()</span></p></td>
 
394
<td> Returns <a
 
395
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
 
396
><code class="literal">TRUE</code></a> if the <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> supports removal and insertion of media.
 
397
</td>
 
398
</tr>
 
399
<tr>
 
400
<td><p><span class="term"><em class="structfield"><code>has_media</code></em> ()</span></p></td>
 
401
<td> Returns <a
 
402
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
 
403
><code class="literal">TRUE</code></a> if the <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> has media inserted.
 
404
</td>
 
405
</tr>
 
406
<tr>
 
407
<td><p><span class="term"><em class="structfield"><code>is_media_check_automatic</code></em> ()</span></p></td>
 
408
<td> Returns <a
 
409
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
 
410
><code class="literal">TRUE</code></a> if the <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> is capabable of automatically detecting media changes.
 
411
</td>
 
412
</tr>
 
413
<tr>
 
414
<td><p><span class="term"><em class="structfield"><code>can_eject</code></em> ()</span></p></td>
 
415
<td> Returns <a
 
416
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
 
417
><code class="literal">TRUE</code></a> if the <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> can eject media.
 
418
</td>
 
419
</tr>
 
420
<tr>
 
421
<td><p><span class="term"><em class="structfield"><code>can_poll_for_media</code></em> ()</span></p></td>
 
422
<td> Returns <a
 
423
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
 
424
><code class="literal">TRUE</code></a> if the <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> is capable of manually polling for media change.
 
425
</td>
 
426
</tr>
 
427
<tr>
 
428
<td><p><span class="term"><em class="structfield"><code>eject</code></em> ()</span></p></td>
358
429
<td> Ejects a <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a>.
359
430
</td>
360
431
</tr>
361
432
<tr>
362
 
<td><p><span class="term"><em class="structfield"><code><a name="GDriveIface.eject-finish"></a>eject_finish</code></em> ()</span></p></td>
 
433
<td><p><span class="term"><em class="structfield"><code>eject_finish</code></em> ()</span></p></td>
363
434
<td> Finishes an eject operation.
364
435
</td>
365
436
</tr>
366
437
<tr>
367
 
<td><p><span class="term"><em class="structfield"><code><a name="GDriveIface.poll-for-media"></a>poll_for_media</code></em> ()</span></p></td>
 
438
<td><p><span class="term"><em class="structfield"><code>poll_for_media</code></em> ()</span></p></td>
368
439
<td> Poll for media insertion/removal on a <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a>.
369
440
</td>
370
441
</tr>
371
442
<tr>
372
 
<td><p><span class="term"><em class="structfield"><code><a name="GDriveIface.poll-for-media-finish"></a>poll_for_media_finish</code></em> ()</span></p></td>
 
443
<td><p><span class="term"><em class="structfield"><code>poll_for_media_finish</code></em> ()</span></p></td>
373
444
<td> Finishes a media poll operation.
374
445
</td>
375
446
</tr>
376
447
<tr>
377
 
<td><p><span class="term"><em class="structfield"><code><a name="GDriveIface.get-identifier"></a>get_identifier</code></em> ()</span></p></td>
378
 
<td> Returns the identifier of the given kind, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
 
448
<td><p><span class="term"><em class="structfield"><code>get_identifier</code></em> ()</span></p></td>
 
449
<td> Returns the identifier of the given kind, or <a
 
450
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
 
451
><code class="literal">NULL</code></a> if
379
452
   the <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> doesn't have one.
380
453
</td>
381
454
</tr>
382
455
<tr>
383
 
<td><p><span class="term"><em class="structfield"><code><a name="GDriveIface.enumerate-identifiers"></a>enumerate_identifiers</code></em> ()</span></p></td>
 
456
<td><p><span class="term"><em class="structfield"><code>enumerate_identifiers</code></em> ()</span></p></td>
384
457
<td> Returns an array strings listing the kinds
385
458
   of identifiers which the <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> has.
386
459
</td>
387
460
</tr>
388
461
<tr>
389
 
<td><p><span class="term"><em class="structfield"><code><a name="GDriveIface.get-start-stop-type"></a>get_start_stop_type</code></em> ()</span></p></td>
 
462
<td><p><span class="term"><em class="structfield"><code>get_start_stop_type</code></em> ()</span></p></td>
390
463
<td> Gets a <a class="link" href="GDrive.html#GDriveStartStopType" title="enum GDriveStartStopType"><span class="type">GDriveStartStopType</span></a> with details about starting/stopping the drive. Since 2.22.
391
464
</td>
392
465
</tr>
393
466
<tr>
394
 
<td><p><span class="term"><em class="structfield"><code><a name="GDriveIface.can-start"></a>can_start</code></em> ()</span></p></td>
395
 
<td> Returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> can be started. Since 2.22.
396
 
</td>
397
 
</tr>
398
 
<tr>
399
 
<td><p><span class="term"><em class="structfield"><code><a name="GDriveIface.can-start-degraded"></a>can_start_degraded</code></em> ()</span></p></td>
400
 
<td> Returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> can be started degraded. Since 2.22.
401
 
</td>
402
 
</tr>
403
 
<tr>
404
 
<td><p><span class="term"><em class="structfield"><code><a name="GDriveIface.start"></a>start</code></em> ()</span></p></td>
 
467
<td><p><span class="term"><em class="structfield"><code>can_start</code></em> ()</span></p></td>
 
468
<td> Returns <a
 
469
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
 
470
><code class="literal">TRUE</code></a> if a <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> can be started. Since 2.22.
 
471
</td>
 
472
</tr>
 
473
<tr>
 
474
<td><p><span class="term"><em class="structfield"><code>can_start_degraded</code></em> ()</span></p></td>
 
475
<td> Returns <a
 
476
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
 
477
><code class="literal">TRUE</code></a> if a <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> can be started degraded. Since 2.22.
 
478
</td>
 
479
</tr>
 
480
<tr>
 
481
<td><p><span class="term"><em class="structfield"><code>start</code></em> ()</span></p></td>
405
482
<td> Starts a <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a>. Since 2.22.
406
483
</td>
407
484
</tr>
408
485
<tr>
409
 
<td><p><span class="term"><em class="structfield"><code><a name="GDriveIface.start-finish"></a>start_finish</code></em> ()</span></p></td>
 
486
<td><p><span class="term"><em class="structfield"><code>start_finish</code></em> ()</span></p></td>
410
487
<td> Finishes a start operation. Since 2.22.
411
488
</td>
412
489
</tr>
413
490
<tr>
414
 
<td><p><span class="term"><em class="structfield"><code><a name="GDriveIface.can-stop"></a>can_stop</code></em> ()</span></p></td>
415
 
<td> Returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> can be stopped. Since 2.22.
 
491
<td><p><span class="term"><em class="structfield"><code>can_stop</code></em> ()</span></p></td>
 
492
<td> Returns <a
 
493
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
 
494
><code class="literal">TRUE</code></a> if a <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> can be stopped. Since 2.22.
416
495
</td>
417
496
</tr>
418
497
<tr>
419
 
<td><p><span class="term"><em class="structfield"><code><a name="GDriveIface.stop"></a>stop</code></em> ()</span></p></td>
 
498
<td><p><span class="term"><em class="structfield"><code>stop</code></em> ()</span></p></td>
420
499
<td> Stops a <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a>. Since 2.22.
421
500
</td>
422
501
</tr>
423
502
<tr>
424
 
<td><p><span class="term"><em class="structfield"><code><a name="GDriveIface.stop-finish"></a>stop_finish</code></em> ()</span></p></td>
 
503
<td><p><span class="term"><em class="structfield"><code>stop_finish</code></em> ()</span></p></td>
425
504
<td> Finishes a stop operation. Since 2.22.
426
505
</td>
427
506
</tr>
428
507
<tr>
429
 
<td><p><span class="term"><em class="structfield"><code><a name="GDriveIface.stop-button"></a>stop_button</code></em> ()</span></p></td>
 
508
<td><p><span class="term"><em class="structfield"><code>stop_button</code></em> ()</span></p></td>
430
509
<td> Signal emitted when the physical stop button (if any) of a drive have been pressed. Since 2.22.
431
510
</td>
432
511
</tr>
433
512
<tr>
434
 
<td><p><span class="term"><em class="structfield"><code><a name="GDriveIface.eject-with-operation"></a>eject_with_operation</code></em> ()</span></p></td>
 
513
<td><p><span class="term"><em class="structfield"><code>eject_with_operation</code></em> ()</span></p></td>
435
514
<td> Starts ejecting a <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> using a <a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a>. Since 2.22.
436
515
</td>
437
516
</tr>
438
517
<tr>
439
 
<td><p><span class="term"><em class="structfield"><code><a name="GDriveIface.eject-with-operation-finish"></a>eject_with_operation_finish</code></em> ()</span></p></td>
 
518
<td><p><span class="term"><em class="structfield"><code>eject_with_operation_finish</code></em> ()</span></p></td>
440
519
<td> Finishes an eject operation using a <a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a>. Since 2.22.
441
520
</td>
442
521
</tr>
452
531
</pre>
453
532
<p>
454
533
Flags used when starting a drive.</p>
 
534
<p>
 
535
</p>
455
536
<div class="variablelist"><table border="0">
456
537
<col align="left" valign="top">
457
538
<tbody><tr>
458
 
<td><p><a name="G-DRIVE-START-NONE:CAPS"></a><span class="term"><code class="literal">G_DRIVE_START_NONE</code></span></p></td>
 
539
<td><p><a name="G-DRIVE-START-NONE--CAPS"></a><span class="term"><code class="literal">G_DRIVE_START_NONE</code></span></p></td>
459
540
<td> No flags set.
460
541
</td>
461
542
</tr></tbody>
475
556
</pre>
476
557
<p>
477
558
Enumeration describing how a drive can be started/stopped.</p>
 
559
<p>
 
560
</p>
478
561
<div class="variablelist"><table border="0">
479
562
<col align="left" valign="top">
480
563
<tbody>
481
564
<tr>
482
 
<td><p><a name="G-DRIVE-START-STOP-TYPE-UNKNOWN:CAPS"></a><span class="term"><code class="literal">G_DRIVE_START_STOP_TYPE_UNKNOWN</code></span></p></td>
 
565
<td><p><a name="G-DRIVE-START-STOP-TYPE-UNKNOWN--CAPS"></a><span class="term"><code class="literal">G_DRIVE_START_STOP_TYPE_UNKNOWN</code></span></p></td>
483
566
<td> Unknown or drive doesn't support
484
567
   start/stop.
485
568
</td>
486
569
</tr>
487
570
<tr>
488
 
<td><p><a name="G-DRIVE-START-STOP-TYPE-SHUTDOWN:CAPS"></a><span class="term"><code class="literal">G_DRIVE_START_STOP_TYPE_SHUTDOWN</code></span></p></td>
 
571
<td><p><a name="G-DRIVE-START-STOP-TYPE-SHUTDOWN--CAPS"></a><span class="term"><code class="literal">G_DRIVE_START_STOP_TYPE_SHUTDOWN</code></span></p></td>
489
572
<td> The stop method will physically
490
573
   shut down the drive and e.g. power down the port the drive is
491
574
   attached to.
492
575
</td>
493
576
</tr>
494
577
<tr>
495
 
<td><p><a name="G-DRIVE-START-STOP-TYPE-NETWORK:CAPS"></a><span class="term"><code class="literal">G_DRIVE_START_STOP_TYPE_NETWORK</code></span></p></td>
 
578
<td><p><a name="G-DRIVE-START-STOP-TYPE-NETWORK--CAPS"></a><span class="term"><code class="literal">G_DRIVE_START_STOP_TYPE_NETWORK</code></span></p></td>
496
579
<td> The start/stop methods are used
497
580
   for connecting/disconnect to the drive over the network.
498
581
</td>
499
582
</tr>
500
583
<tr>
501
 
<td><p><a name="G-DRIVE-START-STOP-TYPE-MULTIDISK:CAPS"></a><span class="term"><code class="literal">G_DRIVE_START_STOP_TYPE_MULTIDISK</code></span></p></td>
 
584
<td><p><a name="G-DRIVE-START-STOP-TYPE-MULTIDISK--CAPS"></a><span class="term"><code class="literal">G_DRIVE_START_STOP_TYPE_MULTIDISK</code></span></p></td>
502
585
<td> The start/stop methods will
503
586
   assemble/disassemble a virtual drive from several physical
504
587
   drives.
505
588
</td>
506
589
</tr>
507
590
<tr>
508
 
<td><p><a name="G-DRIVE-START-STOP-TYPE-PASSWORD:CAPS"></a><span class="term"><code class="literal">G_DRIVE_START_STOP_TYPE_PASSWORD</code></span></p></td>
 
591
<td><p><a name="G-DRIVE-START-STOP-TYPE-PASSWORD--CAPS"></a><span class="term"><code class="literal">G_DRIVE_START_STOP_TYPE_PASSWORD</code></span></p></td>
509
592
<td> The start/stop methods will
510
593
   unlock/lock the disk (for example using the ATA <span class="quote">“<span class="quote">SECURITY
511
594
   UNLOCK DEVICE</span>”</span> command)
518
601
<hr>
519
602
<div class="refsect2" title="g_drive_get_name ()">
520
603
<a name="g-drive-get-name"></a><h3>g_drive_get_name ()</h3>
521
 
<pre class="programlisting"><span class="returnvalue">char</span> *              g_drive_get_name                    (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive);</pre>
 
604
<pre class="programlisting">char *              g_drive_get_name                    (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);</pre>
522
605
<p>
523
606
Gets the name of <em class="parameter"><code>drive</code></em>.</p>
 
607
<p>
 
608
</p>
524
609
<div class="variablelist"><table border="0">
525
610
<col align="left" valign="top">
526
611
<tbody>
541
626
<hr>
542
627
<div class="refsect2" title="g_drive_get_icon ()">
543
628
<a name="g-drive-get-icon"></a><h3>g_drive_get_icon ()</h3>
544
 
<pre class="programlisting"><a class="link" href="GIcon.html" title="GIcon"><span class="returnvalue">GIcon</span></a> *             g_drive_get_icon                    (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive);</pre>
 
629
<pre class="programlisting"><a class="link" href="GIcon.html" title="GIcon">GIcon</a> *             g_drive_get_icon                    (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);</pre>
545
630
<p>
546
631
Gets the icon for <em class="parameter"><code>drive</code></em>.</p>
 
632
<p>
 
633
</p>
547
634
<div class="variablelist"><table border="0">
548
635
<col align="left" valign="top">
549
636
<tbody>
555
642
<tr>
556
643
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
557
644
<td> <a class="link" href="GIcon.html" title="GIcon"><span class="type">GIcon</span></a> for the <em class="parameter"><code>drive</code></em>.
558
 
   Free the returned object with <a href="/usr/share/gtk-doc/html/libmissioncontrol-server/libmissioncontrol-server-mcd-debug.html#g-object-unref"><code class="function">g_object_unref()</code></a>.
 
645
   Free the returned object with <code class="function">g_object_unref()</code>.
559
646
</td>
560
647
</tr>
561
648
</tbody>
564
651
<hr>
565
652
<div class="refsect2" title="g_drive_has_volumes ()">
566
653
<a name="g-drive-has-volumes"></a><h3>g_drive_has_volumes ()</h3>
567
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            g_drive_has_volumes                 (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive);</pre>
 
654
<pre class="programlisting"><a
 
655
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
656
>gboolean</a>            g_drive_has_volumes                 (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);</pre>
568
657
<p>
569
658
Check if <em class="parameter"><code>drive</code></em> has any mountable volumes.</p>
 
659
<p>
 
660
</p>
570
661
<div class="variablelist"><table border="0">
571
662
<col align="left" valign="top">
572
663
<tbody>
577
668
</tr>
578
669
<tr>
579
670
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
580
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <em class="parameter"><code>drive</code></em> contains volumes, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
 
671
<td> <a
 
672
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
 
673
><code class="literal">TRUE</code></a> if the <em class="parameter"><code>drive</code></em> contains volumes, <a
 
674
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
 
675
><code class="literal">FALSE</code></a> otherwise.
581
676
</td>
582
677
</tr>
583
678
</tbody>
586
681
<hr>
587
682
<div class="refsect2" title="g_drive_get_volumes ()">
588
683
<a name="g-drive-get-volumes"></a><h3>g_drive_get_volumes ()</h3>
589
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             g_drive_get_volumes                 (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive);</pre>
 
684
<pre class="programlisting"><a
 
685
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
 
686
>GList</a> *             g_drive_get_volumes                 (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);</pre>
590
687
<p>
591
688
Get a list of mountable volumes for <em class="parameter"><code>drive</code></em>.
592
689
</p>
593
690
<p>
594
 
The returned list should be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a>, after
595
 
its elements have been unreffed with <a href="/usr/share/gtk-doc/html/libmissioncontrol-server/libmissioncontrol-server-mcd-debug.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</p>
 
691
The returned list should be freed with <a
 
692
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-free"
 
693
><code class="function">g_list_free()</code></a>, after
 
694
its elements have been unreffed with <code class="function">g_object_unref()</code>.</p>
 
695
<p>
 
696
</p>
596
697
<div class="variablelist"><table border="0">
597
698
<col align="left" valign="top">
598
699
<tbody>
603
704
</tr>
604
705
<tr>
605
706
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
606
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> containing any <a class="link" href="GVolume.html" title="GVolume"><span class="type">GVolume</span></a> objects on the given <em class="parameter"><code>drive</code></em>.
 
707
<td> <a
 
708
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
 
709
><span class="type">GList</span></a> containing any <a class="link" href="GVolume.html" title="GVolume"><span class="type">GVolume</span></a> objects on the given <em class="parameter"><code>drive</code></em>.
607
710
</td>
608
711
</tr>
609
712
</tbody>
612
715
<hr>
613
716
<div class="refsect2" title="g_drive_can_eject ()">
614
717
<a name="g-drive-can-eject"></a><h3>g_drive_can_eject ()</h3>
615
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            g_drive_can_eject                   (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive);</pre>
 
718
<pre class="programlisting"><a
 
719
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
720
>gboolean</a>            g_drive_can_eject                   (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);</pre>
616
721
<p>
617
722
Checks if a drive can be ejected.</p>
 
723
<p>
 
724
</p>
618
725
<div class="variablelist"><table border="0">
619
726
<col align="left" valign="top">
620
727
<tbody>
625
732
</tr>
626
733
<tr>
627
734
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
628
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <em class="parameter"><code>drive</code></em> can be ejected, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
 
735
<td> <a
 
736
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
 
737
><code class="literal">TRUE</code></a> if the <em class="parameter"><code>drive</code></em> can be ejected, <a
 
738
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
 
739
><code class="literal">FALSE</code></a> otherwise.
629
740
</td>
630
741
</tr>
631
742
</tbody>
634
745
<hr>
635
746
<div class="refsect2" title="g_drive_get_start_stop_type ()">
636
747
<a name="g-drive-get-start-stop-type"></a><h3>g_drive_get_start_stop_type ()</h3>
637
 
<pre class="programlisting"><a class="link" href="GDrive.html#GDriveStartStopType" title="enum GDriveStartStopType"><span class="returnvalue">GDriveStartStopType</span></a>  g_drive_get_start_stop_type        (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive);</pre>
 
748
<pre class="programlisting"><a class="link" href="GDrive.html#GDriveStartStopType" title="enum GDriveStartStopType">GDriveStartStopType</a>  g_drive_get_start_stop_type        (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);</pre>
638
749
<p>
639
750
Gets a hint about how a drive can be started/stopped.</p>
 
751
<p>
 
752
</p>
640
753
<div class="variablelist"><table border="0">
641
754
<col align="left" valign="top">
642
755
<tbody>
658
771
<hr>
659
772
<div class="refsect2" title="g_drive_can_start ()">
660
773
<a name="g-drive-can-start"></a><h3>g_drive_can_start ()</h3>
661
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            g_drive_can_start                   (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive);</pre>
 
774
<pre class="programlisting"><a
 
775
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
776
>gboolean</a>            g_drive_can_start                   (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);</pre>
662
777
<p>
663
778
Checks if a drive can be started.</p>
 
779
<p>
 
780
</p>
664
781
<div class="variablelist"><table border="0">
665
782
<col align="left" valign="top">
666
783
<tbody>
671
788
</tr>
672
789
<tr>
673
790
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
674
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <em class="parameter"><code>drive</code></em> can be started, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
 
791
<td> <a
 
792
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
 
793
><code class="literal">TRUE</code></a> if the <em class="parameter"><code>drive</code></em> can be started, <a
 
794
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
 
795
><code class="literal">FALSE</code></a> otherwise.
675
796
 
676
797
</td>
677
798
</tr>
682
803
<hr>
683
804
<div class="refsect2" title="g_drive_can_start_degraded ()">
684
805
<a name="g-drive-can-start-degraded"></a><h3>g_drive_can_start_degraded ()</h3>
685
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            g_drive_can_start_degraded          (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive);</pre>
 
806
<pre class="programlisting"><a
 
807
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
808
>gboolean</a>            g_drive_can_start_degraded          (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);</pre>
686
809
<p>
687
810
Checks if a drive can be started degraded.</p>
 
811
<p>
 
812
</p>
688
813
<div class="variablelist"><table border="0">
689
814
<col align="left" valign="top">
690
815
<tbody>
695
820
</tr>
696
821
<tr>
697
822
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
698
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <em class="parameter"><code>drive</code></em> can be started degraded, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
 
823
<td> <a
 
824
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
 
825
><code class="literal">TRUE</code></a> if the <em class="parameter"><code>drive</code></em> can be started degraded, <a
 
826
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
 
827
><code class="literal">FALSE</code></a> otherwise.
699
828
 
700
829
</td>
701
830
</tr>
706
835
<hr>
707
836
<div class="refsect2" title="g_drive_can_stop ()">
708
837
<a name="g-drive-can-stop"></a><h3>g_drive_can_stop ()</h3>
709
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            g_drive_can_stop                    (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive);</pre>
 
838
<pre class="programlisting"><a
 
839
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
840
>gboolean</a>            g_drive_can_stop                    (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);</pre>
710
841
<p>
711
842
Checks if a drive can be stopped.</p>
 
843
<p>
 
844
</p>
712
845
<div class="variablelist"><table border="0">
713
846
<col align="left" valign="top">
714
847
<tbody>
719
852
</tr>
720
853
<tr>
721
854
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
722
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <em class="parameter"><code>drive</code></em> can be stopped, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
 
855
<td> <a
 
856
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
 
857
><code class="literal">TRUE</code></a> if the <em class="parameter"><code>drive</code></em> can be stopped, <a
 
858
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
 
859
><code class="literal">FALSE</code></a> otherwise.
723
860
 
724
861
</td>
725
862
</tr>
730
867
<hr>
731
868
<div class="refsect2" title="g_drive_can_poll_for_media ()">
732
869
<a name="g-drive-can-poll-for-media"></a><h3>g_drive_can_poll_for_media ()</h3>
733
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            g_drive_can_poll_for_media          (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive);</pre>
 
870
<pre class="programlisting"><a
 
871
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
872
>gboolean</a>            g_drive_can_poll_for_media          (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);</pre>
734
873
<p>
735
874
Checks if a drive can be polled for media changes.</p>
 
875
<p>
 
876
</p>
736
877
<div class="variablelist"><table border="0">
737
878
<col align="left" valign="top">
738
879
<tbody>
743
884
</tr>
744
885
<tr>
745
886
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
746
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <em class="parameter"><code>drive</code></em> can be polled for media changes,
747
 
    <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
 
887
<td> <a
 
888
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
 
889
><code class="literal">TRUE</code></a> if the <em class="parameter"><code>drive</code></em> can be polled for media changes,
 
890
    <a
 
891
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
 
892
><code class="literal">FALSE</code></a> otherwise.
748
893
</td>
749
894
</tr>
750
895
</tbody>
753
898
<hr>
754
899
<div class="refsect2" title="g_drive_poll_for_media ()">
755
900
<a name="g-drive-poll-for-media"></a><h3>g_drive_poll_for_media ()</h3>
756
 
<pre class="programlisting"><span class="returnvalue">void</span>                g_drive_poll_for_media              (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive,
757
 
                                                         <a class="link" href="GCancellable.html" title="GCancellable"><span class="returnvalue">GCancellable</span></a> *cancellable,
758
 
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="returnvalue">GAsyncReadyCallback</span></a> callback,
759
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data);</pre>
 
901
<pre class="programlisting">void                g_drive_poll_for_media              (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive,
 
902
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
 
903
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()">GAsyncReadyCallback</a> callback,
 
904
                                                         <a
 
905
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
 
906
>gpointer</a> user_data);</pre>
760
907
<p>
761
908
Asynchronously polls <em class="parameter"><code>drive</code></em> to see if media has been inserted or removed.
762
909
</p>
764
911
When the operation is finished, <em class="parameter"><code>callback</code></em> will be called.
765
912
You can then call <a class="link" href="GDrive.html#g-drive-poll-for-media-finish" title="g_drive_poll_for_media_finish ()"><code class="function">g_drive_poll_for_media_finish()</code></a> to obtain the
766
913
result of the operation.</p>
 
914
<p>
 
915
</p>
767
916
<div class="variablelist"><table border="0">
768
917
<col align="left" valign="top">
769
918
<tbody>
774
923
</tr>
775
924
<tr>
776
925
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
777
 
<td> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.
 
926
<td> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a
 
927
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
 
928
><code class="literal">NULL</code></a> to ignore.
778
929
</td>
779
930
</tr>
780
931
<tr>
781
932
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
782
 
<td> a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
 
933
<td> a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>, or <a
 
934
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
 
935
><code class="literal">NULL</code></a>.
783
936
</td>
784
937
</tr>
785
938
<tr>
793
946
<hr>
794
947
<div class="refsect2" title="g_drive_poll_for_media_finish ()">
795
948
<a name="g-drive-poll-for-media-finish"></a><h3>g_drive_poll_for_media_finish ()</h3>
796
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            g_drive_poll_for_media_finish       (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive,
797
 
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="returnvalue">GAsyncResult</span></a> *result,
798
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> **error);</pre>
 
949
<pre class="programlisting"><a
 
950
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
951
>gboolean</a>            g_drive_poll_for_media_finish       (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive,
 
952
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *result,
 
953
                                                         <a
 
954
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
 
955
>GError</a> **error);</pre>
799
956
<p>
800
957
Finishes an operation started with <a class="link" href="GDrive.html#g-drive-poll-for-media" title="g_drive_poll_for_media ()"><code class="function">g_drive_poll_for_media()</code></a> on a drive.</p>
 
958
<p>
 
959
</p>
801
960
<div class="variablelist"><table border="0">
802
961
<col align="left" valign="top">
803
962
<tbody>
813
972
</tr>
814
973
<tr>
815
974
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
816
 
<td> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
975
<td> a <a
 
976
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
 
977
><span class="type">GError</span></a>, or <a
 
978
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
 
979
><code class="literal">NULL</code></a>
817
980
</td>
818
981
</tr>
819
982
<tr>
820
983
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
821
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the drive has been poll_for_mediaed successfully,
822
 
    <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
 
984
<td> <a
 
985
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
 
986
><code class="literal">TRUE</code></a> if the drive has been poll_for_mediaed successfully,
 
987
    <a
 
988
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
 
989
><code class="literal">FALSE</code></a> otherwise.
823
990
</td>
824
991
</tr>
825
992
</tbody>
828
995
<hr>
829
996
<div class="refsect2" title="g_drive_has_media ()">
830
997
<a name="g-drive-has-media"></a><h3>g_drive_has_media ()</h3>
831
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            g_drive_has_media                   (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive);</pre>
 
998
<pre class="programlisting"><a
 
999
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
1000
>gboolean</a>            g_drive_has_media                   (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);</pre>
832
1001
<p>
833
1002
Checks if the <em class="parameter"><code>drive</code></em> has media. Note that the OS may not be polling
834
1003
the drive for media changes; see <a class="link" href="GDrive.html#g-drive-is-media-check-automatic" title="g_drive_is_media_check_automatic ()"><code class="function">g_drive_is_media_check_automatic()</code></a>
835
1004
for more details.</p>
 
1005
<p>
 
1006
</p>
836
1007
<div class="variablelist"><table border="0">
837
1008
<col align="left" valign="top">
838
1009
<tbody>
843
1014
</tr>
844
1015
<tr>
845
1016
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
846
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>drive</code></em> has media, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
 
1017
<td> <a
 
1018
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
 
1019
><code class="literal">TRUE</code></a> if <em class="parameter"><code>drive</code></em> has media, <a
 
1020
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
 
1021
><code class="literal">FALSE</code></a> otherwise.
847
1022
</td>
848
1023
</tr>
849
1024
</tbody>
852
1027
<hr>
853
1028
<div class="refsect2" title="g_drive_is_media_check_automatic ()">
854
1029
<a name="g-drive-is-media-check-automatic"></a><h3>g_drive_is_media_check_automatic ()</h3>
855
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            g_drive_is_media_check_automatic    (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive);</pre>
 
1030
<pre class="programlisting"><a
 
1031
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
1032
>gboolean</a>            g_drive_is_media_check_automatic    (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);</pre>
856
1033
<p>
857
1034
Checks if <em class="parameter"><code>drive</code></em> is capabable of automatically detecting media changes.</p>
 
1035
<p>
 
1036
</p>
858
1037
<div class="variablelist"><table border="0">
859
1038
<col align="left" valign="top">
860
1039
<tbody>
865
1044
</tr>
866
1045
<tr>
867
1046
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
868
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <em class="parameter"><code>drive</code></em> is capabable of automatically detecting 
869
 
    media changes, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
 
1047
<td> <a
 
1048
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
 
1049
><code class="literal">TRUE</code></a> if the <em class="parameter"><code>drive</code></em> is capabable of automatically detecting 
 
1050
    media changes, <a
 
1051
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
 
1052
><code class="literal">FALSE</code></a> otherwise.
870
1053
</td>
871
1054
</tr>
872
1055
</tbody>
875
1058
<hr>
876
1059
<div class="refsect2" title="g_drive_is_media_removable ()">
877
1060
<a name="g-drive-is-media-removable"></a><h3>g_drive_is_media_removable ()</h3>
878
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            g_drive_is_media_removable          (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive);</pre>
 
1061
<pre class="programlisting"><a
 
1062
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
1063
>gboolean</a>            g_drive_is_media_removable          (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);</pre>
879
1064
<p>
880
1065
Checks if the <em class="parameter"><code>drive</code></em> supports removable media.</p>
 
1066
<p>
 
1067
</p>
881
1068
<div class="variablelist"><table border="0">
882
1069
<col align="left" valign="top">
883
1070
<tbody>
888
1075
</tr>
889
1076
<tr>
890
1077
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
891
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>drive</code></em> supports removable media, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
 
1078
<td> <a
 
1079
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
 
1080
><code class="literal">TRUE</code></a> if <em class="parameter"><code>drive</code></em> supports removable media, <a
 
1081
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
 
1082
><code class="literal">FALSE</code></a> otherwise.
892
1083
</td>
893
1084
</tr>
894
1085
</tbody>
897
1088
<hr>
898
1089
<div class="refsect2" title="g_drive_eject ()">
899
1090
<a name="g-drive-eject"></a><h3>g_drive_eject ()</h3>
900
 
<pre class="programlisting"><span class="returnvalue">void</span>                g_drive_eject                       (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive,
901
 
                                                         <a class="link" href="GMount.html#GMountUnmountFlags" title="enum GMountUnmountFlags"><span class="returnvalue">GMountUnmountFlags</span></a> flags,
902
 
                                                         <a class="link" href="GCancellable.html" title="GCancellable"><span class="returnvalue">GCancellable</span></a> *cancellable,
903
 
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="returnvalue">GAsyncReadyCallback</span></a> callback,
904
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data);</pre>
 
1091
<pre class="programlisting">void                g_drive_eject                       (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive,
 
1092
                                                         <a class="link" href="GMount.html#GMountUnmountFlags" title="enum GMountUnmountFlags">GMountUnmountFlags</a> flags,
 
1093
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
 
1094
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()">GAsyncReadyCallback</a> callback,
 
1095
                                                         <a
 
1096
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
 
1097
>gpointer</a> user_data);</pre>
905
1098
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
906
1099
<h3 class="title">Warning</h3>
907
1100
<p><code class="literal">g_drive_eject</code> has been deprecated since version 2.22 and should not be used in newly-written code. Use <a class="link" href="GDrive.html#g-drive-eject-with-operation" title="g_drive_eject_with_operation ()"><code class="function">g_drive_eject_with_operation()</code></a> instead.</p>
913
1106
When the operation is finished, <em class="parameter"><code>callback</code></em> will be called.
914
1107
You can then call <a class="link" href="GDrive.html#g-drive-eject-finish" title="g_drive_eject_finish ()"><code class="function">g_drive_eject_finish()</code></a> to obtain the
915
1108
result of the operation.</p>
 
1109
<p>
 
1110
</p>
916
1111
<div class="variablelist"><table border="0">
917
1112
<col align="left" valign="top">
918
1113
<tbody>
928
1123
</tr>
929
1124
<tr>
930
1125
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
931
 
<td> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.
 
1126
<td> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a
 
1127
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
 
1128
><code class="literal">NULL</code></a> to ignore.
932
1129
</td>
933
1130
</tr>
934
1131
<tr>
935
1132
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
936
 
<td> a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
 
1133
<td> a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>, or <a
 
1134
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
 
1135
><code class="literal">NULL</code></a>.
937
1136
</td>
938
1137
</tr>
939
1138
<tr>
947
1146
<hr>
948
1147
<div class="refsect2" title="g_drive_eject_finish ()">
949
1148
<a name="g-drive-eject-finish"></a><h3>g_drive_eject_finish ()</h3>
950
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            g_drive_eject_finish                (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive,
951
 
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="returnvalue">GAsyncResult</span></a> *result,
952
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> **error);</pre>
 
1149
<pre class="programlisting"><a
 
1150
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
1151
>gboolean</a>            g_drive_eject_finish                (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive,
 
1152
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *result,
 
1153
                                                         <a
 
1154
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
 
1155
>GError</a> **error);</pre>
953
1156
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
954
1157
<h3 class="title">Warning</h3>
955
1158
<p><code class="literal">g_drive_eject_finish</code> has been deprecated since version 2.22 and should not be used in newly-written code. Use <a class="link" href="GDrive.html#g-drive-eject-with-operation-finish" title="g_drive_eject_with_operation_finish ()"><code class="function">g_drive_eject_with_operation_finish()</code></a> instead.</p>
956
1159
</div>
957
1160
<p>
958
1161
Finishes ejecting a drive.</p>
 
1162
<p>
 
1163
</p>
959
1164
<div class="variablelist"><table border="0">
960
1165
<col align="left" valign="top">
961
1166
<tbody>
971
1176
</tr>
972
1177
<tr>
973
1178
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
974
 
<td> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
1179
<td> a <a
 
1180
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
 
1181
><span class="type">GError</span></a>, or <a
 
1182
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
 
1183
><code class="literal">NULL</code></a>
975
1184
</td>
976
1185
</tr>
977
1186
<tr>
978
1187
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
979
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the drive has been ejected successfully,
980
 
    <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
 
1188
<td> <a
 
1189
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
 
1190
><code class="literal">TRUE</code></a> if the drive has been ejected successfully,
 
1191
    <a
 
1192
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
 
1193
><code class="literal">FALSE</code></a> otherwise.
981
1194
 
982
1195
</td>
983
1196
</tr>
987
1200
<hr>
988
1201
<div class="refsect2" title="g_drive_eject_with_operation ()">
989
1202
<a name="g-drive-eject-with-operation"></a><h3>g_drive_eject_with_operation ()</h3>
990
 
<pre class="programlisting"><span class="returnvalue">void</span>                g_drive_eject_with_operation        (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive,
991
 
                                                         <a class="link" href="GMount.html#GMountUnmountFlags" title="enum GMountUnmountFlags"><span class="returnvalue">GMountUnmountFlags</span></a> flags,
992
 
                                                         <a class="link" href="GMountOperation.html" title="GMountOperation"><span class="returnvalue">GMountOperation</span></a> *mount_operation,
993
 
                                                         <a class="link" href="GCancellable.html" title="GCancellable"><span class="returnvalue">GCancellable</span></a> *cancellable,
994
 
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="returnvalue">GAsyncReadyCallback</span></a> callback,
995
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data);</pre>
 
1203
<pre class="programlisting">void                g_drive_eject_with_operation        (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive,
 
1204
                                                         <a class="link" href="GMount.html#GMountUnmountFlags" title="enum GMountUnmountFlags">GMountUnmountFlags</a> flags,
 
1205
                                                         <a class="link" href="GMountOperation.html" title="GMountOperation">GMountOperation</a> *mount_operation,
 
1206
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
 
1207
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()">GAsyncReadyCallback</a> callback,
 
1208
                                                         <a
 
1209
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
 
1210
>gpointer</a> user_data);</pre>
996
1211
<p>
997
1212
Ejects a drive. This is an asynchronous operation, and is
998
1213
finished by calling <a class="link" href="GDrive.html#g-drive-eject-with-operation-finish" title="g_drive_eject_with_operation_finish ()"><code class="function">g_drive_eject_with_operation_finish()</code></a> with the <em class="parameter"><code>drive</code></em>
999
1214
and <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> data returned in the <em class="parameter"><code>callback</code></em>.</p>
 
1215
<p>
 
1216
</p>
1000
1217
<div class="variablelist"><table border="0">
1001
1218
<col align="left" valign="top">
1002
1219
<tbody>
1012
1229
</tr>
1013
1230
<tr>
1014
1231
<td><p><span class="term"><em class="parameter"><code>mount_operation</code></em> :</span></p></td>
1015
 
<td> a <a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to avoid user interaction.
 
1232
<td> a <a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a> or <a
 
1233
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
 
1234
><code class="literal">NULL</code></a> to avoid user interaction.
1016
1235
</td>
1017
1236
</tr>
1018
1237
<tr>
1019
1238
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
1020
 
<td> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.
 
1239
<td> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a
 
1240
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
 
1241
><code class="literal">NULL</code></a> to ignore.
1021
1242
</td>
1022
1243
</tr>
1023
1244
<tr>
1024
1245
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
1025
 
<td> a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
 
1246
<td> a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>, or <a
 
1247
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
 
1248
><code class="literal">NULL</code></a>.
1026
1249
</td>
1027
1250
</tr>
1028
1251
<tr>
1037
1260
<hr>
1038
1261
<div class="refsect2" title="g_drive_eject_with_operation_finish ()">
1039
1262
<a name="g-drive-eject-with-operation-finish"></a><h3>g_drive_eject_with_operation_finish ()</h3>
1040
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            g_drive_eject_with_operation_finish (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive,
1041
 
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="returnvalue">GAsyncResult</span></a> *result,
1042
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> **error);</pre>
 
1263
<pre class="programlisting"><a
 
1264
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
1265
>gboolean</a>            g_drive_eject_with_operation_finish (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive,
 
1266
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *result,
 
1267
                                                         <a
 
1268
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
 
1269
>GError</a> **error);</pre>
1043
1270
<p>
1044
1271
Finishes ejecting a drive. If any errors occurred during the operation,
1045
 
<em class="parameter"><code>error</code></em> will be set to contain the errors and <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> will be returned.</p>
 
1272
<em class="parameter"><code>error</code></em> will be set to contain the errors and <a
 
1273
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
 
1274
><code class="literal">FALSE</code></a> will be returned.</p>
 
1275
<p>
 
1276
</p>
1046
1277
<div class="variablelist"><table border="0">
1047
1278
<col align="left" valign="top">
1048
1279
<tbody>
1058
1289
</tr>
1059
1290
<tr>
1060
1291
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1061
 
<td> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> location to store the error occuring, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to
 
1292
<td> a <a
 
1293
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
 
1294
><span class="type">GError</span></a> location to store the error occuring, or <a
 
1295
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
 
1296
><code class="literal">NULL</code></a> to
1062
1297
    ignore.
1063
1298
</td>
1064
1299
</tr>
1065
1300
<tr>
1066
1301
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1067
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the drive was successfully ejected. <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
 
1302
<td> <a
 
1303
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
 
1304
><code class="literal">TRUE</code></a> if the drive was successfully ejected. <a
 
1305
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
 
1306
><code class="literal">FALSE</code></a> otherwise.
1068
1307
 
1069
1308
</td>
1070
1309
</tr>
1075
1314
<hr>
1076
1315
<div class="refsect2" title="g_drive_start ()">
1077
1316
<a name="g-drive-start"></a><h3>g_drive_start ()</h3>
1078
 
<pre class="programlisting"><span class="returnvalue">void</span>                g_drive_start                       (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive,
1079
 
                                                         <a class="link" href="GDrive.html#GDriveStartFlags" title="enum GDriveStartFlags"><span class="returnvalue">GDriveStartFlags</span></a> flags,
1080
 
                                                         <a class="link" href="GMountOperation.html" title="GMountOperation"><span class="returnvalue">GMountOperation</span></a> *mount_operation,
1081
 
                                                         <a class="link" href="GCancellable.html" title="GCancellable"><span class="returnvalue">GCancellable</span></a> *cancellable,
1082
 
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="returnvalue">GAsyncReadyCallback</span></a> callback,
1083
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data);</pre>
 
1317
<pre class="programlisting">void                g_drive_start                       (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive,
 
1318
                                                         <a class="link" href="GDrive.html#GDriveStartFlags" title="enum GDriveStartFlags">GDriveStartFlags</a> flags,
 
1319
                                                         <a class="link" href="GMountOperation.html" title="GMountOperation">GMountOperation</a> *mount_operation,
 
1320
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
 
1321
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()">GAsyncReadyCallback</a> callback,
 
1322
                                                         <a
 
1323
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
 
1324
>gpointer</a> user_data);</pre>
1084
1325
<p>
1085
1326
Asynchronously starts a drive.
1086
1327
</p>
1088
1329
When the operation is finished, <em class="parameter"><code>callback</code></em> will be called.
1089
1330
You can then call <a class="link" href="GDrive.html#g-drive-start-finish" title="g_drive_start_finish ()"><code class="function">g_drive_start_finish()</code></a> to obtain the
1090
1331
result of the operation.</p>
 
1332
<p>
 
1333
</p>
1091
1334
<div class="variablelist"><table border="0">
1092
1335
<col align="left" valign="top">
1093
1336
<tbody>
1103
1346
</tr>
1104
1347
<tr>
1105
1348
<td><p><span class="term"><em class="parameter"><code>mount_operation</code></em> :</span></p></td>
1106
 
<td> a <a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to avoid user interaction.
 
1349
<td> a <a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a> or <a
 
1350
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
 
1351
><code class="literal">NULL</code></a> to avoid user interaction.
1107
1352
</td>
1108
1353
</tr>
1109
1354
<tr>
1110
1355
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
1111
 
<td> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.
 
1356
<td> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a
 
1357
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
 
1358
><code class="literal">NULL</code></a> to ignore.
1112
1359
</td>
1113
1360
</tr>
1114
1361
<tr>
1115
1362
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
1116
 
<td> a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
 
1363
<td> a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>, or <a
 
1364
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
 
1365
><code class="literal">NULL</code></a>.
1117
1366
</td>
1118
1367
</tr>
1119
1368
<tr>
1128
1377
<hr>
1129
1378
<div class="refsect2" title="g_drive_start_finish ()">
1130
1379
<a name="g-drive-start-finish"></a><h3>g_drive_start_finish ()</h3>
1131
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            g_drive_start_finish                (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive,
1132
 
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="returnvalue">GAsyncResult</span></a> *result,
1133
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> **error);</pre>
 
1380
<pre class="programlisting"><a
 
1381
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
1382
>gboolean</a>            g_drive_start_finish                (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive,
 
1383
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *result,
 
1384
                                                         <a
 
1385
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
 
1386
>GError</a> **error);</pre>
1134
1387
<p>
1135
1388
Finishes starting a drive.</p>
 
1389
<p>
 
1390
</p>
1136
1391
<div class="variablelist"><table border="0">
1137
1392
<col align="left" valign="top">
1138
1393
<tbody>
1148
1403
</tr>
1149
1404
<tr>
1150
1405
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1151
 
<td> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
1406
<td> a <a
 
1407
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
 
1408
><span class="type">GError</span></a>, or <a
 
1409
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
 
1410
><code class="literal">NULL</code></a>
1152
1411
</td>
1153
1412
</tr>
1154
1413
<tr>
1155
1414
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1156
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the drive has been started successfully,
1157
 
    <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
 
1415
<td> <a
 
1416
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
 
1417
><code class="literal">TRUE</code></a> if the drive has been started successfully,
 
1418
    <a
 
1419
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
 
1420
><code class="literal">FALSE</code></a> otherwise.
1158
1421
 
1159
1422
</td>
1160
1423
</tr>
1165
1428
<hr>
1166
1429
<div class="refsect2" title="g_drive_stop ()">
1167
1430
<a name="g-drive-stop"></a><h3>g_drive_stop ()</h3>
1168
 
<pre class="programlisting"><span class="returnvalue">void</span>                g_drive_stop                        (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive,
1169
 
                                                         <a class="link" href="GMount.html#GMountUnmountFlags" title="enum GMountUnmountFlags"><span class="returnvalue">GMountUnmountFlags</span></a> flags,
1170
 
                                                         <a class="link" href="GMountOperation.html" title="GMountOperation"><span class="returnvalue">GMountOperation</span></a> *mount_operation,
1171
 
                                                         <a class="link" href="GCancellable.html" title="GCancellable"><span class="returnvalue">GCancellable</span></a> *cancellable,
1172
 
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="returnvalue">GAsyncReadyCallback</span></a> callback,
1173
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data);</pre>
 
1431
<pre class="programlisting">void                g_drive_stop                        (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive,
 
1432
                                                         <a class="link" href="GMount.html#GMountUnmountFlags" title="enum GMountUnmountFlags">GMountUnmountFlags</a> flags,
 
1433
                                                         <a class="link" href="GMountOperation.html" title="GMountOperation">GMountOperation</a> *mount_operation,
 
1434
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
 
1435
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()">GAsyncReadyCallback</a> callback,
 
1436
                                                         <a
 
1437
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
 
1438
>gpointer</a> user_data);</pre>
1174
1439
<p>
1175
1440
Asynchronously stops a drive.
1176
1441
</p>
1178
1443
When the operation is finished, <em class="parameter"><code>callback</code></em> will be called.
1179
1444
You can then call <a class="link" href="GDrive.html#g-drive-stop-finish" title="g_drive_stop_finish ()"><code class="function">g_drive_stop_finish()</code></a> to obtain the
1180
1445
result of the operation.</p>
 
1446
<p>
 
1447
</p>
1181
1448
<div class="variablelist"><table border="0">
1182
1449
<col align="left" valign="top">
1183
1450
<tbody>
1193
1460
</tr>
1194
1461
<tr>
1195
1462
<td><p><span class="term"><em class="parameter"><code>mount_operation</code></em> :</span></p></td>
1196
 
<td> a <a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to avoid user interaction.
 
1463
<td> a <a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a> or <a
 
1464
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
 
1465
><code class="literal">NULL</code></a> to avoid user interaction.
1197
1466
</td>
1198
1467
</tr>
1199
1468
<tr>
1200
1469
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
1201
 
<td> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.
 
1470
<td> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a
 
1471
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
 
1472
><code class="literal">NULL</code></a> to ignore.
1202
1473
</td>
1203
1474
</tr>
1204
1475
<tr>
1205
1476
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
1206
 
<td> a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
 
1477
<td> a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>, or <a
 
1478
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
 
1479
><code class="literal">NULL</code></a>.
1207
1480
</td>
1208
1481
</tr>
1209
1482
<tr>
1218
1491
<hr>
1219
1492
<div class="refsect2" title="g_drive_stop_finish ()">
1220
1493
<a name="g-drive-stop-finish"></a><h3>g_drive_stop_finish ()</h3>
1221
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            g_drive_stop_finish                 (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive,
1222
 
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="returnvalue">GAsyncResult</span></a> *result,
1223
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> **error);</pre>
 
1494
<pre class="programlisting"><a
 
1495
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
1496
>gboolean</a>            g_drive_stop_finish                 (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive,
 
1497
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *result,
 
1498
                                                         <a
 
1499
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
 
1500
>GError</a> **error);</pre>
1224
1501
<p>
1225
1502
Finishes stopping a drive.</p>
 
1503
<p>
 
1504
</p>
1226
1505
<div class="variablelist"><table border="0">
1227
1506
<col align="left" valign="top">
1228
1507
<tbody>
1238
1517
</tr>
1239
1518
<tr>
1240
1519
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1241
 
<td> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
1520
<td> a <a
 
1521
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
 
1522
><span class="type">GError</span></a>, or <a
 
1523
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
 
1524
><code class="literal">NULL</code></a>
1242
1525
</td>
1243
1526
</tr>
1244
1527
<tr>
1245
1528
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1246
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the drive has been stopped successfully,
1247
 
    <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
 
1529
<td> <a
 
1530
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
 
1531
><code class="literal">TRUE</code></a> if the drive has been stopped successfully,
 
1532
    <a
 
1533
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
 
1534
><code class="literal">FALSE</code></a> otherwise.
1248
1535
 
1249
1536
</td>
1250
1537
</tr>
1255
1542
<hr>
1256
1543
<div class="refsect2" title="g_drive_enumerate_identifiers ()">
1257
1544
<a name="g-drive-enumerate-identifiers"></a><h3>g_drive_enumerate_identifiers ()</h3>
1258
 
<pre class="programlisting"><span class="returnvalue">char</span> **             g_drive_enumerate_identifiers       (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive);</pre>
 
1545
<pre class="programlisting">char **             g_drive_enumerate_identifiers       (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);</pre>
1259
1546
<p>
1260
1547
Gets the kinds of identifiers that <em class="parameter"><code>drive</code></em> has. 
1261
1548
Use <code class="function">g_drive_get_identifer()</code> to obtain the identifiers
1262
1549
themselves.</p>
 
1550
<p>
 
1551
</p>
1263
1552
<div class="variablelist"><table border="0">
1264
1553
<col align="left" valign="top">
1265
1554
<tbody>
1270
1559
</tr>
1271
1560
<tr>
1272
1561
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1273
 
<td> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of strings containing
1274
 
    kinds of identifiers. Use <a href="http://library.gnome.org/devel/glib/unstable/glib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a> to free.
 
1562
<td> a <a
 
1563
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
 
1564
><code class="literal">NULL</code></a>-terminated array of strings containing
 
1565
    kinds of identifiers. Use <a
 
1566
href="http://library.gnome.org/devel/glib/unstable/glib-String-Utility-Functions.html#g-strfreev"
 
1567
><code class="function">g_strfreev()</code></a> to free.
1275
1568
</td>
1276
1569
</tr>
1277
1570
</tbody>
1280
1573
<hr>
1281
1574
<div class="refsect2" title="g_drive_get_identifier ()">
1282
1575
<a name="g-drive-get-identifier"></a><h3>g_drive_get_identifier ()</h3>
1283
 
<pre class="programlisting"><span class="returnvalue">char</span> *              g_drive_get_identifier              (<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> *drive,
1284
 
                                                         const <span class="returnvalue">char</span> *kind);</pre>
 
1576
<pre class="programlisting">char *              g_drive_get_identifier              (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive,
 
1577
                                                         const char *kind);</pre>
1285
1578
<p>
1286
1579
Gets the identifier of the given kind for <em class="parameter"><code>drive</code></em>.</p>
 
1580
<p>
 
1581
</p>
1287
1582
<div class="variablelist"><table border="0">
1288
1583
<col align="left" valign="top">
1289
1584
<tbody>
1300
1595
<tr>
1301
1596
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1302
1597
<td> a newly allocated string containing the
1303
 
    requested identfier, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a>
 
1598
    requested identfier, or <a
 
1599
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
 
1600
><code class="literal">NULL</code></a> if the <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a>
1304
1601
    doesn't have this kind of identifier.
1305
1602
</td>
1306
1603
</tr>
1312
1609
<a name="GDrive.signal-details"></a><h2>Signal Details</h2>
1313
1610
<div class="refsect2" title='The "changed" signal'>
1314
1611
<a name="GDrive-changed"></a><h3>The <code class="literal">"changed"</code> signal</h3>
1315
 
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a>  *drive,
1316
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)      : Run Last</pre>
 
1612
<pre class="programlisting">void                user_function                      (<a class="link" href="GDrive.html" title="GDrive">GDrive</a>  *drive,
 
1613
                                                        <a
 
1614
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
 
1615
>gpointer</a> user_data)      : Run Last</pre>
1317
1616
<p>
1318
1617
Emitted when the drive's state has changed.</p>
 
1618
<p>
 
1619
</p>
1319
1620
<div class="variablelist"><table border="0">
1320
1621
<col align="left" valign="top">
1321
1622
<tbody>
1334
1635
<hr>
1335
1636
<div class="refsect2" title='The "disconnected" signal'>
1336
1637
<a name="GDrive-disconnected"></a><h3>The <code class="literal">"disconnected"</code> signal</h3>
1337
 
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a>  *drive,
1338
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)      : Run Last</pre>
 
1638
<pre class="programlisting">void                user_function                      (<a class="link" href="GDrive.html" title="GDrive">GDrive</a>  *drive,
 
1639
                                                        <a
 
1640
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
 
1641
>gpointer</a> user_data)      : Run Last</pre>
1339
1642
<p>
1340
1643
This signal is emitted when the <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> have been
1341
1644
disconnected. If the recipient is holding references to the
1342
1645
object they should release them so the object can be
1343
1646
finalized.</p>
 
1647
<p>
 
1648
</p>
1344
1649
<div class="variablelist"><table border="0">
1345
1650
<col align="left" valign="top">
1346
1651
<tbody>
1359
1664
<hr>
1360
1665
<div class="refsect2" title='The "eject-button" signal'>
1361
1666
<a name="GDrive-eject-button"></a><h3>The <code class="literal">"eject-button"</code> signal</h3>
1362
 
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a>  *drive,
1363
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)      : Run Last</pre>
 
1667
<pre class="programlisting">void                user_function                      (<a class="link" href="GDrive.html" title="GDrive">GDrive</a>  *drive,
 
1668
                                                        <a
 
1669
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
 
1670
>gpointer</a> user_data)      : Run Last</pre>
1364
1671
<p>
1365
1672
Emitted when the physical eject button (if any) of a drive has
1366
1673
been pressed.</p>
 
1674
<p>
 
1675
</p>
1367
1676
<div class="variablelist"><table border="0">
1368
1677
<col align="left" valign="top">
1369
1678
<tbody>
1382
1691
<hr>
1383
1692
<div class="refsect2" title='The "stop-button" signal'>
1384
1693
<a name="GDrive-stop-button"></a><h3>The <code class="literal">"stop-button"</code> signal</h3>
1385
 
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a>  *drive,
1386
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)      : Run Last</pre>
 
1694
<pre class="programlisting">void                user_function                      (<a class="link" href="GDrive.html" title="GDrive">GDrive</a>  *drive,
 
1695
                                                        <a
 
1696
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
 
1697
>gpointer</a> user_data)      : Run Last</pre>
1387
1698
<p>
1388
1699
Emitted when the physical stop button (if any) of a drive has
1389
1700
been pressed.</p>
 
1701
<p>
 
1702
</p>
1390
1703
<div class="variablelist"><table border="0">
1391
1704
<col align="left" valign="top">
1392
1705
<tbody>
1401
1714
</tr>
1402
1715
</tbody>
1403
1716
</table></div>
1404
 
<p class="since">Since 2.22</p>
 
1717
<p>Since 2.22</p>
1405
1718
</div>
1406
1719
</div>
1407
1720
</div>
1408
1721
<div class="footer">
1409
1722
<hr>
1410
 
          Generated by GTK-Doc V1.13</div>
 
1723
          Generated by GTK-Doc V1.11</div>
1411
1724
</body>
1412
 
</html>
 
 
b'\\ No newline at end of file'
 
1725
</html>