summaryrefslogtreecommitdiff
path: root/manager.h
blob: eca83a1aa9a6624be4a19b5ad9fdf7e1b480f31a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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();
};