]> git.saurik.com Git - wxWidgets.git/commit - include/wx/private/fswatcher.h
Make wxFileSystemWatcher watch entries reference-counted.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 15 Oct 2012 01:08:37 +0000 (01:08 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 15 Oct 2012 01:08:37 +0000 (01:08 +0000)
commit76cfd1bf95045676ab0078c45e8b5c9f2c021632
tree7abb4d8ea745ef0f8e7e77cde75da3b4097e413f
parent227dee95e0c5b7e060c099329ba3d257281a24e2
Make wxFileSystemWatcher watch entries reference-counted.

This helps to avoid problems that arise from watching the same physical file
system path multiple times, which could happen when adding a watch for a path
already watched because of a recursive watch on a parent directory, for
example.

Closes #14490.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/fswatcher.h
include/wx/private/fswatcher.h
src/common/fswatchercmn.cpp
tests/fswatcher/fswatchertest.cpp