// Purpose: File system watcher impl classes
// Author: Bartosz Bekier
// Created: 2009-05-26
-// RCS-ID: $Id$
// Copyright: (c) 2009 Bartosz Bekier <bartosz.bekier@gmail.com>
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
return true;
}
+ // Check whether any filespec matches the file's ext (if present)
+ bool MatchesFilespec(const wxFileName& fn, const wxString& filespec) const
+ {
+ return filespec.empty() || wxMatchWild(filespec, fn.GetFullName());
+ }
+
protected:
virtual bool DoAdd(wxSharedPtr<wxFSWatchEntry> watch) = 0;