libQuotient
A Qt library for building matrix clients
Loading...
Searching...
No Matches
mxcreply.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Tobias Fella <fella@posteo.de>
2
// SPDX-License-Identifier: LGPL-2.1-or-later
3
4
#
pragma
once
5
6
#
include
"util.h"
7
8
#
include
"events/filesourceinfo.h"
9
10
#
include
<
QtNetwork
/
QNetworkReply
>
11
12
namespace
Quotient
{
13
class
QUOTIENT_API
MxcReply
:
public
QNetworkReply
14
{
15
Q_OBJECT
16
public
:
17
explicit
MxcReply
();
18
explicit
MxcReply
(
QNetworkReply
*
reply
,
19
const
EncryptedFileMetadata
&
fileMetadata
);
20
21
qint64
bytesAvailable
()
const
override
;
22
23
public
Q_SLOTS
:
24
void
abort
()
override
;
25
26
protected
:
27
qint64
readData
(
char
*
data
,
qint64
maxlen
)
override
;
28
29
private
:
30
class
Private
;
31
ImplPtr
<
Private
>
d
;
32
};
33
}
Quotient::MxcReply
Definition
mxcreply.h:14
Quotient
Definition
accountregistry.h:13
QUOTIENT_API
#define QUOTIENT_API
Definition
quotient_export.h:22
Quotient
mxcreply.h
Generated by
1.9.8