summaryrefslogtreecommitdiffstats
path: root/core/config/ivalue.hh
blob: 97d87dc542916615eb2a2d154ebd77d2b6a5c98a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef CORE_CONFIG_IVALUE_HH
#define CORE_CONFIG_IVALUE_HH 1
#pragma once

namespace config
{
class IValue {
public:
    virtual ~IValue(void) = default;
    virtual void set(std::string_view value) = 0;
    virtual std::string_view get(void) const = 0;
};
} // namespace config

#endif // CORE_CONFIG_IVALUE_HH