aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-call-properties.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2019-10-24 23:12:32 +0200
committerAleksander Morgado <aleksander@aleksander.es>2019-10-28 10:28:31 +0100
commit856619535d2af66a2793bdf4bedaaa3fc7810a73 (patch)
treef0d9497af66ffcde4427cdb987c20cf2e6670526 /libmm-glib/mm-call-properties.h
parent08d23dd64d4566423579d8fbe609ec6145eae861 (diff)
api,voice: CreateCall() expects only the 'number' property
There is absolutely no reason to provide any other property when the user creates a new call.
Diffstat (limited to 'libmm-glib/mm-call-properties.h')
-rw-r--r--libmm-glib/mm-call-properties.h31
1 files changed, 19 insertions, 12 deletions
diff --git a/libmm-glib/mm-call-properties.h b/libmm-glib/mm-call-properties.h
index 62351937..08ffb0c3 100644
--- a/libmm-glib/mm-call-properties.h
+++ b/libmm-glib/mm-call-properties.h
@@ -59,22 +59,29 @@ GType mm_call_properties_get_type (void);
G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMCallProperties, g_object_unref)
#endif
-MMCallProperties *mm_call_properties_new (void);
+MMCallProperties *mm_call_properties_new (void);
+void mm_call_properties_set_number (MMCallProperties *self,
+ const gchar *text);
+const gchar *mm_call_properties_get_number (MMCallProperties *self);
-void mm_call_properties_set_number (MMCallProperties *self,
- const gchar *text);
+#ifndef MM_DISABLE_DEPRECATED
+G_DEPRECATED
void mm_call_properties_set_direction (MMCallProperties *self,
- MMCallDirection direction);
-void mm_call_properties_set_state_reason (MMCallProperties *self,
- MMCallStateReason state_reason);
+ MMCallDirection direction);
+G_DEPRECATED
+void mm_call_properties_set_state_reason (MMCallProperties *self,
+ MMCallStateReason state_reason);
+G_DEPRECATED
void mm_call_properties_set_state (MMCallProperties *self,
- MMCallState state);
-
+ MMCallState state);
+G_DEPRECATED
+MMCallDirection mm_call_properties_get_direction (MMCallProperties *self);
+G_DEPRECATED
+MMCallStateReason mm_call_properties_get_state_reason (MMCallProperties *self);
+G_DEPRECATED
+MMCallState mm_call_properties_get_state (MMCallProperties *self);
+#endif
-const gchar *mm_call_properties_get_number (MMCallProperties *self);
-MMCallDirection mm_call_properties_get_direction (MMCallProperties *self);
-MMCallStateReason mm_call_properties_get_state_reason(MMCallProperties *self);
-MMCallState mm_call_properties_get_state (MMCallProperties *self);
/*****************************************************************************/
/* ModemManager/libmm-glib/mmcli specific methods */