diff options
Diffstat (limited to 'plugins/fibocom/mm-broadband-modem-fibocom.c')
-rw-r--r-- | plugins/fibocom/mm-broadband-modem-fibocom.c | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/plugins/fibocom/mm-broadband-modem-fibocom.c b/plugins/fibocom/mm-broadband-modem-fibocom.c new file mode 100644 index 00000000..900e6e42 --- /dev/null +++ b/plugins/fibocom/mm-broadband-modem-fibocom.c @@ -0,0 +1,60 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details: + * + * Copyright (C) 2022 Disruptive Technologies Research AS + */ + +#include <config.h> + +#include "mm-broadband-modem-fibocom.h" +#include "mm-broadband-modem.h" +#include "mm-iface-modem.h" + +static void iface_modem_init (MMIfaceModem *iface); + +G_DEFINE_TYPE_EXTENDED (MMBroadbandModemFibocom, mm_broadband_modem_fibocom, MM_TYPE_BROADBAND_MODEM, 0, + G_IMPLEMENT_INTERFACE (MM_TYPE_IFACE_MODEM, iface_modem_init)) + +/*****************************************************************************/ + +MMBroadbandModemFibocom * +mm_broadband_modem_fibocom_new (const gchar *device, + const gchar **drivers, + const gchar *plugin, + guint16 vendor_id, + guint16 product_id) +{ + return g_object_new (MM_TYPE_BROADBAND_MODEM_FIBOCOM, + MM_BASE_MODEM_DEVICE, device, + MM_BASE_MODEM_DRIVERS, drivers, + MM_BASE_MODEM_PLUGIN, plugin, + MM_BASE_MODEM_VENDOR_ID, vendor_id, + MM_BASE_MODEM_PRODUCT_ID, product_id, + MM_BASE_MODEM_DATA_NET_SUPPORTED, FALSE, + MM_BASE_MODEM_DATA_TTY_SUPPORTED, TRUE, + NULL); +} + +static void +mm_broadband_modem_fibocom_init (MMBroadbandModemFibocom *self) +{ +} + +static void +iface_modem_init (MMIfaceModem *iface) +{ +} + +static void +mm_broadband_modem_fibocom_class_init (MMBroadbandModemFibocomClass *klass) +{ +} |