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:
@@ -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?
|
||||
|
Reference in New Issue
Block a user