summaryrefslogtreecommitdiff
path: root/src/mm-iface-modem-3gpp.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2011-11-28 12:29:15 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-03-15 14:14:28 +0100
commit1d495c58e65d2160722467b54aefe7b70188ee19 (patch)
treec0db87786a75904d28c1c187e91bb3a0c15fcf4a /src/mm-iface-modem-3gpp.h
parentb9448b83cb0d5165b3e4002a3c9cea4fa7a153b1 (diff)
downloadModemManager-1d495c58e65d2160722467b54aefe7b70188ee19.tar.gz
iface-modem-3gpp: new interface to handle the Modem 3GPP DBus interface
Diffstat (limited to 'src/mm-iface-modem-3gpp.h')
-rw-r--r--src/mm-iface-modem-3gpp.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/mm-iface-modem-3gpp.h b/src/mm-iface-modem-3gpp.h
new file mode 100644
index 000000000..ead0e193b
--- /dev/null
+++ b/src/mm-iface-modem-3gpp.h
@@ -0,0 +1,37 @@
+/* -*- 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) 2011 Google, Inc.
+ */
+
+#ifndef MM_IFACE_MODEM_3GPP_H
+#define MM_IFACE_MODEM_3GPP_H
+
+#include <glib-object.h>
+#include <gio/gio.h>
+
+#define MM_TYPE_IFACE_MODEM_3GPP (mm_iface_modem_3gpp_get_type ())
+#define MM_IFACE_MODEM_3GPP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MM_TYPE_IFACE_MODEM_3GPP, MMIfaceModem3gpp))
+#define MM_IS_IFACE_MODEM_3GPP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MM_TYPE_IFACE_MODEM_3GPP))
+#define MM_IFACE_MODEM_3GPP_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), MM_TYPE_IFACE_MODEM_3GPP, MMIfaceModem3gpp))
+
+#define MM_IFACE_MODEM_3GPP_DBUS_SKELETON "iface-modem-3gpp-dbus-skeleton"
+
+typedef struct _MMIfaceModem3gpp MMIfaceModem3gpp;
+
+struct _MMIfaceModem3gpp {
+ GTypeInterface g_iface;
+};
+
+GType mm_iface_modem_3gpp_get_type (void);
+
+#endif /* MM_IFACE_MODEM_3GPP_H */