diff options
author | pixel <pixel> | 2007-09-17 08:33:25 +0000 |
---|---|---|
committer | pixel <pixel> | 2007-09-17 08:33:25 +0000 |
commit | 3fedf9f3fff7c8ceadd077fc7ed4eff4c4108026 (patch) | |
tree | a3e0948edad6bbfad7ff6fa68bdb1811a3bf653e /include | |
parent | f2411c886d3e3a7de7d56f16bf13569d260039a5 (diff) |
Adding "GetRemaining" to Buffer class, and enabling the read method to allow null buffers.
Diffstat (limited to 'include')
-rw-r--r-- | include/Buffer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/Buffer.h b/include/Buffer.h index 73225bc..47c5c5a 100644 --- a/include/Buffer.h +++ b/include/Buffer.h @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: Buffer.h,v 1.22 2007-06-23 15:36:02 pixel Exp $ */ +/* $Id: Buffer.h,v 1.23 2007-09-17 08:33:25 pixel Exp $ */ #ifndef __BUFFER_H__ #define __BUFFER_H__ @@ -43,6 +43,7 @@ class Buffer : public Handle { virtual Buffer operator=(const Buffer &); virtual bool CanWatch() const; virtual ssize_t GetSize() const; + virtual ssize_t GetRemaining() const; virtual bool CanSeek() const; virtual off_t seek(off_t, int = SEEK_SET) throw (GeneralException); virtual off_t tell() const; |