Attica

platformdependent_v2.h
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;
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
The Attica namespace,.
KIOCORE_EXPORT TransferJob * put(const QUrl &url, int permissions, JobFlags flags=DefaultFlags)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:36 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.