mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
Added GMountMountFlags enum and added a flags argument to all mount calls.
2008-02-11 Alexander Larsson <alexl@redhat.com> * gfile.[ch]: * gmount.[ch]: * gvolume.[ch]: Added GMountMountFlags enum and added a flags argument to all mount calls. This is an API/ABI change for future extensibility, as I think we will need at least an inhibit-autorun flag (the panel needs this). There are no flags defined yet though. svn path=/trunk/; revision=6497
This commit is contained in:
committed by
Alexander Larsson
parent
52e49aee35
commit
e3fdcd1fa7
@@ -120,6 +120,7 @@ struct _GVolumeIface
|
||||
gboolean (*can_mount) (GVolume *volume);
|
||||
gboolean (*can_eject) (GVolume *volume);
|
||||
void (*mount_fn) (GVolume *volume,
|
||||
GMountMountFlags flags,
|
||||
GMountOperation *mount_operation,
|
||||
GCancellable *cancellable,
|
||||
GAsyncReadyCallback callback,
|
||||
@@ -155,6 +156,7 @@ gboolean g_volume_can_mount (GVolume *volume);
|
||||
gboolean g_volume_can_eject (GVolume *volume);
|
||||
gboolean g_volume_should_automount (GVolume *volume);
|
||||
void g_volume_mount (GVolume *volume,
|
||||
GMountMountFlags flags,
|
||||
GMountOperation *mount_operation,
|
||||
GCancellable *cancellable,
|
||||
GAsyncReadyCallback callback,
|
||||
|
Reference in New Issue
Block a user