1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk/gnome/gvfs.h
3 // Author: Robert Roebling
4 // Purpose: GNOME VFS support
6 // Copyright: Robert Roebling
7 // Licence: wxWindows Licence
8 /////////////////////////////////////////////////////////////////////////////
10 #ifndef _WX_GTK_GVFS_H_
11 #define _WX_GTK_GVFS_H_
15 #if wxUSE_MIMETYPE && wxUSE_LIBGNOMEVFS
17 #include "wx/string.h"
18 #include "wx/unix/mimetype.h"
20 //----------------------------------------------------------------------------
21 // wxGnomeVFSMimeTypesManagerImpl
22 //----------------------------------------------------------------------------
24 class wxGnomeVFSMimeTypesManagerImpl
: public wxMimeTypesManagerImpl
27 wxGnomeVFSMimeTypesManagerImpl() { }
30 virtual bool DoAssociation(const wxString
& strType
,
31 const wxString
& strIcon
,
32 wxMimeTypeCommands
*entry
,
33 const wxArrayString
& strExtensions
,
34 const wxString
& strDesc
);
37 //----------------------------------------------------------------------------
38 // wxGnomeVFSMimeTypesManagerFactory
39 //----------------------------------------------------------------------------
41 class wxGnomeVFSMimeTypesManagerFactory
: public wxMimeTypesManagerFactory
44 wxGnomeVFSMimeTypesManagerFactory() {}
46 virtual wxMimeTypesManagerImpl
*CreateMimeTypesManagerImpl();