aboutsummaryrefslogtreecommitdiff
path: root/ui.qt/source/knowledgefragment.cpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-06-27 00:09:44 +0000
committerrtk0c <[email protected]>2022-06-27 00:09:44 +0000
commit753c26d320e894069157bd401f7779ad07073d7c (patch)
tree8dc49b0b68285396c6b619db6c1443b1ecc5abd5 /ui.qt/source/knowledgefragment.cpp
parent21aa12d231ab70529322bab325df8293da63dc8d (diff)
(From git) Initial Qt GUI setup
git-svn-id: file:///home/arch/svn/epistmool/trunk@2 71f44415-077c-4ad7-a976-72ddbf76608f
Diffstat (limited to 'ui.qt/source/knowledgefragment.cpp')
-rw-r--r--ui.qt/source/knowledgefragment.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/ui.qt/source/knowledgefragment.cpp b/ui.qt/source/knowledgefragment.cpp
new file mode 100644
index 0000000..4db09e7
--- /dev/null
+++ b/ui.qt/source/knowledgefragment.cpp
@@ -0,0 +1,11 @@
+#include "knowledgefragment.hpp"
+
+KnowledgeFragment::KnowledgeFragment(KnowledgeId id)
+ : id{ id }
+{
+}
+
+KnowledgeId KnowledgeFragment::getId() const
+{
+ return id;
+}