summaryrefslogtreecommitdiff
path: root/core/src/UI/States.hpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2021-03-29 13:47:55 -0700
committerrtk0c <[email protected]>2021-03-29 13:47:55 -0700
commit6032ae108064650324b2c45352e1baa5b36961cc (patch)
tree79ebd1df933ca9c3d8de4a5a537fffeadf7a6c9b /core/src/UI/States.hpp
parent2d7e772909571676dd4266337d43086bd2927e93 (diff)
Project tab
Diffstat (limited to 'core/src/UI/States.hpp')
-rw-r--r--core/src/UI/States.hpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/core/src/UI/States.hpp b/core/src/UI/States.hpp
new file mode 100644
index 0000000..d1c1faf
--- /dev/null
+++ b/core/src/UI/States.hpp
@@ -0,0 +1,14 @@
+#pragma once
+
+#include "cplt_fwd.hpp"
+
+#include <memory>
+
+class UIState {
+public:
+ static void Init();
+ static UIState& GetInstance();
+
+public:
+ std::unique_ptr<Project> CurrentProject;
+};