X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d1af8e2dd91c86a236f30b7ba666fa57d857ab00..9ed8b5a7b2e41ecb07d2dab32bac32eb7b771fd3:/include/wx/dir.h 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;