diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-01-25 15:55:54 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-15 14:14:58 +0100 |
commit | c9c46b6f51fe756a3260018671627d9d2f98554e (patch) | |
tree | a6853f602aba5f235055ae5d66c85f09d3674441 /src/mm-iface-modem-messaging.h | |
parent | 52f1c87b06339250cd9cbfb267105cdb264ae73c (diff) |
iface-modem-messaging: check if modem has messaging capabilities
The interface won't be exported if the given check fails.
Diffstat (limited to 'src/mm-iface-modem-messaging.h')
-rw-r--r-- | src/mm-iface-modem-messaging.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mm-iface-modem-messaging.h b/src/mm-iface-modem-messaging.h index 7dbb8a2c..95527778 100644 --- a/src/mm-iface-modem-messaging.h +++ b/src/mm-iface-modem-messaging.h @@ -32,6 +32,14 @@ typedef struct _MMIfaceModemMessaging MMIfaceModemMessaging; struct _MMIfaceModemMessaging { GTypeInterface g_iface; + + /* Check for Messaging support (async) */ + void (* check_support) (MMIfaceModemMessaging *self, + GAsyncReadyCallback callback, + gpointer user_data); + gboolean (*check_support_finish) (MMIfaceModemMessaging *self, + GAsyncResult *res, + GError **error); }; GType mm_iface_modem_messaging_get_type (void); |