blob: 5840ed3789944aaf7e8b292e39f1c0dbde7a0ba6 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_PERIPHERAL_MANAGER_DELEGATE_H_
#define DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_PERIPHERAL_MANAGER_DELEGATE_H_
#import <CoreBluetooth/CoreBluetooth.h>
#include "base/memory/ref_counted.h"
#include "build/build_config.h"
#if !defined(OS_IOS)
#import <IOBluetooth/IOBluetooth.h>
#endif
namespace device {
class BluetoothAdapterMac;
class BluetoothLowEnergyAdvertisementManagerMac;
} // namespace device
@interface BluetoothLowEnergyPeripheralManagerDelegate
: NSObject<CBPeripheralManagerDelegate>
- (instancetype)
initWithAdvertisementManager:
(device::BluetoothLowEnergyAdvertisementManagerMac*)advertisementManager
andAdapter:(device::BluetoothAdapterMac*)adapter;
@end
#endif // DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_PERIPHERAL_MANAGER_DELEGATE_H_