#include "wx/longlong.h"
#include "wx/string.h"
+#include "wx/filefn.h" // for wxS_DIR_DEFAULT
class WXDLLIMPEXP_FWD_BASE wxArrayString;
// get the full name of the directory (without '/' at the end)
wxString GetName() const;
-
+
+ // Same as GetName() but does include the trailing separator, unless the
+ // string is empty (only for invalid directories).
+ wxString GetNameWithSep() const;
+
// file enumeration routines
// -------------------------
// static utilities for directory management
// (alias to wxFileName's functions for dirs)
// -----------------------------------------
-
+
// test for existence of a directory with the given name
static bool Exists(const wxString& dir);
int flags = 0);
static bool Remove(const wxString &dir, int flags = 0);
-
+
private:
friend class wxDirData;