// these flags define what kind of filenames is included in the list of files
// enumerated by GetFirst/GetNext
-enum
+enum wxDirFlags
{
wxDIR_FILES = 0x0001, // include files
wxDIR_DIRS = 0x0002, // include directories
bool GetNext(wxString *filename) const;
// return true if this directory has any files in it
- bool HasFiles(const wxString& spec = wxEmptyString);
+ bool HasFiles(const wxString& spec = wxEmptyString) const;
// return true if this directory has any subdirectories
- bool HasSubDirs(const wxString& spec = wxEmptyString);
+ bool HasSubDirs(const wxString& spec = wxEmptyString) const;
// enumerate all files in this directory and its subdirectories
//
wxDirData *m_data;
- DECLARE_NO_COPY_CLASS(wxDir)
+ wxDECLARE_NO_COPY_CLASS(wxDir);
};
#endif // _WX_DIR_H_