aboutsummaryrefslogtreecommitdiff
path: root/ui.qt/src/KnowledgeFragment.cpp
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/KnowledgeFragment.cpp
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/KnowledgeFragment.cpp')
-rw-r--r--ui.qt/src/KnowledgeFragment.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/ui.qt/src/KnowledgeFragment.cpp b/ui.qt/src/KnowledgeFragment.cpp
new file mode 100644
index 0000000..3d08f6e
--- /dev/null
+++ b/ui.qt/src/KnowledgeFragment.cpp
@@ -0,0 +1,11 @@
+#include "KnowledgeFragment.hpp"
+
+KnowledgeFragment::KnowledgeFragment(KnowledgeId id)
+ : mId{ id }
+{
+}
+
+KnowledgeId KnowledgeFragment::getId() const
+{
+ return mId;
+}