base-sim: new 'SimType', 'Removability' and 'EsimStatus' properties

We implement the methods to load the properties during SIM object
initialization.
This commit is contained in:
Aleksander Morgado
2021-12-11 12:53:37 +01:00
parent 8cfddef2be
commit 83ebc2b4a8
2 changed files with 90 additions and 0 deletions
+24
View File
@@ -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,