#include <wx/stream.h>
+#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();
};
};
#endif
+ // wxUSE_STREAMS
+
+#endif
+ // _WX_WXMMSTREAM_H__
\ No newline at end of file