iface-modem-messaging: handle the flag to use PDU mode as a property

This commit is contained in:
Aleksander Morgado
2012-02-09 14:38:57 +01:00
parent 2622705744
commit 6bb4f9cb57
2 changed files with 9 additions and 0 deletions

View File

@@ -820,6 +820,14 @@ iface_modem_messaging_init (gpointer g_iface)
MM_TYPE_SMS_LIST,
G_PARAM_READWRITE));
g_object_interface_install_property
(g_iface,
g_param_spec_boolean (MM_IFACE_MODEM_MESSAGING_SMS_PDU_MODE,
"PDU mode",
"Whether PDU mode should be used",
FALSE,
G_PARAM_READWRITE));
initialized = TRUE;
}

View File

@@ -30,6 +30,7 @@
#define MM_IFACE_MODEM_MESSAGING_DBUS_SKELETON "iface-modem-messaging-dbus-skeleton"
#define MM_IFACE_MODEM_MESSAGING_SMS_LIST "iface-modem-messaging-sms-list"
#define MM_IFACE_MODEM_MESSAGING_SMS_PDU_MODE "iface-modem-messaging-sms-pdu-mode"
typedef struct _MMIfaceModemMessaging MMIfaceModemMessaging;