aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-compat.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-06-25 11:05:33 +0200
committerAleksander Morgado <aleksander@aleksander.es>2021-06-25 19:01:06 +0200
commitc1fae670b77b0cac7f82ee540348f161f49d2fa3 (patch)
tree78210d28e26304d7040bba0337c6091ee498c7c3 /libmm-glib/mm-compat.c
parent49f52d918240ef2e5d1c6b0af5d2013dab39f592 (diff)
libmm-glib,call-properties: move deprecated methods to compat source
Diffstat (limited to 'libmm-glib/mm-compat.c')
-rw-r--r--libmm-glib/mm-compat.c48
1 files changed, 48 insertions, 0 deletions
diff --git a/libmm-glib/mm-compat.c b/libmm-glib/mm-compat.c
index 6b36e5a3..fd04fa33 100644
--- a/libmm-glib/mm-compat.c
+++ b/libmm-glib/mm-compat.c
@@ -26,6 +26,54 @@
#ifndef MM_DISABLE_DEPRECATED
+/*****************************************************************************/
+
+void
+mm_call_properties_set_direction (MMCallProperties *self,
+ MMCallDirection direction)
+{
+ /* NO-OP */
+}
+
+MMCallDirection
+mm_call_properties_get_direction (MMCallProperties *self)
+{
+ /* NO-OP */
+ return MM_CALL_DIRECTION_UNKNOWN;
+}
+
+
+void
+mm_call_properties_set_state (MMCallProperties *self,
+ MMCallState state)
+{
+ /* NO-OP */
+}
+
+
+MMCallState
+mm_call_properties_get_state (MMCallProperties *self)
+{
+ /* NO-OP */
+ return MM_CALL_STATE_UNKNOWN;
+}
+
+void
+mm_call_properties_set_state_reason (MMCallProperties *self,
+ MMCallStateReason state_reason)
+{
+ /* NO-OP */
+}
+
+MMCallStateReason
+mm_call_properties_get_state_reason (MMCallProperties *self)
+{
+ /* NO-OP */
+ return MM_CALL_STATE_REASON_UNKNOWN;
+}
+
+/*****************************************************************************/
+
gboolean
mm_modem_get_pending_network_initiated_sessions (MMModemOma *self,
MMOmaPendingNetworkInitiatedSession **sessions,