From 4addb711c6a1a282b0a59bf03e850a86ba2ead69 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Sun, 8 Jan 2017 22:43:35 +0100 Subject: Initial --- manager.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 manager.h (limited to 'manager.h') diff --git a/manager.h b/manager.h new file mode 100644 index 0000000..eca83a1 --- /dev/null +++ b/manager.h @@ -0,0 +1,24 @@ +#pragma once + +#include + +#include "buffer.h" +#include "command.h" +#include "global.h" + +using namespace std; + + +class Manager{ + vector buffers; + i64 activeIdx; + bool should_quit=false; + +public: + Manager(); + + void receive(const Command &cmd); + void show(); + + int io(); +}; -- cgit v1.2.3-54-g00ecf