aboutsummaryrefslogtreecommitdiff
path: root/src/mm-base-sim.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-11-20 22:11:49 +0100
committerAleksander Morgado <aleksander@aleksander.es>2021-12-11 12:53:37 +0100
commit83ebc2b4a8ba80bbd291aabb4ee9c9410cac71da (patch)
treeb47621a9f869c60d8d263117fbdac8f714948536 /src/mm-base-sim.h
parent8cfddef2be31556e4f11eebeed071d8d14c8337b (diff)
base-sim: new 'SimType', 'Removability' and 'EsimStatus' properties
We implement the methods to load the properties during SIM object initialization.
Diffstat (limited to 'src/mm-base-sim.h')
-rw-r--r--src/mm-base-sim.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/mm-base-sim.h b/src/mm-base-sim.h
index 6f6418c9..8eb393f7 100644
--- a/src/mm-base-sim.h
+++ b/src/mm-base-sim.h
@@ -116,6 +116,30 @@ struct _MMBaseSimClass {
GAsyncResult *res,
GError **error);
+ /* Load sim type (async) */
+ void (* load_sim_type) (MMBaseSim *self,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+ MMSimType (* load_sim_type_finish) (MMBaseSim *self,
+ GAsyncResult *res,
+ GError **error);
+
+ /* Load esim status (async) */
+ void (* load_esim_status) (MMBaseSim *self,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+ MMSimEsimStatus (* load_esim_status_finish) (MMBaseSim *self,
+ GAsyncResult *res,
+ GError **error);
+
+ /* Load removabilitu (async) */
+ void (* load_removability) (MMBaseSim *self,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+ MMSimRemovability (* load_removability_finish) (MMBaseSim *self,
+ GAsyncResult *res,
+ GError **error);
+
/* Change PIN (async) */
void (* change_pin) (MMBaseSim *self,
const gchar *old_pin,