summaryrefslogtreecommitdiff
path: root/manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'manager.h')
-rw-r--r--manager.h24
1 files changed, 24 insertions, 0 deletions
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 <vector>
+
+#include "buffer.h"
+#include "command.h"
+#include "global.h"
+
+using namespace std;
+
+
+class Manager{
+ vector<Buffer> buffers;
+ i64 activeIdx;
+ bool should_quit=false;
+
+public:
+ Manager();
+
+ void receive(const Command &cmd);
+ void show();
+
+ int io();
+};