1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Filter file system handler
4 // Author: Mike Wetherell
5 // Copyright: (c) 2006 Mike Wetherell
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 #ifndef _WX_FS_FILTER_H_
11 #define _WX_FS_FILTER_H_
17 #include "wx/filesys.h"
19 //---------------------------------------------------------------------------
21 //---------------------------------------------------------------------------
23 class WXDLLIMPEXP_BASE wxFilterFSHandler
: public wxFileSystemHandler
26 wxFilterFSHandler() : wxFileSystemHandler() { }
27 virtual ~wxFilterFSHandler() { }
29 virtual bool CanOpen(const wxString
& location
);
30 virtual wxFSFile
* OpenFile(wxFileSystem
& fs
, const wxString
& location
);
32 virtual wxString
FindFirst(const wxString
& spec
, int flags
= 0);
33 virtual wxString
FindNext();
36 DECLARE_NO_COPY_CLASS(wxFilterFSHandler
)
39 #endif // wxUSE_FILESYSTEM
41 #endif // _WX_FS_FILTER_H_