X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9f5737d7937ba8feadea8d6c38b3f8a86bd57a1c..d2ae3af890800b7844df1673e6c9ae0e63b3dd68:/interface/wx/txtstrm.h diff --git a/interface/wx/txtstrm.h b/interface/wx/txtstrm.h index 1592d75f27..1fb73d3db3 100644 --- a/interface/wx/txtstrm.h +++ b/interface/wx/txtstrm.h @@ -3,7 +3,7 @@ // Purpose: interface of wxTextInputStream // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -73,6 +73,13 @@ public: */ ~wxTextInputStream(); + /** + Returns a pointer to the underlying input stream object. + + @since 2.9.2 + */ + const wxInputStream& GetInputStream() const; + /** Reads a character, returns 0 if there are no more characters in the stream. @@ -252,6 +259,13 @@ public: */ void Flush(); + /** + Returns a pointer to the underlying output stream object. + + @since 2.9.2 + */ + const wxOutputStream& GetOutputStream() const; + /** Returns the end-of-line mode. One of ::wxEOL_DOS, ::wxEOL_MAC and ::wxEOL_UNIX. @@ -261,7 +275,7 @@ public: /** Writes a character to the stream. */ - void PutChar(wxChar c); + wxTextOutputStream& PutChar(wxChar c); /** Set the end-of-line mode. One of ::wxEOL_NATIVE, ::wxEOL_DOS,