X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4701dc09838c3da46a8bc2836265a7dffee541ee..8ed522d9aa0cc52a760a872860b622134b505e8c:/interface/wx/stream.h?ds=sidebyside diff --git a/interface/wx/stream.h b/interface/wx/stream.h index 5d02acabb6..828fad1374 100644 --- a/interface/wx/stream.h +++ b/interface/wx/stream.h @@ -537,7 +537,7 @@ public: list << *p << _T("\n"); @endcode */ - const wxChar* const* GetProtocols(wxStreamProtocolType type = wxSTREAM_PROTOCOL) const; + virtual const wxChar * const* GetProtocols(wxStreamProtocolType type = wxSTREAM_PROTOCOL) const = 0; //@{ /** @@ -884,20 +884,23 @@ public: size_t OnSysRead(void* buffer, size_t bufsize); /** - Internal function. - It is called when the stream needs to change the current position. + See OnSysRead(). */ - wxFileOffset OnSysSeek(wxFileOffset pos, wxSeekMode mode); + size_t OnSysWrite(const void* buffer, size_t bufsize); + + +protected: /** Internal function. - It is called when the stream needs to know the real position. + It is called when the stream needs to change the current position. */ - wxFileOffset OnSysTell() const; + virtual wxFileOffset OnSysSeek(wxFileOffset pos, wxSeekMode mode); /** - See OnSysRead(). + Internal function. + It is called when the stream needs to know the real position. */ - size_t OnSysWrite(const void* buffer, size_t bufsize); + virtual wxFileOffset OnSysTell() const; };