add wxPosixPermissions enumeration; it provides more readable synonims for wxS_I* flags and makes it easier to document which flags can be used in wxFile functions and wxFileName::Mkdir (and in future wxFileName::Chmod); part of commmit 55908

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2008-09-27 10:28:43 +00:00
parent f41d6c8cd7
commit a18d02ecd2
2 changed files with 42 additions and 16 deletions

View File

@@ -28,6 +28,7 @@
#include "wx/datetime.h"
#include "wx/intl.h"
#include "wx/longlong.h"
#include "wx/file.h"
#if wxUSE_FILE
class WXDLLIMPEXP_FWD_BASE wxFile;
@@ -308,8 +309,8 @@ public:
#endif // wxUSE_FFILE
// directory creation and removal.
bool Mkdir( int perm = 0777, int flags = 0);
static bool Mkdir( const wxString &dir, int perm = 0777, int flags = 0 );
bool Mkdir( int perm = wxS_DIR_DEFAULT, int flags = 0);
static bool Mkdir( const wxString &dir, int perm = wxS_DIR_DEFAULT, int flags = 0 );
bool Rmdir();
static bool Rmdir( const wxString &dir );