summaryrefslogtreecommitdiffstats
path: root/src/core/config/ivalue.hh
blob: 088276a31318516a2697c6324fe757c2599cb6a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// SPDX-License-Identifier: BSD-2-Clause
// Copyright (c) 2025 Kirill Dmitrievich
// File: ivalue.hh
// Description: Base config value interface

#ifndef CORE_CONFIG_IVALUE_HH
#define CORE_CONFIG_IVALUE_HH
#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