diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2015-01-25 18:09:44 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2015-01-25 18:14:02 +0100 |
commit | ebccf25947845cee253ba35bc3fbf8f2de3aaa0e (patch) | |
tree | ac6ef8a910fd9225b5572a112a26b63abdf3fa59 | |
parent | 292a3c5dc7631867118af4ea86f3f7046569cb39 (diff) |
libqmi-glib,message: add missing services in get_printable() and get_version_introduced()
-rw-r--r-- | src/libqmi-glib/qmi-message.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/libqmi-glib/qmi-message.c b/src/libqmi-glib/qmi-message.c index 4327018..e31aa4a 100644 --- a/src/libqmi-glib/qmi-message.c +++ b/src/libqmi-glib/qmi-message.c @@ -46,7 +46,10 @@ #include "qmi-nas.h" #include "qmi-wms.h" #include "qmi-pds.h" +#include "qmi-pbm.h" #include "qmi-uim.h" +#include "qmi-oma.h" +#include "qmi-wda.h" /** * SECTION:qmi-message @@ -2146,9 +2149,18 @@ qmi_message_get_printable (QmiMessage *self, case QMI_SERVICE_PDS: contents = __qmi_message_pds_get_printable (self, line_prefix); break; + case QMI_SERVICE_PBM: + contents = __qmi_message_pbm_get_printable (self, line_prefix); + break; case QMI_SERVICE_UIM: contents = __qmi_message_uim_get_printable (self, line_prefix); break; + case QMI_SERVICE_OMA: + contents = __qmi_message_oma_get_printable (self, line_prefix); + break; + case QMI_SERVICE_WDA: + contents = __qmi_message_wda_get_printable (self, line_prefix); + break; default: break; } @@ -2198,9 +2210,18 @@ qmi_message_get_version_introduced (QmiMessage *self, case QMI_SERVICE_PDS: return __qmi_message_pds_get_version_introduced (self, major, minor); + case QMI_SERVICE_PBM: + return __qmi_message_pbm_get_version_introduced (self, major, minor); + case QMI_SERVICE_UIM: return __qmi_message_uim_get_version_introduced (self, major, minor); + case QMI_SERVICE_OMA: + return __qmi_message_oma_get_version_introduced (self, major, minor); + + case QMI_SERVICE_WDA: + return __qmi_message_wda_get_version_introduced (self, major, minor); + default: /* For the still unsupported services, cannot do anything */ return FALSE; |