Commit c8823c10 authored by Ghislain MARY's avatar Ghislain MARY

Add CallSession::getPreviousState() method.

parent 969b78d7
......@@ -1297,6 +1297,11 @@ CallSession::State CallSession::getState () const {
return d->state;
}
CallSession::State CallSession::getPreviousState () const {
L_D();
return d->prevState;
}
const Address& CallSession::getToAddress () const {
L_D();
d->toAddress = Address(d->op->get_to());
......
......@@ -103,6 +103,7 @@ public:
protected:
explicit CallSession (CallSessionPrivate &p, const std::shared_ptr<Core> &core);
CallSession::State getPreviousState () const;
private:
L_DECLARE_PRIVATE(CallSession);
......
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