]> git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/gnome/gvfs.h
More docs cleanup and fixes for richtextbuffer
[wxWidgets.git] / include / wx / gtk / gnome / gvfs.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk/gnome/gvfs.h
3 // Author: Robert Roebling
4 // Purpose: GNOME VFS support
5 // Created: 17/03/06
6 // RCS-ID: $Id$
7 // Copyright: Robert Roebling
8 // Licence: wxWindows Licence
9 /////////////////////////////////////////////////////////////////////////////
10
11 #ifndef _WX_GTK_GVFS_H_
12 #define _WX_GTK_GVFS_H_
13
14 #include "wx/defs.h"
15
16 #if wxUSE_MIMETYPE && wxUSE_LIBGNOMEVFS
17
18 #include "wx/string.h"
19 #include "wx/unix/mimetype.h"
20
21 //----------------------------------------------------------------------------
22 // wxGnomeVFSMimeTypesManagerImpl
23 //----------------------------------------------------------------------------
24
25 class wxGnomeVFSMimeTypesManagerImpl: public wxMimeTypesManagerImpl
26 {
27 public:
28 wxGnomeVFSMimeTypesManagerImpl() { }
29
30 protected:
31 virtual bool DoAssociation(const wxString& strType,
32 const wxString& strIcon,
33 wxMimeTypeCommands *entry,
34 const wxArrayString& strExtensions,
35 const wxString& strDesc);
36 };
37
38 //----------------------------------------------------------------------------
39 // wxGnomeVFSMimeTypesManagerFactory
40 //----------------------------------------------------------------------------
41
42 class wxGnomeVFSMimeTypesManagerFactory: public wxMimeTypesManagerFactory
43 {
44 public:
45 wxGnomeVFSMimeTypesManagerFactory() {}
46
47 virtual wxMimeTypesManagerImpl *CreateMimeTypesManagerImpl();
48 };
49
50 #endif
51 // wxUSE_MIMETYPE
52
53 #endif