blob: 446f628b3873a0fa636b2008090f0a36b3282051 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#pragma once
#include <qobjectdefs.h>
namespace Quotient {
Q_NAMESPACE
/** Enumeration with flags defining the network job running policy
* So far only background/foreground flags are available.
*
* \sa Connection::callApi, Connection::run
*/
enum RunningPolicy { ForegroundRequest = 0x0, BackgroundRequest = 0x1 };
Q_ENUM_NS(RunningPolicy)
enum UriResolveResult : short {
StillResolving = -1,
UriResolved = 0,
UnknownMatrixId,
MalformedUri,
NoAccount,
EmptyMatrixId
};
Q_ENUM_NS(UriResolveResult)
} // namespace Quotient
/// \deprecated Use namespace Quotient instead
namespace QMatrixClient = Quotient;
|