diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2016-03-30 10:30:22 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2016-04-03 13:24:53 +0200 |
commit | d8430a86f28ca15240c925cd7a0ef18218e6f727 (patch) | |
tree | ee91cb2d28cd235bed17d4a896ab54d57f400e77 | |
parent | baecd3da83e76d51868b4d6160574b10765a7eb9 (diff) | |
download | external_libqmi-d8430a86f28ca15240c925cd7a0ef18218e6f727.zip external_libqmi-d8430a86f28ca15240c925cd7a0ef18218e6f727.tar.gz external_libqmi-d8430a86f28ca15240c925cd7a0ef18218e6f727.tar.bz2 |
libqmi-glib: handle api break introduced in 7fe1238 (released in 1.14.0)
We provide a compatibility symbol to try to provide a better backwards
compatibility.
-rw-r--r-- | docs/reference/libqmi-glib/libqmi-glib-common.sections | 3 | ||||
-rw-r--r-- | src/libqmi-glib/qmi-compat.h | 11 |
2 files changed, 14 insertions, 0 deletions
diff --git a/docs/reference/libqmi-glib/libqmi-glib-common.sections b/docs/reference/libqmi-glib/libqmi-glib-common.sections index 247f03f..9f8c013 100644 --- a/docs/reference/libqmi-glib/libqmi-glib-common.sections +++ b/docs/reference/libqmi-glib/libqmi-glib-common.sections @@ -1042,8 +1042,11 @@ qmi_utils_write_fixed_size_string_to_buffer <SECTION> <FILE>qmi-compat</FILE> +<SUBSECTION Methods> qmi_message_dms_set_service_programming_code_input_get_new qmi_message_dms_set_service_programming_code_input_set_new qmi_message_dms_set_service_programming_code_input_get_current qmi_message_dms_set_service_programming_code_input_set_current +<SUBSECTION Symbols> +QMI_NAS_SIM_REJECT_STATE_SIM_VAILABLE </SECTION> diff --git a/src/libqmi-glib/qmi-compat.h b/src/libqmi-glib/qmi-compat.h index 0241c7d..2ddfae1 100644 --- a/src/libqmi-glib/qmi-compat.h +++ b/src/libqmi-glib/qmi-compat.h @@ -27,6 +27,7 @@ #endif #include "qmi-dms.h" +#include "qmi-enums-nas.h" /* These are compatibility methods and symbols to cover some API breaks * introduced in 1.14.0 */ @@ -55,4 +56,14 @@ gboolean qmi_message_dms_set_service_programming_code_input_set_current ( const gchar *arg_current, GError **error); +/** + * QMI_NAS_SIM_REJECT_STATE_SIM_VAILABLE: + * + * SIM available. + * + * Deprecated: 1.14.0: Use the correct #QMI_NAS_SIM_REJECT_STATE_SIM_AVAILABLE name instead. + */ +G_DEPRECATED_FOR (QMI_NAS_SIM_REJECT_STATE_SIM_AVAILABLE) +#define QMI_NAS_SIM_REJECT_STATE_SIM_VAILABLE QMI_NAS_SIM_REJECT_STATE_SIM_AVAILABLE + #endif /* _LIBQMI_GLIB_QMI_COMPAT_H_ */ |