aboutsummaryrefslogtreecommitdiff
path: root/cli/mmcli-common.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2011-12-09 15:45:26 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-03-15 14:14:33 +0100
commit6a3e91ee836cb5145485468e0f0f281a08742c84 (patch)
treed5c265346965d6a2a3e0d3450df7f8db5c0a9e62 /cli/mmcli-common.h
parent7acacbbfd76bb59f0e0b370b66cb283ddeb5bbd4 (diff)
cli: use the new libmm-glib API fixes
Diffstat (limited to 'cli/mmcli-common.h')
-rw-r--r--cli/mmcli-common.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/cli/mmcli-common.h b/cli/mmcli-common.h
index 42e2a84e..51366265 100644
--- a/cli/mmcli-common.h
+++ b/cli/mmcli-common.h
@@ -27,13 +27,16 @@ MMManager *mmcli_get_manager_finish (GAsyncResult *res);
MMManager *mmcli_get_manager_sync (GDBusConnection *connection);
-void mmcli_get_modem (GDBusConnection *connection,
- const gchar *modem_str,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data);
-MMModem *mmcli_get_modem_finish (GAsyncResult *res);
-MMModem *mmcli_get_modem_sync (GDBusConnection *connection,
- const gchar *modem_str);
+void mmcli_get_modem (GDBusConnection *connection,
+ const gchar *modem_str,
+ GCancellable *cancellable,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+MMObject *mmcli_get_modem_finish (GAsyncResult *res);
+MMObject *mmcli_get_modem_sync (GDBusConnection *connection,
+ const gchar *modem_str);
+
+const gchar *mmcli_get_state_string (MMModemState state);
+const gchar *mmcli_get_state_reason_string (MMModemStateChangeReason reason);
#endif /* _MMCLI_COMMON_H_ */