1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/fs_filter.h
3 // Purpose: Filter file system handler
4 // Author: Mike Wetherell
5 // Copyright: (c) 2006 Mike Wetherell
6 // Licence: wxWindows licence
7 /////////////////////////////////////////////////////////////////////////////
9 #ifndef _WX_FS_FILTER_H_
10 #define _WX_FS_FILTER_H_
16 #include "wx/filesys.h"
18 //---------------------------------------------------------------------------
20 //---------------------------------------------------------------------------
22 class WXDLLIMPEXP_BASE wxFilterFSHandler
: public wxFileSystemHandler
25 wxFilterFSHandler() : wxFileSystemHandler() { }
26 virtual ~wxFilterFSHandler() { }
28 virtual bool CanOpen(const wxString
& location
);
29 virtual wxFSFile
* OpenFile(wxFileSystem
& fs
, const wxString
& location
);
31 virtual wxString
FindFirst(const wxString
& spec
, int flags
= 0);
32 virtual wxString
FindNext();
35 wxDECLARE_NO_COPY_CLASS(wxFilterFSHandler
);
38 #endif // wxUSE_FILESYSTEM
40 #endif // _WX_FS_FILTER_H_