Globals.h 540 Bytes
Newer Older
1
2
3
namespace RingClientUWP
{
/* public enumerations. */
4
5
public enum class CallStatus {
    NONE,
Nicolas Jager's avatar
Nicolas Jager committed
6
    OUTGOING_REQUESTED,
7
8
9
    INCOMING_RINGING,
    OUTGOING_RINGING,
    SEARCHING,
10
11
    IN_PROGRESS,
    PAUSED,
12
    PEER_PAUSED,
13
    ENDED,
14
15
    TERMINATING
};
16

Nicolas Jager's avatar
Nicolas Jager committed
17
18
19
20
21
22
23
public enum class LookupStatus {
    SUCCESS,
    INVALID_NAME,
    NOT_FOUND,
    ERRORR // one cannot simply use ERROR
};

Nicolas Jager's avatar
Nicolas Jager committed
24
25
26
27
28
public enum class ContactStatus {
    WAITING_FOR_ACTIVATION, // waiting for lookup
    READY
};

Nicolas Jager's avatar
Nicolas Jager committed
29
constexpr bool DEBUG_ON = false;
30
}