summaryrefslogtreecommitdiff
path: root/include/Buffer.h
diff options
context:
space:
mode:
authorpixel <pixel>2002-11-29 20:39:44 +0000
committerpixel <pixel>2002-11-29 20:39:44 +0000
commited0ed93bc9a64412c04a73938b04079cad95c4af (patch)
tree985cbfc9e800d0ee6d28ebb542d6ee79c9a4cc96 /include/Buffer.h
parenta69ef2131749e05bb43106d48139638de0144f69 (diff)
Yeah... reworking on it!
Diffstat (limited to 'include/Buffer.h')
-rw-r--r--include/Buffer.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/Buffer.h b/include/Buffer.h
index 79d0e02..dc4d768 100644
--- a/include/Buffer.h
+++ b/include/Buffer.h
@@ -17,12 +17,12 @@ class Buffer : public Handle {
virtual ~Buffer();
virtual ssize_t write(const void *buf, size_t count) throw(GeneralException);
virtual ssize_t read(void *buf, size_t count) throw (GeneralException);
- virtual bool CanRead();
- virtual bool CanWrite();
- virtual String GetName();
+ virtual bool CanRead() const;
+ virtual bool CanWrite() const;
+ virtual String GetName() const;
virtual Buffer operator=(const Buffer &);
- virtual bool CanWatch();
- virtual ssize_t GetSize();
+ virtual bool CanWatch() const;
+ virtual ssize_t GetSize() const;
char operator[](size_t) const;
char & operator[](size_t);