From d0e356d09e30a11c1e072415a5088f829d5c0a04 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 16 Jan 2022 21:32:01 -0500 Subject: Worked on features --- src/features/feature.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/features/feature.h (limited to 'src/features/feature.h') 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 +#include "../entry.h" +#include + +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 create(const nlohmann::json& data); + virtual ~Feature() {} + }; +} -- cgit v1.2.3