diff options
Diffstat (limited to 'src/nm-device-modem.h')
-rw-r--r-- | src/nm-device-modem.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/nm-device-modem.h b/src/nm-device-modem.h index 8453e3d94..c6ef4d218 100644 --- a/src/nm-device-modem.h +++ b/src/nm-device-modem.h @@ -15,7 +15,7 @@ * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * - * Copyright (C) 2011 Red Hat, Inc. + * Copyright (C) 2010 Red Hat, Inc. */ #ifndef NM_DEVICE_MODEM_H @@ -35,8 +35,6 @@ #define NM_DEVICE_MODEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), NM_TYPE_DEVICE_MODEM, NMDeviceModemClass)) #define NM_DEVICE_MODEM_MODEM "modem" -#define NM_DEVICE_MODEM_CAPABILITIES "modem-capabilities" -#define NM_DEVICE_MODEM_CURRENT_CAPABILITIES "current-capabilities" #define NM_DEVICE_MODEM_ENABLE_CHANGED "enable-changed" @@ -47,13 +45,11 @@ typedef struct { typedef struct { NMDeviceClass parent; - void (*properties_changed) (NMDeviceModem *self, GHashTable *properties); + void (*ppp_stats) (NMDeviceModem *self, guint32 in_bytes, guint32 out_bytes); } NMDeviceModemClass; GType nm_device_modem_get_type (void); -NMDevice *nm_device_modem_new (NMModem *modem, const char *driver); - /* Private for subclases */ NMModem *nm_device_modem_get_modem (NMDeviceModem *self); |