File indexing completed on 2024-04-28 03:52:07

0001 /*
0002  * SPDX-FileCopyrightText: 2010 Rafael Fernández López <ereslibre@kde.org>
0003  * SPDX-FileCopyrightText: 2010 UFO Coders <info@ufocoders.com>
0004  * SPDX-FileCopyrightText: 2014-2015 David Rosca <nowrep@gmail.com>
0005  *
0006  * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0007  */
0008 
0009 #ifndef DEVICERECEIVERTEST_H
0010 #define DEVICERECEIVERTEST_H
0011 
0012 #include <QObject>
0013 
0014 #include "manager.h"
0015 
0016 class DeviceReceiver : public QObject
0017 {
0018     Q_OBJECT
0019 
0020 public:
0021     explicit DeviceReceiver(QObject *parent = nullptr);
0022 
0023     void scanDevices();
0024 
0025 public Q_SLOTS:
0026     void deviceFound(const BluezQt::DevicePtr &device);
0027     void devicePropertyChanged(const BluezQt::DevicePtr &device);
0028     void adapterAdded(const BluezQt::AdapterPtr &adapter);
0029 };
0030 
0031 #endif // DEVICERECEIVERTEST_H