]> git.saurik.com Git - wxWidgets.git/commit - tests/filename/filenametest.cpp
Allow testing for existence of specific file types in wxFileName.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 19 Oct 2012 22:02:15 +0000 (22:02 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 19 Oct 2012 22:02:15 +0000 (22:02 +0000)
commitc50db84779471824160c5701a72ad4db9b35c2f2
treef7af6bd240d504b8b4ff92c83105570a91f9ac93
parent4f21fcb1ae62cc301060f52654f815e6a44c26c9
Allow testing for existence of specific file types in wxFileName.

Add "flags" parameter to wxFileName::Exists() to allow testing for the
existing of files of specific type: not only regular or directory but also
symlink, device, FIFO or socket.

And also to pass wxFILE_EXISTS_NO_FOLLOW flag inhibiting following the
symlinks without using DontFollowLink().

Closes #14542.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
include/wx/filename.h
interface/wx/filename.h
src/common/filename.cpp
tests/filename/filenametest.cpp