summaryrefslogtreecommitdiff
path: root/src/mm-generic-gsm.h
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2014-02-05 08:38:27 +0100
committerGuido Günther <agx@sigxcpu.org>2014-02-05 08:38:27 +0100
commit14d771b90f5a7d3887e5e900d1fb4737477ad305 (patch)
treef382e3359d20916ae60d28361e59635e373224f8 /src/mm-generic-gsm.h
parenta09050a7f63a262bf90dcb1c7a41f9cfd205db43 (diff)
Imported Upstream version 0.5.2.0upstream/0.5.2.0
Diffstat (limited to 'src/mm-generic-gsm.h')
-rw-r--r--src/mm-generic-gsm.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/mm-generic-gsm.h b/src/mm-generic-gsm.h
index 4238628..8f6d587 100644
--- a/src/mm-generic-gsm.h
+++ b/src/mm-generic-gsm.h
@@ -84,7 +84,15 @@ typedef struct {
* encountered during the process and the MMCallbackInfo created from the
* callback and user_data passed in here.
*/
- void (*do_enable) (MMGenericGsm *self, MMModemFn callback, gpointer user_data);
+ void (*do_enable) (MMGenericGsm *self,
+ MMModemFn callback,
+ gpointer user_data);
+
+ /* Called before issuing the power-up command, to check whether it should
+ * really be issued or not. */
+ void (*do_enable_power_up_check_needed) (MMGenericGsm *self,
+ MMModemUIntFn callback,
+ gpointer user_data);
/* Called after the generic class has attempted to power up the modem.
* Subclasses can handle errors here if they know the device supports their
@@ -137,6 +145,7 @@ typedef struct {
void (*get_sim_iccid) (MMGenericGsm *self,
MMModemStringFn callback,
gpointer user_data);
+
} MMGenericGsmClass;
GType mm_generic_gsm_get_type (void);