aboutsummaryrefslogtreecommitdiff
path: root/ui.qt/source/keyword.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ui.qt/source/keyword.hpp')
-rw-r--r--ui.qt/source/keyword.hpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/ui.qt/source/keyword.hpp b/ui.qt/source/keyword.hpp
new file mode 100644
index 0000000..bc50473
--- /dev/null
+++ b/ui.qt/source/keyword.hpp
@@ -0,0 +1,26 @@
+#pragma once
+
+#include "fwd.hpp"
+
+#include <QString>
+#include <vector>
+
+class Keyword
+{
+private:
+ QString name;
+ std::vector<KnowledgeId> associations;
+
+public:
+ Keyword(const QString& name);
+ ~Keyword();
+
+ Keyword(const Keyword&) = default;
+ Keyword& operator=(const Keyword&) = default;
+ Keyword(Keyword&&) = default;
+ Keyword& operator=(Keyword&&) = default;
+};
+
+class KeywordDatabase
+{
+};