X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/886dd7d28e50c003cc88b81b968d487a3c17b0d7..5687a67ce1e365d010c6282aa57b4f99f7f5ea29:/include/wx/mstream.h diff --git a/include/wx/mstream.h b/include/wx/mstream.h index 1f9a8aea9f..dbbaba2799 100644 --- a/include/wx/mstream.h +++ b/include/wx/mstream.h @@ -16,7 +16,7 @@ #if wxUSE_STREAMS -class WXDLLEXPORT_BASE wxMemoryInputStream : public wxInputStream +class WXDLLIMPEXP_BASE wxMemoryInputStream : public wxInputStream { public: wxMemoryInputStream(const void *data, size_t length); @@ -35,8 +35,8 @@ protected: wxStreamBuffer *m_i_streambuf; size_t OnSysRead(void *buffer, size_t nbytes); - off_t OnSysSeek(off_t pos, wxSeekMode mode); - off_t OnSysTell() const; + wxFileOffset OnSysSeek(wxFileOffset pos, wxSeekMode mode); + wxFileOffset OnSysTell() const; private: size_t m_length; @@ -44,7 +44,7 @@ private: DECLARE_NO_COPY_CLASS(wxMemoryInputStream) }; -class WXDLLEXPORT_BASE wxMemoryOutputStream : public wxOutputStream +class WXDLLIMPEXP_BASE wxMemoryOutputStream : public wxOutputStream { public: // if data is !NULL it must be allocated with malloc() @@ -64,8 +64,8 @@ protected: protected: size_t OnSysWrite(const void *buffer, size_t nbytes); - off_t OnSysSeek(off_t pos, wxSeekMode mode); - off_t OnSysTell() const; + wxFileOffset OnSysSeek(wxFileOffset pos, wxSeekMode mode); + wxFileOffset OnSysTell() const; DECLARE_NO_COPY_CLASS(wxMemoryOutputStream) };