Hi Josselin! > > > The headers are in libgnomevfs2-dev (source package: gnome-vfs2). > > Maybe I do not see it but I do not find the following header. > > xdgmime.h > > xdgmimealias.h > > xdgmimecache.h > > xdgmimeglob.h > > xdgmimeint.h > > xdgmimemagic.h > > xdgmimeparent.h > > (That is form 2.14) > > Ah, sorry, I thought you were looking for the sources. No problem. > These headers are for internal gnome-vfs use (and other libraries > implementing the XDG MIME specification) only, and I don't think you > should use them. Instead, if your application already uses gnome-vfs, > you should use the gnome-vfs MIME interface, which is of a higher level > and is guaranteed to remain consistent. It is available in > gnome-vfs-mime-*.h. I want to write an appication, where you can change the default-application (nearly the same as nautilus -> right mouse -> open with) but with more informations and option. So I want that you can search for mime types and globs. But I did not find the command to get the globs from the mime types. So I need to go depper into gnome-vfs. Maybe you know where I can find this command. CU Michael -- ,''`. Michael Ott, e-mail: michael at king-coder dot de : :' : Debian SID on Thinkpad T43: `. `' http://www.zolnott.de/laptop/ibm-t43-uc34nge.html `-
Attachment:
pgp8fkee23ZOb.pgp
Description: PGP signature