]> 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 de87a83323daf2f35cd2d7f0d5276aeb76b689f9..e3bb7eeb800cd0f181c3b42f5ce6fd6ab8d362c1 100644 (file)
@@ -18,7 +18,9 @@
 
 #include <wx/stream.h>
 
-class wxDataInputStream: 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: public wxFilterOutputStream {
+class WXDLLEXPORT wxDataOutputStream: public wxFilterOutputStream {
  public:
   wxDataOutputStream(wxOutputStream& s);
   virtual ~wxDataOutputStream();
@@ -44,5 +46,8 @@ class wxDataOutputStream: public wxFilterOutputStream {
   void WriteString(const wxString& string);
 };
 
+#endif
+  // wxUSE_STREAMS
+
 #endif
     // _WX_DATSTREAM_H_