mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-23 06:08:07 +00:00
Add CallSession::getPreviousState() method.
This commit is contained in:
parent
969b78d7e2
commit
c8823c1023
2 changed files with 6 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue