diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-01 00:22:22 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-16 14:53:19 +0100 |
commit | 3ccc78e8588acec9632863d30e310cdc76ad8598 (patch) | |
tree | dbf0d5777866b07d571d2167d350e7385677a463 /src/mm-iface-modem.h | |
parent | 036711eb1cea191e7acc3c3858eebef850238fa6 (diff) |
api: `UnlockRetries' will reply a list of per-lock retry counts
Equivalent to `PinRetryCount' in the previous API. We don't have an additional
property for the retry count of the current lock, as it really is duplicating
information.
Diffstat (limited to 'src/mm-iface-modem.h')
-rw-r--r-- | src/mm-iface-modem.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/src/mm-iface-modem.h b/src/mm-iface-modem.h index b5ea7a00..e6e9d7db 100644 --- a/src/mm-iface-modem.h +++ b/src/mm-iface-modem.h @@ -19,6 +19,8 @@ #include <glib-object.h> #include <gio/gio.h> +#include <libmm-common.h> + #include "mm-charsets.h" #include "mm-at-serial-port.h" #include "mm-bearer.h" @@ -108,9 +110,9 @@ struct _MMIfaceModem { void (*load_unlock_retries) (MMIfaceModem *self, GAsyncReadyCallback callback, gpointer user_data); - MMModemLock (*load_unlock_retries_finish) (MMIfaceModem *self, - GAsyncResult *res, - GError **error); + MMUnlockRetries * (*load_unlock_retries_finish) (MMIfaceModem *self, + GAsyncResult *res, + GError **error); /* Loading of the SupportedModes property */ void (*load_supported_modes) (MMIfaceModem *self, @@ -335,6 +337,14 @@ MMModemLock mm_iface_modem_unlock_check_finish (MMIfaceModem *self, GAsyncResult *res, GError **error); +/* Check unlock retries */ +void mm_iface_modem_update_unlock_retries (MMIfaceModem *self, + GAsyncReadyCallback callback, + gpointer user_data); +gboolean mm_iface_modem_update_unlock_retries_finish (MMIfaceModem *self, + GAsyncResult *res, + GError **error); + /* Request signal quality check update. * It will not only return the signal quality status, but also set the property * values in the DBus interface. */ |