#endif // wxUSE_FFILE
// directory creation and removal.
- bool Mkdir(int perm = wxS_DIR_DEFAULT, int flags = 0);
+ bool Mkdir(int perm = wxS_DIR_DEFAULT, int flags = 0) const;
static bool Mkdir(const wxString &dir, int perm = wxS_DIR_DEFAULT,
int flags = 0);
- bool Rmdir(int flags = 0);
+ bool Rmdir(int flags = 0) const;
static bool Rmdir(const wxString &dir, int flags = 0);
// operations on the path
@return Returns @true if the directory was successfully created, @false
otherwise.
*/
- bool Mkdir(int perm = wxS_DIR_DEFAULT, int flags = 0);
+ bool Mkdir(int perm = wxS_DIR_DEFAULT, int flags = 0) const;
/**
Creates a directory.
@return Returns @true if the directory was successfully deleted, @false
otherwise.
*/
- bool Rmdir(int flags = 0);
+ bool Rmdir(int flags = 0) const;
/**
Deletes the specified directory from the file system.
return dir;
}
-bool wxFileName::Mkdir( int perm, int flags )
+bool wxFileName::Mkdir( int perm, int flags ) const
{
return wxFileName::Mkdir(GetPath(), perm, flags);
}
return ::wxMkdir( dir, perm );
}
-bool wxFileName::Rmdir(int flags)
+bool wxFileName::Rmdir(int flags) const
{
return wxFileName::Rmdir( GetPath(), flags );
}