Coverage Report

Created: 2021-08-28 18:14

D:\git\skunkworks\herald-for-cpp\herald\include\herald\ble\bluetooth_state_manager.h
Line
Count
Source
1
//  Copyright 2020-2021 Herald Project Contributors
2
//  SPDX-License-Identifier: Apache-2.0
3
//
4
5
#ifndef HERALD_BLUETOOTH_STATE_MANAGER_H
6
#define HERALD_BLUETOOTH_STATE_MANAGER_H
7
8
#include "../datatype/bluetooth_state.h"
9
#include "bluetooth_state_manager_delegate.h"
10
11
#include <memory>
12
13
namespace herald {
14
namespace ble {
15
16
using namespace herald::datatype;
17
18
// Tagging interface
19
class BluetoothStateManager {
20
public:
21
21
  BluetoothStateManager() = default;
22
21
  virtual ~BluetoothStateManager() = default;
23
24
  virtual void add(BluetoothStateManagerDelegate& delegate) = 0;
25
  virtual BluetoothState state() = 0;
26
};
27
28
} // end namespace
29
} // end namespace
30
31
#endif