* Added wxsocket lib and sample (I hope I don't forget some file)
* Updated some wx data and makefiles * Updates on wxStream (reorganization) makefile for Windows will nearly follow wxSocket should work on wxGTK (I've tested it) * IPC over Network is included git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -26,6 +26,10 @@
|
||||
|
||||
#include "wx/datstrm.h"
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// wxDataInputStream
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
wxDataInputStream::wxDataInputStream(wxInputStream& s)
|
||||
: wxFilterInputStream(s)
|
||||
{
|
||||
@@ -126,6 +130,10 @@ wxString wxDataInputStream::ReadString()
|
||||
return wx_string;
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// wxDataOutputStream
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
wxDataOutputStream::wxDataOutputStream(wxOutputStream& s)
|
||||
: wxFilterOutputStream(s)
|
||||
{
|
||||
@@ -192,3 +200,12 @@ void wxDataOutputStream::WriteDouble(double d)
|
||||
#endif
|
||||
Write(buf, 10);
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// wxDataStream
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
wxDataStream::wxDataStream(wxStream& stream)
|
||||
: wxDataInputStream(stream), wxDataOutputStream(stream)
|
||||
{
|
||||
}
|
||||
|
Reference in New Issue
Block a user