blob: 209a30a519c189d1652cb603aef1d216c6dfc88d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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() {}
};
}
|