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:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user