blob: 5b900d26d4db04c3fe71b8f06b6de1cb5876a31f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#pragma once
#include "json.hpp"
#include "entry.h"
#include <memory>
namespace entry {
class Feature : public Entry {
public:
static std::shared_ptr<Feature> create(const nlohmann::json& data);
virtual ~Feature() {}
protected:
Feature(const nlohmann::json& data) : Entry(data) {}
Feature(const std::string& entry, const std::string& name, const std::string& type, const std::string& text) : Entry(entry, name, type, text) {};
};
}
|