diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-09-06 16:04:25 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-09-06 19:58:02 +0200 |
commit | bdf4df2b6b9dd795f12f457f6ce101fee9679c64 (patch) | |
tree | 36c438a102273376ec9d02e505880fc42797705d /src/mm-sms-qmi.h | |
parent | 912eea79ef8510d2df15f3732c2abdcb0ab3e21f (diff) |
sms-qmi: new `MMSmsQmi' object
Diffstat (limited to 'src/mm-sms-qmi.h')
-rw-r--r-- | src/mm-sms-qmi.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/src/mm-sms-qmi.h b/src/mm-sms-qmi.h new file mode 100644 index 00000000..d6871d3f --- /dev/null +++ b/src/mm-sms-qmi.h @@ -0,0 +1,50 @@ +/* -*- 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: + * + * Author: Aleksander Morgado <aleksander@lanedo.com> + * + * Copyright (C) 2012 Google, Inc. + */ + +#ifndef MM_SMS_QMI_H +#define MM_SMS_QMI_H + +#include <glib.h> +#include <glib-object.h> + +#include <libmm-common.h> + +#include "mm-sms.h" + +#define MM_TYPE_SMS_QMI (mm_sms_qmi_get_type ()) +#define MM_SMS_QMI(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MM_TYPE_SMS_QMI, MMSmsQmi)) +#define MM_SMS_QMI_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MM_TYPE_SMS_QMI, MMSmsQmiClass)) +#define MM_IS_SMS_QMI(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MM_TYPE_SMS_QMI)) +#define MM_IS_SMS_QMI_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MM_TYPE_SMS_QMI)) +#define MM_SMS_QMI_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MM_TYPE_SMS_QMI, MMSmsQmiClass)) + +typedef struct _MMSmsQmi MMSmsQmi; +typedef struct _MMSmsQmiClass MMSmsQmiClass; + +struct _MMSmsQmi { + MMSms parent; +}; + +struct _MMSmsQmiClass { + MMSmsClass parent; +}; + +GType mm_sms_qmi_get_type (void); + +MMSms *mm_sms_qmi_new (MMBaseModem *modem); + +#endif /* MM_SMS_QMI_H */ |