After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 321066 - Add an API to detect whether a disc is present in a drive
Add an API to detect whether a disc is present in a drive
Status: RESOLVED OBSOLETE
Product: gnome-vfs
Classification: Deprecated
Component: Other
cvs (head)
Other Linux
: Normal normal
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
Depends on:
Blocks:
 
 
Reported: 2005-11-09 14:45 UTC by Bastien Nocera
Modified: 2011-09-21 19:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2005-11-09 14:45:33 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);
Comment 1 Alexander Larsson 2006-01-30 09:44:27 UTC
shouldn't it be gnome_vfs_drive_get_has_media()? That sounds ok with me.