aboutsummaryrefslogtreecommitdiff
path: root/src/mm-modem-base.h
diff options
context:
space:
mode:
authorNorbert Frese <nf2.email@gmail.com>2010-01-31 11:06:55 -0800
committerDan Williams <dcbw@redhat.com>2010-01-31 11:06:55 -0800
commit3d0f2ecf126734e96ad1f18d7e069ded3711b9f8 (patch)
treea9a58264458560723d2a5afd9cb5cd84ccabf827 /src/mm-modem-base.h
parent649b7e25a038cd6df735b2558bf22ee9d379924b (diff)
core: add an UnlockRequired property that provides lock status (bgo #604551)
Clients can check the property to determine lock/unlock status and thus unlock the modem before trying to connect if required. Bits of the patch by dcbw (see the bug).
Diffstat (limited to 'src/mm-modem-base.h')
-rw-r--r--src/mm-modem-base.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mm-modem-base.h b/src/mm-modem-base.h
index 9eb64ce0..9078f3f2 100644
--- a/src/mm-modem-base.h
+++ b/src/mm-modem-base.h
@@ -60,5 +60,8 @@ void mm_modem_base_set_valid (MMModemBase *self,
gboolean mm_modem_base_get_valid (MMModemBase *self);
+void mm_modem_base_set_unlock_required (MMModemBase *self,
+ const char *unlock_required);
+
#endif /* MM_MODEM_BASE_H */