aboutsummaryrefslogtreecommitdiff
path: root/cli/mmcli-common.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2017-10-18 23:17:25 +0200
committerAleksander Morgado <aleksander@aleksander.es>2017-11-03 11:55:04 +0100
commit4f0a796ece07f84790b09b13ea90a49aab1b61f1 (patch)
treed3429fa7775676adf5b3fda61b90d1811e0cc446 /cli/mmcli-common.h
parent6f9e2003e078022eea44a5a8dd075a96d6263fc9 (diff)
cli: port mmcli_get_call to GTask
Diffstat (limited to 'cli/mmcli-common.h')
-rw-r--r--cli/mmcli-common.h25
1 files changed, 12 insertions, 13 deletions
diff --git a/cli/mmcli-common.h b/cli/mmcli-common.h
index 530d855d..e3d96c0c 100644
--- a/cli/mmcli-common.h
+++ b/cli/mmcli-common.h
@@ -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);