wxMessageBox off the main thread lost result code.
[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 // Copyright: Robert Roebling
7 // Licence: wxWindows Licence
8 /////////////////////////////////////////////////////////////////////////////
9
10 #ifndef _WX_GTK_GVFS_H_
11 #define _WX_GTK_GVFS_H_
12
13 #include "wx/defs.h"
14
15 #if wxUSE_MIMETYPE && wxUSE_LIBGNOMEVFS
16
17 #include "wx/string.h"
18 #include "wx/unix/mimetype.h"
19
20 //----------------------------------------------------------------------------
21 // wxGnomeVFSMimeTypesManagerImpl
22 //----------------------------------------------------------------------------
23
24 class wxGnomeVFSMimeTypesManagerImpl: public wxMimeTypesManagerImpl
25 {
26 public:
27 wxGnomeVFSMimeTypesManagerImpl() { }
28
29 protected:
30 virtual bool DoAssociation(const wxString& strType,
31 const wxString& strIcon,
32 wxMimeTypeCommands *entry,
33 const wxArrayString& strExtensions,
34 const wxString& strDesc);
35 };
36
37 //----------------------------------------------------------------------------
38 // wxGnomeVFSMimeTypesManagerFactory
39 //----------------------------------------------------------------------------
40
41 class wxGnomeVFSMimeTypesManagerFactory: public wxMimeTypesManagerFactory
42 {
43 public:
44 wxGnomeVFSMimeTypesManagerFactory() {}
45
46 virtual wxMimeTypesManagerImpl *CreateMimeTypesManagerImpl();
47 };
48
49 #endif
50 // wxUSE_MIMETYPE
51
52 #endif