1///////////////////////////////////////////////////////////////////////////// 2// Name: wx/fs_filter.h 3// Purpose: Filter file system handler 4// Author: Mike Wetherell 5// Copyright: (c) 2006 Mike Wetherell 6// CVS-ID: $Id: fs_filter.h 42713 2006-10-30 11:56:12Z ABX $ 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: 36 DECLARE_NO_COPY_CLASS(wxFilterFSHandler) 37}; 38 39#endif // wxUSE_FILESYSTEM 40 41#endif // _WX_FS_FILTER_H_ 42