X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fae05df5a988883e9c6683ccded766dfb7b84b1b..4a0253b82b5eb307b917c59570db6d2d06dfbadf:/include/wx/datstrm.h?ds=sidebyside diff --git a/include/wx/datstrm.h b/include/wx/datstrm.h index 1b38a486b3..6ba074de71 100644 --- a/include/wx/datstrm.h +++ b/include/wx/datstrm.h @@ -16,7 +16,7 @@ #pragma interface "datstrm.h" #endif -#include +#include "wx/stream.h" #if wxUSE_STREAMS @@ -40,8 +40,11 @@ public: wxDataInputStream& operator>>(wxUint32& i); wxDataInputStream& operator>>(double& i); wxDataInputStream& operator>>(float& f); + + void BigEndianOrdered(bool be_order) { m_be_order = be_order; } protected: wxInputStream *m_input; + bool m_be_order; }; class WXDLLEXPORT wxDataOutputStream { @@ -66,8 +69,10 @@ class WXDLLEXPORT wxDataOutputStream { wxDataOutputStream& operator<<(double f); wxDataOutputStream& operator<<(float f); + void BigEndianOrdered(bool be_order) { m_be_order = be_order; } protected: wxOutputStream *m_output; + bool m_be_order; }; #endif