aboutsummaryrefslogtreecommitdiff
path: root/plugins/via/mm-plugin-via.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-10-05 13:20:14 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-10-09 16:42:40 +0200
commitfa76ca95a7433993c84bd3eb81ce15bbca2274ae (patch)
tree1c44a5297352bfa82136962216b68e1a8249e8ea /plugins/via/mm-plugin-via.h
parentdf330dd7294611cf3f1d90879b996a4f4bb08873 (diff)
via: new 'Via CBP7' plugin
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.
Diffstat (limited to 'plugins/via/mm-plugin-via.h')
-rw-r--r--plugins/via/mm-plugin-via.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/plugins/via/mm-plugin-via.h b/plugins/via/mm-plugin-via.h
new file mode 100644
index 00000000..68d8c5f6
--- /dev/null
+++ b/plugins/via/mm-plugin-via.h
@@ -0,0 +1,46 @@
+/* -*- 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.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ *
+ * Copyright (C) 2012 Red Hat, Inc.
+ */
+
+#ifndef MM_PLUGIN_VIA_H
+#define MM_PLUGIN_VIA_H
+
+#include "mm-plugin.h"
+
+#define MM_TYPE_PLUGIN_VIA (mm_plugin_via_get_type ())
+#define MM_PLUGIN_VIA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MM_TYPE_PLUGIN_VIA, MMPluginVia))
+#define MM_PLUGIN_VIA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MM_TYPE_PLUGIN_VIA, MMPluginViaClass))
+#define MM_IS_PLUGIN_VIA(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MM_TYPE_PLUGIN_VIA))
+#define MM_IS_PLUGIN_VIA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MM_TYPE_PLUGIN_VIA))
+#define MM_PLUGIN_VIA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MM_TYPE_PLUGIN_VIA, MMPluginViaClass))
+
+typedef struct {
+ MMPlugin parent;
+} MMPluginVia;
+
+typedef struct {
+ MMPluginClass parent;
+} MMPluginViaClass;
+
+GType mm_plugin_via_get_type (void);
+
+G_MODULE_EXPORT MMPlugin *mm_plugin_create (void);
+
+#endif /* MM_PLUGIN_VIA_H */