summaryrefslogtreecommitdiff
path: root/includes/Buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/Buffer.h')
-rw-r--r--includes/Buffer.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/includes/Buffer.h b/includes/Buffer.h
index 79d0e02..dc4d768 100644
--- a/includes/Buffer.h
+++ b/includes/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);