1/*
2 This file is part of KDE.
3
4 SPDX-FileCopyrightText: 2011 Laszlo Papp <djszapi@archlinux.us>
5
6 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
7*/
8
9#ifndef ATTICA_PLATFORMDEPENDENT_V2_H
10#define ATTICA_PLATFORMDEPENDENT_V2_H
11
12#include <QList>
13#include <QtPlugin>
14
15#include "attica_export.h"
16#include "platformdependent.h"
17
18class QByteArray;
19class QIODevice;
20class QNetworkAccessManager;
21class QNetworkReply;
22class QNetworkRequest;
23class QString;
24class QUrl;
25
26namespace Attica
27{
28class ATTICA_EXPORT PlatformDependentV2 : public PlatformDependent
29{
30public:
31 ~PlatformDependentV2() override;
32 virtual QNetworkReply *deleteResource(const QNetworkRequest &request) = 0;
33 virtual QNetworkReply *put(const QNetworkRequest &request, QIODevice *data) = 0;
34 virtual QNetworkReply *put(const QNetworkRequest &request, const QByteArray &data) = 0;
35};
36
37}
38
39Q_DECLARE_INTERFACE(Attica::PlatformDependentV2, "org.kde.Attica.InternalsV2/1.2")
40
41#endif
42

source code of attica/src/platformdependent_v2.h