aboutsummaryrefslogtreecommitdiff
path: root/src/feature.h
blob: 69112ea6773d7448665e1a9bfc6c89a0ca6d10d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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) {}
    };
}