aboutsummaryrefslogtreecommitdiff
path: root/src/features/feature.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/features/feature.h')
-rw-r--r--src/features/feature.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/features/feature.h b/src/features/feature.h
new file mode 100644
index 0000000..209a30a
--- /dev/null
+++ b/src/features/feature.h
@@ -0,0 +1,14 @@
+#pragma once
+#include <nlohmann/json.hpp>
+#include "../entry.h"
+#include <memory>
+
+namespace entry {
+ class Feature : public Entry {
+ public:
+ Feature() {}
+ Feature(const std::string& name, const std::string& type, const std::string& text) : Entry("feature", name, type, text) {}
+ static std::shared_ptr<Feature> create(const nlohmann::json& data);
+ virtual ~Feature() {}
+ };
+}