aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-compat.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-06-25 18:37:28 +0200
committerAleksander Morgado <aleksander@aleksander.es>2021-06-25 19:01:06 +0200
commit219700ba6d9df49427320eb2cbfd8eae850b8921 (patch)
treeeee9a07f55e2f94276b393b3f10ba33cedbc32e4 /libmm-glib/mm-compat.h
parenta09b13de86fd62c9b5144ada2c23c6062e873ec1 (diff)
libmm-glib,simple-status: move deprecated methods to compat source
Diffstat (limited to 'libmm-glib/mm-compat.h')
-rw-r--r--libmm-glib/mm-compat.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/libmm-glib/mm-compat.h b/libmm-glib/mm-compat.h
index 143a0d43..99f31555 100644
--- a/libmm-glib/mm-compat.h
+++ b/libmm-glib/mm-compat.h
@@ -34,6 +34,7 @@
#include "mm-call-properties.h"
#include "mm-location-gps-nmea.h"
#include "mm-pco.h"
+#include "mm-simple-status.h"
#include "mm-modem-3gpp.h"
#include "mm-modem-oma.h"
@@ -248,6 +249,23 @@ void mm_pco_list_free (GList *pco_list);
/*****************************************************************************/
/**
+ * mm_simple_status_get_3gpp_subscription_state:
+ * @self: a #MMSimpleStatus.
+ *
+ * Gets the current subscription status of the account.
+ *
+ * Returns: a #MMModem3gppSubscriptionState.
+ *
+ * Since: 1.0
+ * Deprecated: 1.12.0. The value of this property can only be obtained with
+ * operator specific logic (e.g. processing specific PCO info), and therefore
+ * it doesn't make sense to expose it in the ModemManager interface.
+ */
+MMModem3gppSubscriptionState mm_simple_status_get_3gpp_subscription_state (MMSimpleStatus *self);
+
+/*****************************************************************************/
+
+/**
* mm_modem_3gpp_get_subscription_state:
* @self: A #MMModem.
*