[Thunar-dev] Mime Recognition

Ori Bernstein rand_chars at rogers.com
Fri Aug 26 00:30:36 CEST 2005


On Thu, 25 Aug 2005 23:46:42 +0200, Benedikt Meurer
<benedikt.meurer at unix-ag.uni-siegen.de> said:

> Benedikt Meurer wrote:
> > There's no problem to use the code in other applications. Just link to 
> > thunar-vfs. That way you can also access the trash and copy/move files, 
> > etc, which will be used for the e.g. trash panel plugin once the panel 
> > supports out-of-process plugins.
> 
> Thunar installs a shared lib, headers and the pkg-config file for this 
> purpose, e.g. compile with:
> 
>   cc `pkg-config --cflags --libs thunar-vfs-1` ...
> 
> and remember to invoke thunar_vfs_init() on program/module startup, and 
> thunar_vfs_shutdown() on exit (atleast for modules!).
> 
> But since the API is not frozen yet, expect breakage during the next 
> months. ;-)

Ah, great =) That's almost exactly what I was asking for (almost because I was
hoping it would be usable without thunar).

Thanks.

Also, is there any documentation written yet, or is it too soon?




More information about the Thunar-dev mailing list