initial commit
Signed-off-by: Peter Siegmund <mars3142@noreply.mars3142.dev>
This commit is contained in:
52
libs/wxWidgets-3.3.1/include/wx/gtk/gnome/gvfs.h
Normal file
52
libs/wxWidgets-3.3.1/include/wx/gtk/gnome/gvfs.h
Normal file
@@ -0,0 +1,52 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: wx/gtk/gnome/gvfs.h
|
||||
// Author: Robert Roebling
|
||||
// Purpose: GNOME VFS support
|
||||
// Created: 17/03/06
|
||||
// Copyright: Robert Roebling
|
||||
// Licence: wxWindows Licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef _WX_GTK_GVFS_H_
|
||||
#define _WX_GTK_GVFS_H_
|
||||
|
||||
#include "wx/defs.h"
|
||||
|
||||
#if wxUSE_MIMETYPE && wxUSE_LIBGNOMEVFS
|
||||
|
||||
#include "wx/string.h"
|
||||
#include "wx/unix/mimetype.h"
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
// wxGnomeVFSMimeTypesManagerImpl
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
class wxGnomeVFSMimeTypesManagerImpl: public wxMimeTypesManagerImpl
|
||||
{
|
||||
public:
|
||||
wxGnomeVFSMimeTypesManagerImpl() = default;
|
||||
|
||||
protected:
|
||||
virtual bool DoAssociation(const wxString& strType,
|
||||
const wxString& strIcon,
|
||||
wxMimeTypeCommands *entry,
|
||||
const wxArrayString& strExtensions,
|
||||
const wxString& strDesc);
|
||||
};
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
// wxGnomeVFSMimeTypesManagerFactory
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
class wxGnomeVFSMimeTypesManagerFactory: public wxMimeTypesManagerFactory
|
||||
{
|
||||
public:
|
||||
wxGnomeVFSMimeTypesManagerFactory() = default;
|
||||
|
||||
virtual wxMimeTypesManagerImpl *CreateMimeTypesManagerImpl();
|
||||
};
|
||||
|
||||
#endif
|
||||
// wxUSE_MIMETYPE
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user