]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/datstrm.h
Made some treectrl sample icons transparent; added toolbar.h to wx.h
[wxWidgets.git] / include / wx / datstrm.h
index 1b38a486b375e5fbce6b96cf3af0e73936d122bf..6ba074de71774282b8e904308d65428067612629 100644 (file)
@@ -16,7 +16,7 @@
 #pragma interface "datstrm.h"
 #endif
 
-#include <wx/stream.h>
+#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