X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d1af8e2dd91c86a236f30b7ba666fa57d857ab00..6a5c9b3ff71334ed30bd9ae15425a1ca8ae71174:/include/wx/dir.h?ds=inline diff --git a/include/wx/dir.h b/include/wx/dir.h index 212d0586a2..d41bca30c7 100644 --- a/include/wx/dir.h +++ b/include/wx/dir.h @@ -12,6 +12,7 @@ #ifndef _WX_DIR_H_ #define _WX_DIR_H_ +#include "wx/longlong.h" #include "wx/string.h" class WXDLLIMPEXP_BASE wxArrayString; @@ -145,6 +146,9 @@ public: const wxString& filespec, int flags = wxDIR_DEFAULT); + // returns the size of all directories recursively found in given path + static wxULongLong GetTotalSize(const wxString &dir, wxArrayString *filesSkipped = NULL); + private: friend class wxDirData;