X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d9ff0f91fbddae88286567cab74dcfb59c91fc0f..ab0d42f76d5594bd28fdcad35bedeb380902f3ea:/include/wx/dir.h?ds=sidebyside diff --git a/include/wx/dir.h b/include/wx/dir.h index 4c8a2368cb..9c652c91ac 100644 --- a/include/wx/dir.h +++ b/include/wx/dir.h @@ -67,6 +67,8 @@ public: // wxDir: portable equivalent of {open/read/close}dir functions // ---------------------------------------------------------------------------- +class WXDLLEXPORT wxDirData; + class WXDLLEXPORT wxDir { public: @@ -107,12 +109,10 @@ public: bool GetNext(wxString *filename) const; // return true if this directory has any files in it - bool HasFiles(const wxString& spec = wxEmptyString) - { wxString s; return GetFirst(&s, spec, wxDIR_FILES | wxDIR_HIDDEN); } + bool HasFiles(const wxString& spec = wxEmptyString); // return true if this directory has any subdirectories - bool HasSubDirs(const wxString& spec = wxEmptyString) - { wxString s; return GetFirst(&s, spec, wxDIR_DIRS | wxDIR_HIDDEN); } + bool HasSubDirs(const wxString& spec = wxEmptyString); // enumerate all files in this directory and its subdirectories //