summaryrefslogtreecommitdiff
path: root/include/Buffer.h
diff options
context:
space:
mode:
authorPixel <Pixel>2001-12-08 13:57:52 +0000
committerPixel <Pixel>2001-12-08 13:57:52 +0000
commita83a43e57be59ed407d98f465d02953af5ae0160 (patch)
tree91aa1ea4a24e5b85ef26686828054e858cec21aa /include/Buffer.h
parentc54dfe9b844f6c5d8969669f5144e721e2af82b0 (diff)
*hum* some changes...
Diffstat (limited to 'include/Buffer.h')
-rw-r--r--include/Buffer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/Buffer.h b/include/Buffer.h
index 5b35139..cf6481f 100644
--- a/include/Buffer.h
+++ b/include/Buffer.h
@@ -21,9 +21,12 @@ class Buffer : public Handle {
virtual String GetName();
virtual Buffer operator=(const Buffer &);
virtual bool CanWatch();
+ virtual ssize_t GetSize();
+ char operator[](size_t) const;
+ char & operator[](size_t);
private:
- char * buffer;
+ char * buffer, zero;
int realsiz, bufsiz, ptr;
};