diff options
Diffstat (limited to 'plugins/cinterion/mm-shared-cinterion.h')
-rw-r--r-- | plugins/cinterion/mm-shared-cinterion.h | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/plugins/cinterion/mm-shared-cinterion.h b/plugins/cinterion/mm-shared-cinterion.h index 52c154f3..c849b826 100644 --- a/plugins/cinterion/mm-shared-cinterion.h +++ b/plugins/cinterion/mm-shared-cinterion.h @@ -27,6 +27,7 @@ #include "mm-iface-modem.h" #include "mm-iface-modem-location.h" #include "mm-iface-modem-voice.h" +#include "mm-iface-modem-time.h" #define MM_TYPE_SHARED_CINTERION (mm_shared_cinterion_get_type ()) #define MM_SHARED_CINTERION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MM_TYPE_SHARED_CINTERION, MMSharedCinterion)) @@ -43,10 +44,16 @@ struct _MMSharedCinterion { /* Peek voice interface of the parent class of the object */ MMIfaceModemVoice * (* peek_parent_voice_interface) (MMSharedCinterion *self); + + /* Peek time interface of the parent class of the object */ + MMIfaceModemTime * (* peek_parent_time_interface) (MMSharedCinterion *self); }; GType mm_shared_cinterion_get_type (void); +/*****************************************************************************/ +/* Location interface */ + void mm_shared_cinterion_location_load_capabilities (MMIfaceModemLocation *self, GAsyncReadyCallback callback, gpointer user_data); @@ -71,7 +78,7 @@ gboolean mm_shared_cinterion_disable_location_gathering_finish (MMI GError **error); /*****************************************************************************/ -/* Create call (Voice interface) */ +/* Voice interface */ MMBaseCall *mm_shared_cinterion_create_call (MMIfaceModemVoice *self, MMCallDirection direction, @@ -112,4 +119,21 @@ gboolean mm_shared_cinterion_voice_disable_unsolicited_events_finish (MMIfaceMod GAsyncResult *res, GError **error); +/*****************************************************************************/ +/* Time interface */ + +void mm_shared_cinterion_time_setup_unsolicited_events (MMIfaceModemTime *self, + GAsyncReadyCallback callback, + gpointer user_data); +gboolean mm_shared_cinterion_time_setup_unsolicited_events_finish (MMIfaceModemTime *self, + GAsyncResult *res, + GError **error); + +void mm_shared_cinterion_time_cleanup_unsolicited_events (MMIfaceModemTime *self, + GAsyncReadyCallback callback, + gpointer user_data); +gboolean mm_shared_cinterion_time_cleanup_unsolicited_events_finish (MMIfaceModemTime *self, + GAsyncResult *res, + GError **error); + #endif /* MM_SHARED_CINTERION_H */ |