made Tell/Seek/Length() return wxFileSize_t as well

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-10-15 00:22:27 +00:00
parent 93e0db9a80
commit 02aef13c07
2 changed files with 45 additions and 44 deletions

View File

@@ -110,13 +110,13 @@ public:
// file pointer operations (return ofsInvalid on failure)
// move ptr ofs bytes related to start/current off_t/end of file
wxFileOffset Seek(wxFileOffset ofs, wxSeekMode mode = wxFromStart);
wxFileSize_t Seek(wxFileOffset ofs, wxSeekMode mode = wxFromStart);
// move ptr to ofs bytes before the end
wxFileOffset SeekEnd(wxFileOffset ofs = 0) { return Seek(ofs, wxFromEnd); }
wxFileSize_t SeekEnd(wxFileOffset ofs = 0) { return Seek(ofs, wxFromEnd); }
// get current off_t
wxFileOffset Tell() const;
wxFileSize_t Tell() const;
// get current file length
wxFileOffset Length() const;
wxFileSize_t Length() const;
// simple accessors
// is file opened?