diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/events/callcandidatesevent.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/events/callcandidatesevent.h b/lib/events/callcandidatesevent.h index b9de7556..c2ccac3b 100644 --- a/lib/events/callcandidatesevent.h +++ b/lib/events/callcandidatesevent.h @@ -1,6 +1,7 @@ // SPDX-FileCopyrightText: 2017 Marius Gripsgard <marius@ubports.com> // SPDX-FileCopyrightText: 2018 Josip Delic <delijati@googlemail.com> // SPDX-FileCopyrightText: 2018 Kitsune Ral <Kitsune-Ral@users.sf.net> +// SPDX-FileCopyrightText: 2020 Carl Schwan <carlschwan@kde.org> // SPDX-License-Identifier: LGPL-2.1-or-later #pragma once @@ -26,6 +27,16 @@ public: { return content<QJsonArray>("candidates"_ls); } + + QString callId() const + { + return content<QString>("call_id"); + } + + int version() const + { + return content<int>("version"); + } }; REGISTER_EVENT_TYPE(CallCandidatesEvent) |