summaryrefslogtreecommitdiff
path: root/src/libqmi-glib/qmi-compat.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2020-03-17 17:00:40 +0100
committerAleksander Morgado <aleksander@aleksander.es>2020-04-10 14:00:42 +0200
commit16ef419d11efc6f2fd970622ca0a04224ddc51ce (patch)
treec5300eafe9d24486f1866bbac40403bb83645199 /src/libqmi-glib/qmi-compat.h
parentb31a6ccb1cc8289022888ba92746eef903d84c7c (diff)
libqmi-glib,wds: rename CM_CONFIGURATION_FAILED to CM_CONFERENCE_FAILED
And provide a compat symbol to keep API/ABI. (cherry picked from commit b96ee9a3b42b890f47460778479a2b39cc02c261)
Diffstat (limited to 'src/libqmi-glib/qmi-compat.h')
-rw-r--r--src/libqmi-glib/qmi-compat.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/libqmi-glib/qmi-compat.h b/src/libqmi-glib/qmi-compat.h
index f267199..b6868e6 100644
--- a/src/libqmi-glib/qmi-compat.h
+++ b/src/libqmi-glib/qmi-compat.h
@@ -1060,6 +1060,20 @@ typedef int QmiDeprecatedProtocolError;
*/
#define QMI_PROTOCOL_ERROR_QOS_UNAVAILABLE (QmiDeprecatedProtocolError) QMI_PROTOCOL_ERROR_REQUESTED_NUMBER_UNSUPPORTED
+/* The following type exists just so that we can get deprecation warnings */
+G_DEPRECATED
+typedef int QmiDeprecatedWdsVerboseCallEndReasonCm;
+
+/**
+ * QMI_WDS_VERBOSE_CALL_END_REASON_CM_CONFIGURATION_FAILED:
+ *
+ * Conference (not configuration) failed.
+ *
+ * Since: 1.0
+ * Deprecated: 1.26.0: Use the correct #QMI_WDS_VERBOSE_CALL_END_REASON_CM_CONFERENCE_FAILED name instead.
+ */
+#define QMI_WDS_VERBOSE_CALL_END_REASON_CM_CONFIGURATION_FAILED (QmiDeprecatedWdsVerboseCallEndReasonCm) QMI_WDS_VERBOSE_CALL_END_REASON_CM_CONFERENCE_FAILED
+
/**
* qmi_message_tlv_read_gfloat:
* @self: a #QmiMessage.