cli: port mmcli_get_call to GTask

This commit is contained in:
Aleksander Morgado
2017-11-03 11:55:04 +01:00
parent 6f9e2003e0
commit 4f0a796ece
2 changed files with 135 additions and 116 deletions
+12 -13
View File
@@ -83,19 +83,18 @@ MMSms *mmcli_get_sms_sync (GDBusConnection *connection,
MMManager **manager,
MMObject **object);
void mmcli_get_call (GDBusConnection *connection,
const gchar *path_or_index,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
MMCall *mmcli_get_call_finish (GAsyncResult *res,
MMManager **manager,
MMObject **object);
MMCall *mmcli_get_call_sync (GDBusConnection *connection,
const gchar *path_or_index,
MMManager **manager,
MMObject **object);
void mmcli_get_call (GDBusConnection *connection,
const gchar *path_or_index,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
MMCall *mmcli_get_call_finish (GAsyncResult *res,
MMManager **manager,
MMObject **object);
MMCall *mmcli_get_call_sync (GDBusConnection *connection,
const gchar *path_or_index,
MMManager **manager,
MMObject **object);
const gchar *mmcli_get_state_reason_string (MMModemStateChangeReason reason);