X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7f42cff13eaba35dda3527b2ca658dd00b9e7a46..5526e819eca4465ed5520d49bccfebc6a28045e0:/include/wx/mstream.h diff --git a/include/wx/mstream.h b/include/wx/mstream.h index 0f73867261..1c3283e779 100644 --- a/include/wx/mstream.h +++ b/include/wx/mstream.h @@ -13,10 +13,16 @@ #include +#if wxUSE_STREAMS + class wxMemoryInputStream: public wxInputStream { + private: + size_t m_length; + public: wxMemoryInputStream(const char *data, size_t length); virtual ~wxMemoryInputStream(); + virtual size_t StreamSize() const { return m_length; } char Peek(); }; @@ -28,3 +34,7 @@ class wxMemoryOutputStream: public wxOutputStream { }; #endif + // wxUSE_STREAMS + +#endif + // _WX_WXMMSTREAM_H__ \ No newline at end of file