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 <utility> 0010 0011 #include <QNetworkReply> 0012 #include <QObject> 0013 #include <QString> 0014 #include <QVector> 0015 0016 #include "sync/gpodder/genericrequest.h" 0017 #include "sync/syncutils.h" 0018 0019 class UploadSubscriptionRequest : public GenericRequest 0020 { 0021 Q_OBJECT 0022 0023 public: 0024 UploadSubscriptionRequest(SyncUtils::Provider provider, QNetworkReply *reply, QObject *parent); 0025 0026 QVector<std::pair<QString, QString>> updateUrls() const; 0027 qulonglong timestamp() const; 0028 0029 private: 0030 void processResults() override; 0031 0032 QVector<std::pair<QString, QString>> m_updateUrls; 0033 qulonglong m_timestamp = 0; 0034 };