herald  2.0.0
ble_database_delegate.h
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 
16 public:
17  BLEDatabaseDelegate() = default;
18  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
Definition: ble_database_delegate.h:15
Definition: ble_device.h:181
Contains all low-level Herald datatype implementations.
Definition: base64_string.h:14
Acts as a non-global memory arena for arbitrary classes.
Definition: aggregates.h:15