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/vm.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/vm.h (limited to 'src/vm.h') diff --git a/src/vm.h b/src/vm.h new file mode 100644 index 0000000..a959511 --- /dev/null +++ b/src/vm.h @@ -0,0 +1,25 @@ +#pragma once +#include +#include +#include + +namespace vm { + struct vmImpl; + + void clearAllVMs(); + + class VM { + public: + VM(); + ~VM(); + + int start(std::string config); + void stop(); + + void connect(std::function receiver, std::function sender); + + private: + std::shared_ptr data; + }; + +} -- cgit v1.2.3