]> 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 8d5b759dcdd150a136c252f0162a92cada8bee31..e3bb7eeb800cd0f181c3b42f5ce6fd6ab8d362c1 100644 (file)
@@ -9,8 +9,8 @@
 // Licence:    wxWindows license
 /////////////////////////////////////////////////////////////////////////////
 
-#ifndef __DATSTREAMH__
-#define __DATSTREAMH__
+#ifndef _WX_DATSTREAM_H_
+#define _WX_DATSTREAM_H_
 
 #ifdef __GNUG__
 #pragma interface "datstrm.h"
@@ -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();
@@ -45,4 +47,7 @@ class wxDataOutputStream: public wxFilterOutputStream {
 };
 
 #endif
-    // __DATSTREAMH__
+  // wxUSE_STREAMS
+
+#endif
+    // _WX_DATSTREAM_H_