]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk/gnome/gvfs.h
using subclass as impl ptr, common code in macro because mix-in are not possible...
[wxWidgets.git] / include / wx / gtk / gnome / gvfs.h
CommitLineData
1d115baf
RR
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
3498362e
PC
11#ifndef _WX_GTK_GVFS_H_
12#define _WX_GTK_GVFS_H_
1d115baf
RR
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
25class wxGnomeVFSMimeTypesManagerImpl: public wxMimeTypesManagerImpl
26{
27public:
28 wxGnomeVFSMimeTypesManagerImpl() { }
3498362e
PC
29
30protected:
1d115baf
RR
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
42class wxGnomeVFSMimeTypesManagerFactory: public wxMimeTypesManagerFactory
43{
44public:
45 wxGnomeVFSMimeTypesManagerFactory() {}
46
47 virtual wxMimeTypesManagerImpl *CreateMimeTypesManagerImpl();
48};
49
50#endif
51 // wxUSE_MIMETYPE
52
53#endif