74
74
<div class="refsynopsisdiv" title="Synopsis">
75
75
<a name="GDrive.synopsis"></a><h2>Synopsis</h2>
76
76
<pre class="synopsis">
77
78
#include <gio/gio.h>
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);
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);
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);
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);
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);
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);
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);
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,
112
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
113
>gpointer</a> user_data);
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,
119
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
120
>GError</a> **error);
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);
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);
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,
135
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
136
>gpointer</a> user_data);
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,
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,
150
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
151
>gpointer</a> user_data);
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,
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,
165
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
166
>gpointer</a> user_data);
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,
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,
180
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
181
>gpointer</a> user_data);
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,
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,
143
194
<div class="refsect1" title="Object Hierarchy">
287
342
Interface for creating <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> implementations.</p>
288
345
<div class="variablelist"><table border="0">
289
346
<col align="left" valign="top">
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.
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.
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.
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.
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>.
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>.
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.
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>.
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.
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.
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.
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.
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.
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>
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.
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>.
393
<td><p><span class="term"><em class="structfield"><code>is_media_removable</code></em> ()</span></p></td>
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.
400
<td><p><span class="term"><em class="structfield"><code>has_media</code></em> ()</span></p></td>
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.
407
<td><p><span class="term"><em class="structfield"><code>is_media_check_automatic</code></em> ()</span></p></td>
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.
414
<td><p><span class="term"><em class="structfield"><code>can_eject</code></em> ()</span></p></td>
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.
421
<td><p><span class="term"><em class="structfield"><code>can_poll_for_media</code></em> ()</span></p></td>
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.
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>.
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.
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>.
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.
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.
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.
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.
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.
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.
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>
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.
474
<td><p><span class="term"><em class="structfield"><code>can_start_degraded</code></em> ()</span></p></td>
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.
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.
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.
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>
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.
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.
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.
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.
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.
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.