diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2007-04-26 15:06:49 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2007-04-26 15:06:49 +0000 |
| commit | 530014a3cce53e86dce8917e98a4e86d02f176aa (patch) | |
| tree | c667c996fb91692b101f75296206b8420f19bf73 /src/socket.h | |
| parent | 066282ae6de25cf92780dbdaa2fd70a033e95659 (diff) | |
| download | libbu++-530014a3cce53e86dce8917e98a4e86d02f176aa.tar.gz libbu++-530014a3cce53e86dce8917e98a4e86d02f176aa.tar.bz2 libbu++-530014a3cce53e86dce8917e98a4e86d02f176aa.tar.xz libbu++-530014a3cce53e86dce8917e98a4e86d02f176aa.zip | |
Merged Ito and put it in the BU namespace. I should probably clean up the
formatting on the comments, some of the lines wrap, but I'm not too worried
about it right now. I also fixed up the doxygen config and build.conf files
so that everything is building nice and smooth now.
Diffstat (limited to 'src/socket.h')
| -rw-r--r-- | src/socket.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/socket.h b/src/socket.h index 3d0125d..568cad6 100644 --- a/src/socket.h +++ b/src/socket.h | |||
| @@ -19,7 +19,7 @@ namespace Bu | |||
| 19 | virtual ~Socket(); | 19 | virtual ~Socket(); |
| 20 | 20 | ||
| 21 | virtual void close(); | 21 | virtual void close(); |
| 22 | virtual void read(); | 22 | //virtual void read(); |
| 23 | virtual size_t read( void *pBuf, size_t nBytes ); | 23 | virtual size_t read( void *pBuf, size_t nBytes ); |
| 24 | virtual size_t write( const void *pBuf, size_t nBytes ); | 24 | virtual size_t write( const void *pBuf, size_t nBytes ); |
| 25 | 25 | ||
| @@ -33,6 +33,8 @@ namespace Bu | |||
| 33 | virtual bool canWrite(); | 33 | virtual bool canWrite(); |
| 34 | virtual bool canSeek(); | 34 | virtual bool canSeek(); |
| 35 | 35 | ||
| 36 | |||
| 37 | |||
| 36 | private: | 38 | private: |
| 37 | int nSocket; | 39 | int nSocket; |
| 38 | bool bActive; | 40 | bool bActive; |
