Commit e6dbf094 authored by Alexandre Lision's avatar Alexandre Lision

client: add new LRC call states

Refs #69340

Change-Id: Iacd91688a0ee39661bac4d292b2ed462cf59efd4
parent 7d2a48b9
......@@ -133,6 +133,12 @@
Call::State state = CallModel::instance()->data(callIdx, (int)Call::Role::State).value<Call::State>();
switch (state) {
case Call::State::DIALING:
[stateLabel setStringValue:@"Dialing"];
break;
case Call::State::NEW:
[stateLabel setStringValue:@"New"];
break;
case Call::State::INITIALIZATION:
[stateLabel setStringValue:@"Initializing"];
break;
......@@ -151,10 +157,17 @@
case Call::State::OVER:
[stateLabel setStringValue:@"Finished"];
break;
case Call::State::ABORTED:
[stateLabel setStringValue:@"Aborted"];
break;
case Call::State::FAILURE:
[stateLabel setStringValue:@"Failure"];
break;
case Call::State::INCOMING:
[stateLabel setStringValue:@"Incoming"];
break;
default:
[stateLabel setStringValue:@""];
break;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment