aboutsummaryrefslogtreecommitdiff
path: root/src/mm-sim.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-02-29 19:36:00 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-03-16 14:53:18 +0100
commita797d6d68382b546e8b6e22f4f533cc44a7ac7ee (patch)
treec81417129075f109f97009938a4851ce2de06e20 /src/mm-sim.h
parenteb87c2fe07e209d8226d3f3bcdbe1825fb7b6591 (diff)
sim: signal when the pin lock enabling status changes
Diffstat (limited to 'src/mm-sim.h')
-rw-r--r--src/mm-sim.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mm-sim.h b/src/mm-sim.h
index cba15c07..6ff875ff 100644
--- a/src/mm-sim.h
+++ b/src/mm-sim.h
@@ -35,10 +35,14 @@ typedef struct _MMSim MMSim;
typedef struct _MMSimClass MMSimClass;
typedef struct _MMSimPrivate MMSimPrivate;
+/* Properties */
#define MM_SIM_PATH "sim-path"
#define MM_SIM_CONNECTION "sim-connection"
#define MM_SIM_MODEM "sim-modem"
+/* Signals */
+#define MM_SIM_PIN_LOCK_ENABLED "pin-lock-enabled"
+
struct _MMSim {
MmGdbusSimSkeleton parent;
MMSimPrivate *priv;
@@ -117,6 +121,10 @@ struct _MMSimClass {
gboolean (* send_puk_finish) (MMSim *self,
GAsyncResult *res,
GError **error);
+
+ /* Signals */
+ void (*pin_lock_enabled) (MMSim *self,
+ gboolean enabled);
};
GType mm_sim_get_type (void);