Home | History | Annotate | Download | only in gio

Lines Matching refs:GVolume

72 #define G_VOLUME(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_TYPE_VOLUME, GVolume))
80 * @removed: The removed signal that is emitted when the #GVolume have been removed. If the recipient is holding references to the object they should release them so the object can be finalized.
81 * @get_name: Gets a string containing the name of the #GVolume.
82 * @get_icon: Gets a #GIcon for the #GVolume.
83 * @get_uuid: Gets the UUID for the #GVolume. The reference is typically based on the file system UUID for the mount in question and should be considered an opaque string. Returns %NULL if there is no UUID available.
84 * @get_drive: Gets a #GDrive the volume is located on. Returns %NULL if the #GVolume is not associated with a #GDrive.
85 * @get_mount: Gets a #GMount representing the mounted volume. Returns %NULL if the #GVolume is not mounted.
86 * @can_mount: Returns %TRUE if the #GVolume can be mounted.
87 * @can_eject: Checks if a #GVolume can be ejected.
88 * @mount_fn: Mounts a given #GVolume.
89 * #GVolume implementations must emit the #GMountOperation::aborted
93 * @eject: Ejects a given #GVolume.
96 * the #GVolume doesn't have one.
98 * of <link linkend="volume-identifier">identifiers</link> which the #GVolume has.
99 * @should_automount: Returns %TRUE if the #GVolume should be automatically mounted.
100 * @get_activation_root: Returns the activation root for the #GVolume if it is known in advance or %NULL if
113 void (* changed) (GVolume *volume);
114 void (* removed) (GVolume *volume);
118 char * (* get_name) (GVolume *volume);
119 GIcon * (* get_icon) (GVolume *volume);
120 char * (* get_uuid) (GVolume *volume);
121 GDrive * (* get_drive) (GVolume *volume);
122 GMount * (* get_mount) (GVolume *volume);
123 gboolean (* can_mount) (GVolume *volume);
124 gboolean (* can_eject) (GVolume *volume);
125 void (* mount_fn) (GVolume *volume,
131 gboolean (* mount_finish) (GVolume *volume,
134 void (* eject) (GVolume *volume,
139 gboolean (* eject_finish) (GVolume *volume,
143 char * (* get_identifier) (GVolume *volume,
145 char ** (* enumerate_identifiers) (GVolume *volume);
147 gboolean (* should_automount) (GVolume *volume);
149 GFile * (* get_activation_root) (GVolume *volume);
155 char * g_volume_get_name (GVolume *volume);
156 GIcon * g_volume_get_icon (GVolume *volume);
157 char * g_volume_get_uuid (GVolume *volume);
158 GDrive * g_volume_get_drive (GVolume *volume);
159 GMount * g_volume_get_mount (GVolume *volume);
160 gboolean g_volume_can_mount (GVolume *volume);
161 gboolean g_volume_can_eject (GVolume *volume);
162 gboolean g_volume_should_automount (GVolume *volume);
163 void g_volume_mount (GVolume *volume,
169 gboolean g_volume_mount_finish (GVolume *volume,
172 void g_volume_eject (GVolume *volume,
177 gboolean g_volume_eject_finish (GVolume *volume,
180 char * g_volume_get_identifier (GVolume *volume,
182 char ** g_volume_enumerate_identifiers (GVolume *volume);
184 GFile * g_volume_get_activation_root (GVolume *volume);