X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fae05df5a988883e9c6683ccded766dfb7b84b1b..0828c0875e1516e4bfc0aa5b0a84195a2ac92cca:/include/wx/txtstrm.h diff --git a/include/wx/txtstrm.h b/include/wx/txtstrm.h index 3a951f2633..5586707252 100644 --- a/include/wx/txtstrm.h +++ b/include/wx/txtstrm.h @@ -33,10 +33,9 @@ public: // Operators wxTextInputStream& operator>>(wxString& line); - wxTextInputStream& operator>>(wxInt8& c); + wxTextInputStream& operator>>(wxChar& c); wxTextInputStream& operator>>(wxInt16& i); wxTextInputStream& operator>>(wxInt32& i); - wxTextInputStream& operator>>(wxUint8& c); wxTextInputStream& operator>>(wxUint16& i); wxTextInputStream& operator>>(wxUint32& i); wxTextInputStream& operator>>(double& i); @@ -44,6 +43,9 @@ public: protected: wxInputStream *m_input; + + wxChar NextNonWhiteSpace(); + void SkipIfEndOfLine( wxChar c ); }; class WXDLLEXPORT wxTextOutputStream { @@ -56,13 +58,12 @@ class WXDLLEXPORT wxTextOutputStream { void Write8(wxUint8 i); void WriteDouble(double d); void WriteString(const wxString& string); - + wxTextOutputStream& operator<<(const wxChar *string); wxTextOutputStream& operator<<(const wxString& string); - wxTextOutputStream& operator<<(wxInt8 c); + wxTextOutputStream& operator<<(wxChar c); wxTextOutputStream& operator<<(wxInt16 c); wxTextOutputStream& operator<<(wxInt32 c); - wxTextOutputStream& operator<<(wxUint8 c); wxTextOutputStream& operator<<(wxUint16 c); wxTextOutputStream& operator<<(wxUint32 c); wxTextOutputStream& operator<<(double f);