aboutsummaryrefslogtreecommitdiff
path: root/ui.qt/src/Keyword.hpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-07-01 18:12:31 +0000
committerrtk0c <[email protected]>2022-07-01 18:12:31 +0000
commitb992ae0fa4d792002ffae10a9ef893ef4fa42ac4 (patch)
treeb3bfd176df672eefd9a6a627bfeddd03f22cf458 /ui.qt/src/Keyword.hpp
parentfa744c91b0b15d5978e915816e712e388ead7e64 (diff)
Convert hardcoding files in CMakeLists.txt to file(GLOB)
git-svn-id: file:///home/arch/svn/epistmool/trunk@8 71f44415-077c-4ad7-a976-72ddbf76608f
Diffstat (limited to 'ui.qt/src/Keyword.hpp')
-rw-r--r--ui.qt/src/Keyword.hpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/ui.qt/src/Keyword.hpp b/ui.qt/src/Keyword.hpp
new file mode 100644
index 0000000..481b5bb
--- /dev/null
+++ b/ui.qt/src/Keyword.hpp
@@ -0,0 +1,26 @@
+#pragma once
+
+#include "fwd.hpp"
+
+#include <QString>
+#include <vector>
+
+class Keyword
+{
+private:
+ QString mName;
+ std::vector<KnowledgeId> mAssociations;
+
+public:
+ Keyword(const QString& name);
+ ~Keyword();
+
+ Keyword(const Keyword&) = default;
+ Keyword& operator=(const Keyword&) = default;
+ Keyword(Keyword&&) = default;
+ Keyword& operator=(Keyword&&) = default;
+};
+
+class KeywordDatabase
+{
+};