aboutsummaryrefslogtreecommitdiff
path: root/src/mm-iface-modem-voice.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2019-07-02 10:56:18 +0200
committerAleksander Morgado <aleksander@aleksander.es>2019-07-11 23:21:00 +0200
commit55e37a6836a358e60a67b0aff3dfea77c1c78f30 (patch)
tree66638e1f1a156cc1e3d4f3ea961b1781aeec82c1 /src/mm-iface-modem-voice.h
parent86aeb84f950c3b3e3be63c8920e63877a9c622f2 (diff)
iface-modem-voice: allow reporting state updates of any single call
Instead of providing a method to exclusively provide incoming call updates, make it more generic so that we allow plugins to provide state updates for any kind of call, not just incoming ones. The logic to match the call info provided by URCs is updated so that it can be reused also by the single call reports, in addition to the full call list reports.
Diffstat (limited to 'src/mm-iface-modem-voice.h')
-rw-r--r--src/mm-iface-modem-voice.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mm-iface-modem-voice.h b/src/mm-iface-modem-voice.h
index 7cc82601..0e91d7c7 100644
--- a/src/mm-iface-modem-voice.h
+++ b/src/mm-iface-modem-voice.h
@@ -194,10 +194,9 @@ void mm_iface_modem_voice_shutdown (MMIfaceModemVoice *self);
void mm_iface_modem_voice_bind_simple_status (MMIfaceModemVoice *self,
MMSimpleStatus *status);
-/* Incoming call reporting */
-void mm_iface_modem_voice_report_incoming_call (MMIfaceModemVoice *self,
- const gchar *number,
- MMCallState state);
+/* Single call info reporting */
+void mm_iface_modem_voice_report_call (MMIfaceModemVoice *self,
+ const MMCallInfo *call_info);
/* Full current call list reporting (MMCallInfo list) */
void mm_iface_modem_voice_report_all_calls (MMIfaceModemVoice *self,