X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bddd7a8d8953cf4c09e56c13e1bfcc594ba0267e..e87b78335291c67025c5a763c2acfb22343f9908:/include/wx/stream.h diff --git a/include/wx/stream.h b/include/wx/stream.h index 2c770c2b3e..264db502b0 100644 --- a/include/wx/stream.h +++ b/include/wx/stream.h @@ -81,7 +81,7 @@ public: // reset the stream state void Reset() { m_lasterror = wxSTREAM_NO_ERROR; } - // deprecated (doesn't make sense!), don't use + // this doesn't make sense for all streams, always test its return value virtual size_t GetSize() const { return 0; } #if WXWIN_COMPATIBILITY_2_2 @@ -232,6 +232,8 @@ protected: size_t m_wbackcur; friend class wxStreamBuffer; + + DECLARE_NO_COPY_CLASS(wxInputStream) }; // ---------------------------------------------------------------------------- @@ -264,6 +266,8 @@ protected: virtual size_t OnSysWrite(const void *buffer, size_t bufsize); friend class wxStreamBuffer; + + DECLARE_NO_COPY_CLASS(wxOutputStream) }; // ============================================================================ @@ -288,6 +292,8 @@ protected: virtual off_t OnSysTell() const; size_t m_currentPos; + + DECLARE_NO_COPY_CLASS(wxCountingOutputStream) }; // ---------------------------------------------------------------------------