aboutsummaryrefslogtreecommitdiffstats
path: root/config/src/vespa/config/helper/ihandle.h
blob: a7f2134f84ab0a63be3a0bf7e33e7a53ca862233 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright Vespa.ai. 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;
};

}