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 /////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_GTK_GVFS_H_
12 #define _WX_GTK_GVFS_H_
16 #if wxUSE_MIMETYPE && wxUSE_LIBGNOMEVFS
18 #include "wx/string.h"
19 #include "wx/unix/mimetype.h"
21 //----------------------------------------------------------------------------
22 // wxGnomeVFSMimeTypesManagerImpl
23 //----------------------------------------------------------------------------
25 class wxGnomeVFSMimeTypesManagerImpl
: public wxMimeTypesManagerImpl
28 wxGnomeVFSMimeTypesManagerImpl() { }
31 virtual bool DoAssociation(const wxString
& strType
,
32 const wxString
& strIcon
,
33 wxMimeTypeCommands
*entry
,
34 const wxArrayString
& strExtensions
,
35 const wxString
& strDesc
);
38 //----------------------------------------------------------------------------
39 // wxGnomeVFSMimeTypesManagerFactory
40 //----------------------------------------------------------------------------
42 class wxGnomeVFSMimeTypesManagerFactory
: public wxMimeTypesManagerFactory
45 wxGnomeVFSMimeTypesManagerFactory() {}
47 virtual wxMimeTypesManagerImpl
*CreateMimeTypesManagerImpl();