diff options
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. */ |