#pragma implementation "stream.h"
#endif
-#include <wx/object.h>
-#include "stream.h"
-
-#if !USE_SHARED_LIBRARY
-IMPLEMENT_ABSTRACT_CLASS(wxInputStream, wxObject)
-IMPLEMENT_ABSTRACT_CLASS(wxOutputStream, wxObject)
-IMPLEMENT_ABSTRACT_CLASS2(wxStream, wxInputStream, wxOutputStream)
-IMPLEMENT_CLASS(wxFilterInputStream, wxInputStream)
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+#include <wx/stream.h>
+
+#ifdef __BORLANDC__
+#pragma hdrstop
#endif
wxInputStream::wxInputStream()
- : wxObject()
{
}
}
wxOutputStream::wxOutputStream()
- : wxObject()
{
}
wxFilterInputStream::wxFilterInputStream(wxInputStream& stream)
: wxInputStream()
{
- m_parent_stream = &stream;
+ m_parent_i_stream = &stream;
}
wxFilterInputStream::~wxFilterInputStream()
{
}
+
+wxFilterOutputStream::wxFilterOutputStream(wxOutputStream& stream)
+ : wxOutputStream()
+{
+ m_parent_o_stream = &stream;
+}
+
+wxFilterOutputStream::~wxFilterOutputStream()
+{
+}