ui-call-data: Provide API to get the name of the origin used

This will be used as a fallback when displaying the call details (see #222).
This commit is contained in:
Evangelos Ribeiro Tzaras
2022-02-10 10:12:16 +01:00
parent d24d1c8c59
commit 7e538d736e
4 changed files with 55 additions and 26 deletions

View File

@@ -64,6 +64,8 @@ GListModel *calls_manager_get_origins (CallsManager *sel
GList *calls_manager_get_calls (CallsManager *self);
GListModel *calls_manager_get_suitable_origins (CallsManager *self,
const char *target);
CallsOrigin *calls_manager_get_origin_by_id (CallsManager *self,
const char *origin_id);
const gchar *calls_manager_get_contact_name (CallsCall *call);
gboolean calls_manager_has_active_call (CallsManager *self);
void calls_manager_hang_up_all_calls (CallsManager *self);