diff options
| author | Joel Klinghed <the_jk@yahoo.com> | 2017-03-16 23:28:09 +0100 |
|---|---|---|
| committer | Joel Klinghed <the_jk@yahoo.com> | 2017-03-16 23:38:19 +0100 |
| commit | 87774d8981ae7a079492d8949e205065ba72a8e4 (patch) | |
| tree | f056ffbdfb436143db1d968ffc7c82b1cb3d79a3 /src/buffer.hh | |
| parent | 719d90a40e83e870be19f8d46cc55caed618aa35 (diff) | |
Add basic console monitor and implement monitor support
Diffstat (limited to 'src/buffer.hh')
| -rw-r--r-- | src/buffer.hh | 2 |
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; |
