add const qualifiers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -175,19 +175,19 @@ public:
|
||||
*/
|
||||
bool GetFirst(wxString* filename,
|
||||
const wxString& filespec = wxEmptyString,
|
||||
int flags = wxDIR_DEFAULT);
|
||||
int flags = wxDIR_DEFAULT) const;
|
||||
|
||||
/**
|
||||
Returns the name of the directory itself. The returned string does not have the
|
||||
trailing path separator (slash or backslash).
|
||||
*/
|
||||
wxString GetName();
|
||||
wxString GetName() const;
|
||||
|
||||
/**
|
||||
Continue enumerating files which satisfy the criteria specified by the last
|
||||
call to GetFirst().
|
||||
*/
|
||||
bool GetNext(wxString* filename);
|
||||
bool GetNext(wxString* filename) const;
|
||||
|
||||
/**
|
||||
Returns the size (in bytes) of all files recursively found in @c dir or
|
||||
@@ -226,7 +226,7 @@ public:
|
||||
Returns @true if the directory was successfully opened by a previous call to
|
||||
Open().
|
||||
*/
|
||||
bool IsOpened();
|
||||
bool IsOpened() const;
|
||||
|
||||
/**
|
||||
Open the directory for enumerating, returns @true on success
|
||||
|
Reference in New Issue
Block a user