[go: nahoru, domu]

blob: 9d3deee3544b292fcf3fb316d8cbc8661208b9fa [file] [log] [blame]
// Copyright 2018 The Chromium Authors
// 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 "build/build_config.h"
#if !BUILDFLAG(IS_IOS)
#import <IOBluetooth/IOBluetooth.h>
#endif
namespace device {
class BluetoothLowEnergyAdapterApple;
class BluetoothLowEnergyAdvertisementManagerMac;
} // namespace device
@interface BluetoothLowEnergyPeripheralManagerDelegate
: NSObject<CBPeripheralManagerDelegate>
- (instancetype)
initWithAdvertisementManager:
(device::BluetoothLowEnergyAdvertisementManagerMac*)advertisementManager
andAdapter:
(device::BluetoothLowEnergyAdapterApple*)adapter;
@end
#endif // DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_PERIPHERAL_MANAGER_DELEGATE_H_