cli: port mmcli_get_sim to GTask

This commit is contained in:
Aleksander Morgado
2017-11-03 11:55:04 +01:00
parent 050eb46f51
commit 6f9e2003e0
2 changed files with 95 additions and 81 deletions
+12 -12
View File
@@ -57,18 +57,18 @@ MMBearer *mmcli_get_bearer_sync (GDBusConnection *connection,
MMManager **manager,
MMObject **object);
void mmcli_get_sim (GDBusConnection *connection,
const gchar *path_or_index,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
MMSim *mmcli_get_sim_finish (GAsyncResult *res,
MMManager **manager,
MMObject **object);
MMSim *mmcli_get_sim_sync (GDBusConnection *connection,
const gchar *path_or_index,
MMManager **manager,
MMObject **object);
void mmcli_get_sim (GDBusConnection *connection,
const gchar *path_or_index,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
MMSim *mmcli_get_sim_finish (GAsyncResult *res,
MMManager **manager,
MMObject **object);
MMSim *mmcli_get_sim_sync (GDBusConnection *connection,
const gchar *path_or_index,
MMManager **manager,
MMObject **object);
void mmcli_get_sms (GDBusConnection *connection,
const gchar *path_or_index,