aboutsummaryrefslogtreecommitdiff
path: root/src/mm-call-list.h
diff options
context:
space:
mode:
authorJoel Selvaraj <jo@jsfamily.in>2021-07-18 02:07:04 +0530
committerAleksander Morgado <aleksander@aleksander.es>2021-08-02 13:11:29 +0000
commit82054410e2f1668e9418616c24f35a5b3c6826fe (patch)
tree4dcb8d640a16d345705439b4d1ec0140429a81e7 /src/mm-call-list.h
parent99ba7ee266965c1986b63a1083deaac23b220c33 (diff)
call-list: allow getting call object by index
Diffstat (limited to 'src/mm-call-list.h')
-rw-r--r--src/mm-call-list.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mm-call-list.h b/src/mm-call-list.h
index 1183129e..f77a5b37 100644
--- a/src/mm-call-list.h
+++ b/src/mm-call-list.h
@@ -68,6 +68,9 @@ void mm_call_list_add_call (MMCallList *self,
MMBaseCall *mm_call_list_get_call (MMCallList *self,
const gchar *call_path);
+MMBaseCall *mm_call_list_get_call_by_index (MMCallList *self,
+ guint8 index);
+
gboolean mm_call_list_delete_call (MMCallList *self,
const gchar *call_path,
GError **error);