kdeconnect-kde/core/backends/bluetooth/bluetoothdownloadjob.h
Albert Vaca Cintora 942aa2a170
Fix warning
2024-09-09 13:29:16 +02:00

34 lines
818 B
C++

/*
* SPDX-FileCopyrightText: 2016 Saikrishna Arcot <saiarcot895@gmail.com>
*
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
#ifndef BLUETOOTHDOWNLOADJOB_H
#define BLUETOOTHDOWNLOADJOB_H
#include <QBluetoothAddress>
#include <QBluetoothSocket>
#include <QBluetoothUuid>
#include <QIODevice>
#include <QSharedPointer>
#include <QThread>
#include <QVariantMap>
class ConnectionMultiplexer;
class MultiplexChannel;
class BluetoothDownloadJob : public QObject
{
Q_OBJECT
public:
explicit BluetoothDownloadJob(ConnectionMultiplexer *connection, const QVariantMap &transferInfo, QObject *parent = nullptr);
QSharedPointer<QIODevice> payload() const;
void start();
private:
QSharedPointer<MultiplexChannel> mSocket;
};
#endif // BLUETOOTHDOWNLOADJOB_H