]> git.saurik.com Git - wxWidgets.git/blame - include/wx/fs_filter.h
Add lambda-friendly wxDialog::ShowWindowModalThenDo().
[wxWidgets.git] / include / wx / fs_filter.h
CommitLineData
37671b82 1/////////////////////////////////////////////////////////////////////////////
ce7208d4 2// Name: wx/fs_filter.h
37671b82
MW
3// Purpose: Filter file system handler
4// Author: Mike Wetherell
5// Copyright: (c) 2006 Mike Wetherell
37671b82
MW
6// Licence: wxWindows licence
7/////////////////////////////////////////////////////////////////////////////
8
9#ifndef _WX_FS_FILTER_H_
10#define _WX_FS_FILTER_H_
11
12#include "wx/defs.h"
13
14#if wxUSE_FILESYSTEM
15
16#include "wx/filesys.h"
17
18//---------------------------------------------------------------------------
19// wxFilterFSHandler
20//---------------------------------------------------------------------------
21
22class WXDLLIMPEXP_BASE wxFilterFSHandler : public wxFileSystemHandler
23{
24public:
25 wxFilterFSHandler() : wxFileSystemHandler() { }
26 virtual ~wxFilterFSHandler() { }
27
28 virtual bool CanOpen(const wxString& location);
29 virtual wxFSFile* OpenFile(wxFileSystem& fs, const wxString& location);
30
31 virtual wxString FindFirst(const wxString& spec, int flags = 0);
32 virtual wxString FindNext();
33
34private:
c0c133e1 35 wxDECLARE_NO_COPY_CLASS(wxFilterFSHandler);
37671b82
MW
36};
37
38#endif // wxUSE_FILESYSTEM
39
40#endif // _WX_FS_FILTER_H_