aboutsummaryrefslogtreecommitdiffstats
path: root/config/src/vespa/config/helper/ihandle.h
blob: 271b9f9051d95124277a5f4f706cc62240b3ce4d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once

#include <memory>

namespace config {

class ConfigInstance;

class IHandle
{
public:
    typedef std::unique_ptr<IHandle> UP;
    virtual std::unique_ptr<const ConfigInstance> getConfig() = 0;
    virtual bool isChanged() = 0;
    virtual ~IHandle() = default;
};

}