summaryrefslogtreecommitdiff
path: root/src/ManagerThread.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-03-17 15:53:45 +0100
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-03-17 16:19:10 +0100
commitcf51ab71a25cbb60ebcf13edd4b7413c23264128 (patch)
tree18b649470346c8815a156b5599ee7be1c4135a79 /src/ManagerThread.hpp
parent52090853dafb75dd99969a0cecdd291c109210f8 (diff)
input basics
Diffstat (limited to 'src/ManagerThread.hpp')
-rw-r--r--src/ManagerThread.hpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/ManagerThread.hpp b/src/ManagerThread.hpp
new file mode 100644
index 00000000..80856fe4
--- /dev/null
+++ b/src/ManagerThread.hpp
@@ -0,0 +1,19 @@
+#pragma once
+
+#include "defines.hpp"
+#include <thread>
+#include "Compositor.hpp"
+
+class CManagerThread {
+public:
+ CManagerThread();
+ ~CManagerThread();
+
+private:
+
+ void handle();
+
+ std::thread* m_tMainThread;
+};
+
+inline std::unique_ptr<CManagerThread> g_pManagerThread; \ No newline at end of file