This is the port to git master of the following commit: commit ff8c60641aa2ea41080c15f81f633b3f78e07bf8 Author: Dan Williams <dcbw@redhat.com> Date: Mon Sep 10 17:12:38 2012 -0500 via: new plugin for CBP7-based CDMA and EVDO devices (bgo #683525) The Via baseband is used in a number of CDMA/EVDO devices, from ChinaTelecom USB sticks, to the Fusion Wireless/UBlox 2770p, to various Motorola Android phones.
50 lines
2.2 KiB
C
50 lines
2.2 KiB
C
/* -*- 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) 2012 Red Hat, Inc.
|
|
*/
|
|
|
|
#ifndef MM_BROADBAND_MODEM_VIA_H
|
|
#define MM_BROADBAND_MODEM_VIA_H
|
|
|
|
#include "mm-broadband-modem.h"
|
|
|
|
#define MM_TYPE_BROADBAND_MODEM_VIA (mm_broadband_modem_via_get_type ())
|
|
#define MM_BROADBAND_MODEM_VIA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MM_TYPE_BROADBAND_MODEM_VIA, MMBroadbandModemVia))
|
|
#define MM_BROADBAND_MODEM_VIA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MM_TYPE_BROADBAND_MODEM_VIA, MMBroadbandModemViaClass))
|
|
#define MM_IS_BROADBAND_MODEM_VIA(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MM_TYPE_BROADBAND_MODEM_VIA))
|
|
#define MM_IS_BROADBAND_MODEM_VIA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MM_TYPE_BROADBAND_MODEM_VIA))
|
|
#define MM_BROADBAND_MODEM_VIA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MM_TYPE_BROADBAND_MODEM_VIA, MMBroadbandModemViaClass))
|
|
|
|
typedef struct _MMBroadbandModemVia MMBroadbandModemVia;
|
|
typedef struct _MMBroadbandModemViaClass MMBroadbandModemViaClass;
|
|
typedef struct _MMBroadbandModemViaPrivate MMBroadbandModemViaPrivate;
|
|
|
|
struct _MMBroadbandModemVia {
|
|
MMBroadbandModem parent;
|
|
MMBroadbandModemViaPrivate *priv;
|
|
};
|
|
|
|
struct _MMBroadbandModemViaClass{
|
|
MMBroadbandModemClass parent;
|
|
};
|
|
|
|
GType mm_broadband_modem_via_get_type (void);
|
|
|
|
MMBroadbandModemVia *mm_broadband_modem_via_new (const gchar *device,
|
|
const gchar **drivers,
|
|
const gchar *plugin,
|
|
guint16 vendor_id,
|
|
guint16 product_id);
|
|
|
|
#endif /* MM_BROADBAND_MODEM_VIA_H */
|