aboutsummaryrefslogtreecommitdiffstats
path: root/configd/src/apps/sentinel/status-callback.h
blob: f9218007b9d4ab9917a6010708080308b4696ae8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

namespace config::sentinel {

/** very simple callback API with "ok" or "not ok" status only */
struct StatusCallback {
    virtual void returnStatus(bool ok) = 0;
protected:
    ~StatusCallback() = default;
};

}