]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/sckstrm.h
OK, maybe not done yet, have to fix Unicode compilation one more place...
[wxWidgets.git] / include / wx / sckstrm.h
index 0f05c8c3f7b369d1cdbb9cc4e79480dfa9633d14..e22c65baf42af7df838e4a4be8ded4b7ae81305f 100644 (file)
@@ -16,6 +16,9 @@
 #endif
 
 #include "wx/stream.h"
+
+#if wxUSE_SOCKETS && wxUSE_STREAMS
+
 #include "wx/socket.h"
 
 class WXDLLEXPORT wxSocketOutputStream : public wxOutputStream
@@ -32,6 +35,8 @@ class WXDLLEXPORT wxSocketOutputStream : public wxOutputStream
 
  protected:
   wxSocketBase *m_o_socket;
+
+  size_t OnSysWrite(const void *buffer, size_t bufsize);
 };
 
 class WXDLLEXPORT wxSocketInputStream : public wxInputStream
@@ -48,6 +53,8 @@ class WXDLLEXPORT wxSocketInputStream : public wxInputStream
 
  protected:
   wxSocketBase *m_i_socket;
+
+  size_t OnSysRead(void *buffer, size_t bufsize);
 };
 
 class WXDLLEXPORT wxSocketStream : public wxSocketInputStream,
@@ -59,3 +66,7 @@ class WXDLLEXPORT wxSocketStream : public wxSocketInputStream,
 };
 
 #endif
+  // wxUSE_SOCKETS && wxUSE_STREAMS
+
+#endif
+  // __SCK_STREAM_H__
\ No newline at end of file