From 17e62b85cae99d8485be44f90f0622e4ba843fa0 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Sun, 10 Jan 2021 23:26:57 +0100 Subject: Add more properties to CallCandidateEvent --- lib/events/callcandidatesevent.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'lib') 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 // SPDX-FileCopyrightText: 2018 Josip Delic // SPDX-FileCopyrightText: 2018 Kitsune Ral +// SPDX-FileCopyrightText: 2020 Carl Schwan // SPDX-License-Identifier: LGPL-2.1-or-later #pragma once @@ -26,6 +27,16 @@ public: { return content("candidates"_ls); } + + QString callId() const + { + return content("call_id"); + } + + int version() const + { + return content("version"); + } }; REGISTER_EVENT_TYPE(CallCandidatesEvent) -- cgit v1.2.3