1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk/gnome/gvfs.h
3 // Author: Robert Roebling
4 // Purpose: GNOME VFS support
7 // Copyright: Robert Roebling
8 // Licence: wxWindows Licence
9 /////////////////////////////////////////////////////////////////////////////
14 // Include wxWindows' headers
18 #if wxUSE_MIMETYPE && wxUSE_LIBGNOMEVFS
20 #include "wx/string.h"
21 #include "wx/unix/mimetype.h"
23 //----------------------------------------------------------------------------
24 // wxGnomeVFSMimeTypesManagerImpl
25 //----------------------------------------------------------------------------
27 class wxGnomeVFSMimeTypesManagerImpl
: public wxMimeTypesManagerImpl
30 wxGnomeVFSMimeTypesManagerImpl() { }
32 virtual bool DoAssociation(const wxString
& strType
,
33 const wxString
& strIcon
,
34 wxMimeTypeCommands
*entry
,
35 const wxArrayString
& strExtensions
,
36 const wxString
& strDesc
);
39 //----------------------------------------------------------------------------
40 // wxGnomeVFSMimeTypesManagerFactory
41 //----------------------------------------------------------------------------
43 class wxGnomeVFSMimeTypesManagerFactory
: public wxMimeTypesManagerFactory
46 wxGnomeVFSMimeTypesManagerFactory() {}
48 virtual wxMimeTypesManagerImpl
*CreateMimeTypesManagerImpl();