blob: 44541b42f64f7577d024ed91c843af4dfff062a9 (
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 ResourceResolveResult : short {
StillResolving = -1,
Resolved = 0,
UnknownMatrixId,
MalformedMatrixId,
NoAccount,
EmptyMatrixId
};
Q_ENUM_NS(ResourceResolveResult)
} // namespace Quotient
/// \deprecated Use namespace Quotient instead
namespace QMatrixClient = Quotient;
|