summaryrefslogtreecommitdiff
path: root/src/buffer.hh
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@yahoo.com>2017-03-16 23:28:09 +0100
committerJoel Klinghed <the_jk@yahoo.com>2017-03-16 23:38:19 +0100
commit87774d8981ae7a079492d8949e205065ba72a8e4 (patch)
treef056ffbdfb436143db1d968ffc7c82b1cb3d79a3 /src/buffer.hh
parent719d90a40e83e870be19f8d46cc55caed618aa35 (diff)
Add basic console monitor and implement monitor support
Diffstat (limited to 'src/buffer.hh')
-rw-r--r--src/buffer.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/buffer.hh b/src/buffer.hh
index 92a7566..a648924 100644
--- a/src/buffer.hh
+++ b/src/buffer.hh
@@ -22,6 +22,8 @@ public:
size_t read(void* data, size_t max);
void write(void const* data, size_t size);
+ void clear();
+
protected:
Buffer() {}
Buffer(Buffer const&) = delete;