File indexing completed on 2025-01-05 04:29:53
0001 /** 0002 * SPDX-FileCopyrightText: 2021 Bart De Vries <bart@mogwai.be> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0005 */ 0006 0007 #pragma once 0008 0009 #include <QNetworkReply> 0010 #include <QObject> 0011 0012 #include "sync/gpodder/genericrequest.h" 0013 #include "sync/syncutils.h" 0014 0015 class UpdateDeviceRequest : public GenericRequest 0016 { 0017 Q_OBJECT 0018 0019 public: 0020 UpdateDeviceRequest(SyncUtils::Provider provider, QNetworkReply *reply, QObject *parent); 0021 0022 bool success() const; 0023 0024 private: 0025 void processResults() override; 0026 0027 bool m_success = false; 0028 };