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:
Francesco Montorsi
2008-03-09 16:24:26 +00:00
parent 1fee6e2577
commit 328f5751e8
193 changed files with 2525 additions and 2513 deletions

View File

@@ -81,7 +81,7 @@ public:
@see IsOpened()
*/
bool Eof();
bool Eof() const;
/**
Returns @true if an error has occurred on this file, similar to the standard
@@ -101,19 +101,19 @@ public:
/**
Returns the type of the file. Possible return values are:
*/
wxFileKind GetKind();
wxFileKind GetKind() const;
/**
Returns @true if the file is opened. Most of the methods of this class may
only
be used for an opened file.
*/
bool IsOpened();
bool IsOpened() const;
/**
Returns the length of the file.
*/
wxFileOffset Length();
wxFileOffset Length() const;
/**
Opens the file, returning @true if successful.
@@ -175,7 +175,7 @@ public:
/**
Returns the current position.
*/
wxFileOffset Tell();
wxFileOffset Tell() const;
/**
)
@@ -188,5 +188,5 @@ public:
/**
Returns the file pointer associated with the file.
*/
FILE* fp();
FILE* fp() const;
};