]> git.saurik.com Git - wxWidgets.git/blame - include/wx/fs_filter.h
Add support for auto-orientable toolbars to AUI.
[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
6// CVS-ID: $Id$
7// Licence: wxWindows licence
8/////////////////////////////////////////////////////////////////////////////
9
10#ifndef _WX_FS_FILTER_H_
11#define _WX_FS_FILTER_H_
12
13#include "wx/defs.h"
14
15#if wxUSE_FILESYSTEM
16
17#include "wx/filesys.h"
18
19//---------------------------------------------------------------------------
20// wxFilterFSHandler
21//---------------------------------------------------------------------------
22
23class WXDLLIMPEXP_BASE wxFilterFSHandler : public wxFileSystemHandler
24{
25public:
26 wxFilterFSHandler() : wxFileSystemHandler() { }
27 virtual ~wxFilterFSHandler() { }
28
29 virtual bool CanOpen(const wxString& location);
30 virtual wxFSFile* OpenFile(wxFileSystem& fs, const wxString& location);
31
32 virtual wxString FindFirst(const wxString& spec, int flags = 0);
33 virtual wxString FindNext();
34
35private:
c0c133e1 36 wxDECLARE_NO_COPY_CLASS(wxFilterFSHandler);
37671b82
MW
37};
38
39#endif // wxUSE_FILESYSTEM
40
41#endif // _WX_FS_FILTER_H_