#ifndef OSX_BLUETOOTH_H #define OSX_BLUETOOTH_H #include namespace trygvis { namespace bluetooth { namespace osx { class OsxBluetoothDevice; class OsxBluetoothAdapter : public DefaultBluetoothAdapter { public: OsxBluetoothAdapter(const string name, Mac &mac); ~OsxBluetoothAdapter(); void startScan() override; void stopScan() override; void runScan(std::function) override; BluetoothDevice &getDevice(Mac &mac) override; private: bool scanning; map devices; }; shared_ptr&& getAdapterImpl(); void shutdownImpl(); } } } #endif