// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
-#ifndef __DATSTREAMH__
-#define __DATSTREAMH__
+#ifndef _WX_DATSTREAM_H_
+#define _WX_DATSTREAM_H_
#ifdef __GNUG__
#pragma interface "datstrm.h"
#include <wx/stream.h>
-class wxDataInputStream: public wxFilterInputStream {
+class wxDataInputStream: public virtual wxFilterInputStream {
public:
wxDataInputStream(wxInputStream& s);
virtual ~wxDataInputStream();
wxString ReadString();
};
-class wxDataOutputStream: public wxFilterOutputStream {
+class wxDataOutputStream: public virtual wxFilterOutputStream {
public:
wxDataOutputStream(wxOutputStream& s);
virtual ~wxDataOutputStream();
void WriteString(const wxString& string);
};
+class wxDataStream: public wxDataInputStream, public wxDataOutputStream,
+ public wxFilterStream {
+ public:
+ wxDataStream(wxStream& stream);
+};
+
#endif
- // __DATSTREAMH__
+ // _WX_DATSTREAM_H_