/* * SPDX-FileCopyrightText: 2010 Alejandro Fiestas Olivares * SPDX-FileCopyrightText: 2010 Eduardo Robles Elvira * SPDX-FileCopyrightText: 2010 UFO Coders * SPDX-FileCopyrightText: 2014-2015 David Rosca * * SPDX-License-Identifier: GPL-2.0-or-later */ #pragma once #include class BluezAgent : public BluezQt::Agent { Q_OBJECT public: explicit BluezAgent(QObject *parent); QDBusObjectPath objectPath() const override; void authorizeService(BluezQt::DevicePtr device, const QString &uuid, const BluezQt::Request<> &request) override; void requestPinCode(BluezQt::DevicePtr device, const BluezQt::Request &request) override; void requestPasskey(BluezQt::DevicePtr device, const BluezQt::Request &request) override; void requestConfirmation(BluezQt::DevicePtr device, const QString &passkey, const BluezQt::Request<> &request) override; void requestAuthorization(BluezQt::DevicePtr device, const BluezQt::Request<> &request) override; void release() override; void cancel() override; Q_SIGNALS: void agentReleased(); void agentCanceled(); };