]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mstream.h
1. use a manifest constant wxNO_LEN instead of -1 for lengths everywhere
[wxWidgets.git] / include / wx / mstream.h
index a679e6bb8fd81dc372c255ca706aae8ea5db8384..2857dc074d320ab5939fc7e86dc3d23a1dc97f26 100644 (file)
 
 #include "wx/stream.h"
 
+class WXDLLIMPEXP_BASE wxMemoryOutputStream;
+
 class WXDLLIMPEXP_BASE wxMemoryInputStream : public wxInputStream
 {
 public:
     wxMemoryInputStream(const void *data, size_t length);
+    wxMemoryInputStream(const wxMemoryOutputStream& stream);
     virtual ~wxMemoryInputStream();
     virtual wxFileOffset GetLength() const { return m_length; }
-    virtual bool Eof() const;
     virtual bool IsSeekable() const { return true; }
 
     char Peek();