wxOutputStream& WXDLLEXPORT wxEndL(wxOutputStream& o_stream);
+// Disable warnings such as
+// 'wxFilterStream' : inherits 'wxFilterInputStream::Peek' via dominance
+
+#ifdef _MSC_VER
+#pragma warning(disable:4250)
+#endif
+
// ---------------------------------------------------------------------------
// Stream buffer
// ---------------------------------------------------------------------------
wxInputStream& operator>>(int& i);
wxInputStream& operator>>(long& i);
wxInputStream& operator>>(float& i);
-#if USE_SERIAL
+#if wxUSE_SERIAL
wxInputStream& operator>>(wxObject *& obj);
#endif
wxInputStream(wxStreamBuffer *buffer);
- virtual size_t DoRead(void *buffer, size_t size) { return 0; }
- virtual off_t DoSeekInput(off_t pos, wxSeekMode mode)
+ virtual size_t DoRead(void *WXUNUSED(buffer), size_t WXUNUSED(size) )
+ { return 0; }
+ virtual off_t DoSeekInput( off_t WXUNUSED(pos), wxSeekMode WXUNUSED(mode) )
{ return wxInvalidOffset; }
virtual off_t DoTellInput() const
{ return wxInvalidOffset; }
wxOutputStream& operator<<(int i);
wxOutputStream& operator<<(long i);
wxOutputStream& operator<<(double f);
-#if USE_SERIAL
+#if wxUSE_SERIAL
wxOutputStream& operator<<(wxObject& obj);
#endif
wxOutputStream(wxStreamBuffer *buffer);
- virtual size_t DoWrite(const void *buffer, size_t size) { return 0; }
- virtual off_t DoSeekOutput(off_t pos, wxSeekMode mode)
+ virtual size_t DoWrite( const void *WXUNUSED(buffer), size_t WXUNUSED(size) )
+ { return 0; }
+ virtual off_t DoSeekOutput( off_t WXUNUSED(pos), wxSeekMode WXUNUSED(mode) )
{ return wxInvalidOffset; }
virtual off_t DoTellOutput() const
{ return wxInvalidOffset; }
wxStreamBuffer *m_o_streambuf;
};
-class wxStream: virtual public wxInputStream,
- virtual public wxOutputStream
+class WXDLLEXPORT wxStream: public virtual wxInputStream,
+ public virtual wxOutputStream
{
public:
wxStream();
// "Filter" streams
// ---------------------------------------------------------------------------
-class WXDLLEXPORT wxFilterInputStream: virtual public wxInputStream {
+class WXDLLEXPORT wxFilterInputStream: public virtual wxInputStream {
public:
wxFilterInputStream();
wxFilterInputStream(wxInputStream& stream);
wxInputStream *m_parent_i_stream;
};
-class WXDLLEXPORT wxFilterOutputStream: virtual public wxOutputStream {
+class WXDLLEXPORT wxFilterOutputStream: public virtual wxOutputStream {
public:
wxFilterOutputStream();
wxFilterOutputStream(wxOutputStream& stream);
};
class WXDLLEXPORT wxFilterStream: public wxStream,
- virtual public wxFilterInputStream,
- virtual public wxFilterOutputStream {
+ public virtual wxFilterInputStream,
+ public virtual wxFilterOutputStream {
public:
wxFilterStream(wxStream& stream);
wxFilterStream();
};
+#ifdef _MSC_VER
+#pragma warning(default:4250)
+#endif
+
#endif