diff options
Diffstat (limited to 'generic/Buffer.cpp')
-rw-r--r-- | generic/Buffer.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/Buffer.cpp b/generic/Buffer.cpp index 940b0a8..36c56a9 100644 --- a/generic/Buffer.cpp +++ b/generic/Buffer.cpp @@ -54,15 +54,15 @@ ssize_t Buffer::read(void *buf, size_t count) throw (GeneralException) { return count; } -bool Buffer::CanRead() { +bool Buffer::CanRead() const { return true; } -bool Buffer::CanWrite() { +bool Buffer::CanWrite() const { return true; } -String Buffer::GetName() { +String Buffer::GetName() const { return "Buffer"; } @@ -81,11 +81,11 @@ Buffer Buffer::operator=(const Buffer & b) { return *this; } -bool Buffer::CanWatch() { +bool Buffer::CanWatch() const { return false; } -ssize_t Buffer::GetSize() { +ssize_t Buffer::GetSize() const { return realsiz; } |