[ 1560785 ] wxFileName::IsReadable/Writable/Executable

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2006-10-05 17:28:31 +00:00
parent 5da414766e
commit 3ff07edb0b
4 changed files with 170 additions and 6 deletions

View File

@@ -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
// ----------------------------------------------------------------------------