]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mstream.h
1. changed spelling error in wxTR_HAS_VARIABLE_HEIGHT (missing 'E')
[wxWidgets.git] / include / wx / mstream.h
index 187a0e65495592743949f22fdb6d89b7b3841062..c16cfea2ed3334736a93913d2c073f65570a860e 100644 (file)
@@ -26,6 +26,8 @@ class wxMemoryInputStream: public wxInputStream {
 
   char Peek();
 
+  wxStreamBuffer *InputStreamBuffer() const { return m_i_streambuf; }
+
  protected:
   wxStreamBuffer *m_i_streambuf;
 
@@ -39,6 +41,11 @@ class wxMemoryOutputStream:  public wxOutputStream {
  public:
   wxMemoryOutputStream(char *data = NULL, size_t length = 0);
   virtual ~wxMemoryOutputStream();
+  virtual size_t StreamSize() const { return m_o_streambuf->GetLastAccess(); }
+
+  wxStreamBuffer *OutputStreamBuffer() const { return m_o_streambuf; }
+
+  size_t CopyTo(char *buffer, size_t len) const;
 
  protected:
   wxStreamBuffer *m_o_streambuf;