Coverage Report

Created: 2021-08-28 18:14

D:\git\skunkworks\herald-for-cpp\herald\include\herald\ble\ble_database_delegate.h
Line
Count
Source
1
//  Copyright 2020-2021 Herald Project Contributors
2
//  SPDX-License-Identifier: Apache-2.0
3
//
4
5
#ifndef HERALD_BLE_DATABASE_DELEGATE_H
6
#define HERALD_BLE_DATABASE_DELEGATE_H
7
8
#include "ble_device.h"
9
10
namespace herald {
11
namespace ble {
12
13
using namespace herald::datatype;
14
15
class BLEDatabaseDelegate {
16
public:
17
2
  BLEDatabaseDelegate() = default;
18
2
  virtual ~BLEDatabaseDelegate() = default;
19
20
  virtual void bleDatabaseDidCreate(const BLEDevice& device) = 0;
21
  
22
  virtual void bleDatabaseDidUpdate(const BLEDevice& device, const BLEDeviceAttribute attribute) = 0;
23
  
24
  virtual void bleDatabaseDidDelete(const BLEDevice& device) = 0;
25
};
26
27
} // end namespace
28
} // end namespace
29
30
#endif