diff options
author | Michael Biebl <biebl@debian.org> | 2011-04-08 07:30:59 +0200 |
---|---|---|
committer | Michael Biebl <biebl@debian.org> | 2011-04-08 07:30:59 +0200 |
commit | f75dd6fd1975146623052b843b182dc32c3fbe46 (patch) | |
tree | 05ba60b772670f038c9a1fbff940ec5d3e28d870 /src/nm-device-modem.h | |
parent | c980bdf58dc973dd5617aaa6f9466f9e44fcbf58 (diff) |
Imported Upstream version 0.8.998upstream/0.8.998
Diffstat (limited to 'src/nm-device-modem.h')
-rw-r--r-- | src/nm-device-modem.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/nm-device-modem.h b/src/nm-device-modem.h index c6ef4d218..8453e3d94 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) 2010 Red Hat, Inc. + * Copyright (C) 2011 Red Hat, Inc. */ #ifndef NM_DEVICE_MODEM_H @@ -35,6 +35,8 @@ #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" @@ -45,11 +47,13 @@ typedef struct { typedef struct { NMDeviceClass parent; - void (*ppp_stats) (NMDeviceModem *self, guint32 in_bytes, guint32 out_bytes); + void (*properties_changed) (NMDeviceModem *self, GHashTable *properties); } 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); |