Use the NetworkManager modem capabilities API.

A recent change to the NetworkManager API combined the
NM_DEVICE_TYPE_GSM and NM_DEVICE_TYPE_CDMA types as
NM_DEVICE_TYPE_MODEM and provided an alternative API for accessing the
modem device's capabilities (including GSM_UMTS and CDMA_EVDO).

https://bugzilla.gnome.org/show_bug.cgi?id=643390

Signed-off-by: Richard Hughes <richard@hughsie.com>
This commit is contained in:
Daniel Trebbien 2011-02-27 11:10:10 -05:00 committed by Richard Hughes
parent 4906b8cde8
commit f658c8db0f
3 changed files with 75 additions and 53 deletions

View file

@ -24,12 +24,13 @@
#include <glib-object.h>
#include <NetworkManager.h>
#include <nm-device.h>
G_BEGIN_DECLS
const gchar *panel_device_type_to_icon_name (NMDeviceType type);
const gchar *panel_device_type_to_localized_string (NMDeviceType type);
const gchar *panel_device_type_to_sortable_string (NMDeviceType type);
const gchar *panel_device_to_icon_name (NMDevice *device);
const gchar *panel_device_to_localized_string (NMDevice *device);
const gchar *panel_device_to_sortable_string (NMDevice *device);
const gchar *panel_ap_mode_to_localized_string (NM80211Mode mode);
const gchar *panel_device_state_to_localized_string (NMDeviceState type);