From c644379e79262a7478a7fb9ea8001f315fdb6eaf Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 28 Mar 2024 16:18:36 -0400 Subject: Initial commit --- src/ui.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/ui.h (limited to 'src/ui.h') diff --git a/src/ui.h b/src/ui.h new file mode 100644 index 0000000..daeab78 --- /dev/null +++ b/src/ui.h @@ -0,0 +1,22 @@ +#pragma once +#include +#include +#include "ui_terminal.h" +#include "vm.h" + +namespace ui { + struct uiImpl; + + class UI { + public: + UI(); + ~UI(); + + void registerCallbacks(vm::VM& vm); + + private: + std::shared_ptr data; + std::map)>> getCommandCallbacks(WINDOW *window); + }; + +} -- cgit v1.2.3