GNOME Bugzilla – Bug 321066
Add an API to detect whether a disc is present in a drive
Last modified: 2011-09-21 19:02:15 UTC
Would an API like this be agreeable? typedef enum { GNOME_VFS_VOLUME_MEDIA_PRESENT, GNOME_VFS_VOLUME_MEDIA_ABSENT, GNOME_VFS_VOLUME_MEDIA_UNKNOWN } GnomeVFSVolumeMediaPresence; GnomeVFSVolumeMediaPresence gnome_vfs_volume_get_has_media (GnomeVFSVolume *volume);
shouldn't it be gnome_vfs_drive_get_has_media()? That sounds ok with me.