- /** Changes the read/write offset of the file. Returns the new offset. */
- virtual int seek(int, SeekType);
-
- /** Returns the current read/write offset of the file. */
- virtual int tell() const;
-
- virtual Handle get_event_handle() { return handle; }
-
-private:
- void check_access(Mode) const;
+ virtual SeekOffset seek(SeekOffset, SeekType);
+ virtual SeekOffset tell() const;