]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mstream.h
Added wxDllLoader::UnloadLibrary()
[wxWidgets.git] / include / wx / mstream.h
index 0f73867261eef819808b952ef1bb102833603815..1c3283e77934d96901c85928b3d5a65e10cf6f9f 100644 (file)
 
 #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();
 };
@@ -28,3 +34,7 @@ class wxMemoryOutputStream:  public wxOutputStream {
 };
 
 #endif
+  // wxUSE_STREAMS
+
+#endif
+  // _WX_WXMMSTREAM_H__
\ No newline at end of file