aboutsummaryrefslogtreecommitdiffstats
path: root/configd/src/apps/sentinel/status-callback.h
blob: 54100277fdc74eee048f4a7e58522be5f9afe4cb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright Verizon Media. 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;
};

}