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