X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/75ed1d15d0d866cac78f7c0da176db8dd5288bc8..4714ef79af518f74214126559ef48607acf89180:/include/wx/sckstrm.h diff --git a/include/wx/sckstrm.h b/include/wx/sckstrm.h index 0f05c8c3f7..e22c65baf4 100644 --- a/include/wx/sckstrm.h +++ b/include/wx/sckstrm.h @@ -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