]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk/gnome/gvfs.h
The usual missing commit.
[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
11#ifndef __gvfs_H__
12#define __gvfs_H__
13
14// Include wxWindows' headers
15
16#include "wx/defs.h"
17
18#if wxUSE_MIMETYPE && wxUSE_LIBGNOMEVFS
19
20#include "wx/string.h"
21#include "wx/unix/mimetype.h"
22
23//----------------------------------------------------------------------------
24// wxGnomeVFSMimeTypesManagerImpl
25//----------------------------------------------------------------------------
26
27class wxGnomeVFSMimeTypesManagerImpl: public wxMimeTypesManagerImpl
28{
29public:
30 wxGnomeVFSMimeTypesManagerImpl() { }
31
32 virtual bool DoAssociation(const wxString& strType,
33 const wxString& strIcon,
34 wxMimeTypeCommands *entry,
35 const wxArrayString& strExtensions,
36 const wxString& strDesc);
37};
38
39//----------------------------------------------------------------------------
40// wxGnomeVFSMimeTypesManagerFactory
41//----------------------------------------------------------------------------
42
43class wxGnomeVFSMimeTypesManagerFactory: public wxMimeTypesManagerFactory
44{
45public:
46 wxGnomeVFSMimeTypesManagerFactory() {}
47
48 virtual wxMimeTypesManagerImpl *CreateMimeTypesManagerImpl();
49};
50
51#endif
52 // wxUSE_MIMETYPE
53
54#endif