summaryrefslogtreecommitdiff
path: root/core/src/Model/Project.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/Model/Project.hpp
parent2d7e772909571676dd4266337d43086bd2927e93 (diff)
Project tab
Diffstat (limited to 'core/src/Model/Project.hpp')
-rw-r--r--core/src/Model/Project.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/core/src/Model/Project.hpp b/core/src/Model/Project.hpp
new file mode 100644
index 0000000..34ae1d7
--- /dev/null
+++ b/core/src/Model/Project.hpp
@@ -0,0 +1,17 @@
+#pragma once
+
+#include <filesystem>
+#include <string>
+
+class Project {
+public:
+ std::filesystem::path mRootPath;
+ std::string mName;
+
+public:
+ // Path to a *directory* that contains the project file.
+ const std::filesystem::path& GetPath() const;
+
+ const std::string& GetName() const;
+ void SetName(std::string name);
+};