]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/datstrm.h
Work on streams of all sorts. More to come.
[wxWidgets.git] / include / wx / datstrm.h
index 230d5253b6b59b3be267edfcb73425ec293106a0..e3bb7eeb800cd0f181c3b42f5ce6fd6ab8d362c1 100644 (file)
@@ -18,7 +18,9 @@
 
 #include <wx/stream.h>
 
-class wxDataInputStream: virtual public wxFilterInputStream {
+#if wxUSE_STREAMS
+
+class WXDLLEXPORT wxDataInputStream: public wxFilterInputStream {
 public:
   wxDataInputStream(wxInputStream& s);
   virtual ~wxDataInputStream();
@@ -31,7 +33,7 @@ public:
   wxString ReadString();
 };
 
-class wxDataOutputStream: virtual public wxFilterOutputStream {
+class WXDLLEXPORT wxDataOutputStream: public wxFilterOutputStream {
  public:
   wxDataOutputStream(wxOutputStream& s);
   virtual ~wxDataOutputStream();
@@ -44,11 +46,8 @@ class wxDataOutputStream: virtual public wxFilterOutputStream {
   void WriteString(const wxString& string);
 };
 
-class wxDataStream: public wxDataInputStream, public wxDataOutputStream,
-                    public wxFilterStream {
- public:
-  wxDataStream(wxStream& stream);
-};
+#endif
+  // wxUSE_STREAMS
 
 #endif
     // _WX_DATSTREAM_H_