diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2011-12-21 19:57:47 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-15 14:14:36 +0100 |
commit | 7ea8bf59fb1ed202320aa525c83d56e290d494fe (patch) | |
tree | 7b3e0252f7c83e3a139031e1a42dfc3d12a6b8bd /src/mm-iface-modem-simple.h | |
parent | ea934148304388f02435253f371c1af201f9116d (diff) |
iface-modem-simple: new interface to handle the Simple interface
Diffstat (limited to 'src/mm-iface-modem-simple.h')
-rw-r--r-- | src/mm-iface-modem-simple.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/src/mm-iface-modem-simple.h b/src/mm-iface-modem-simple.h new file mode 100644 index 00000000..fb942094 --- /dev/null +++ b/src/mm-iface-modem-simple.h @@ -0,0 +1,43 @@ +/* -*- 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_SIMPLE_H +#define MM_IFACE_MODEM_SIMPLE_H + +#include <glib-object.h> +#include <gio/gio.h> + +#define MM_TYPE_IFACE_MODEM_SIMPLE (mm_iface_modem_simple_get_type ()) +#define MM_IFACE_MODEM_SIMPLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MM_TYPE_IFACE_MODEM_SIMPLE, MMIfaceModemSimple)) +#define MM_IS_IFACE_MODEM_SIMPLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MM_TYPE_IFACE_MODEM_SIMPLE)) +#define MM_IFACE_MODEM_SIMPLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), MM_TYPE_IFACE_MODEM_SIMPLE, MMIfaceModemSimple)) + +#define MM_IFACE_MODEM_SIMPLE_DBUS_SKELETON "iface-modem-simple-dbus-skeleton" + +typedef struct _MMIfaceModemSimple MMIfaceModemSimple; + +struct _MMIfaceModemSimple { + GTypeInterface g_iface; +}; + +GType mm_iface_modem_simple_get_type (void); + +/* Initialize Modem Simple interface */ +void mm_iface_modem_simple_initialize (MMIfaceModemSimple *self); + +/* Shutdown Modem Simple interface */ +void mm_iface_modem_simple_shutdown (MMIfaceModemSimple *self); + +#endif /* MM_IFACE_MODEM_SIMPLE_H */ |