Get list of CD-ROM drives
Trevor Vallender <[email protected]> Sun, 08 Aug 2010 21:23:01 +0100
| Newsgroups | gmane.comp.gnome.devel |
|---|---|
| Message-ID | <[email protected]> |
I am attempting to get a list of all CD-ROM drives on a system from a C application. I was advised in IRC to use libgdu. Attempting to do this, I used #include <gnome-disk-utility/gdu/gdu.h> and get an error message that it is an unstable API. When the #define line is added which it mentions, it then has a fatal error that gdu/gdu-types.h cannot be found. Am I #include-ing the wrong thing? Should I not be using libgdu for this at all? Thanks.