X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2c5e5cbdb438a3c2717a32ffa50177a319708c23..42eba91294e1c374908b63bdc5f22a5c4c29f110:/include/wx/filefn.h diff --git a/include/wx/filefn.h b/include/wx/filefn.h index 5839b81095..3915a0176b 100644 --- a/include/wx/filefn.h +++ b/include/wx/filefn.h @@ -472,6 +472,11 @@ inline bool wxPathExists(const wxChar *pszPathName) } #endif //WXWIN_COMPATIBILITY_2_6 +// permissions; these functions work both on files and directories: +WXDLLIMPEXP_BASE bool wxIsWritable(const wxString &path); +WXDLLIMPEXP_BASE bool wxIsReadable(const wxString &path); +WXDLLIMPEXP_BASE bool wxIsExecutable(const wxString &path); + // ---------------------------------------------------------------------------- // separators in file names // ----------------------------------------------------------------------------