aboutsummaryrefslogtreecommitdiff
path: root/src/mm-sms-qmi.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-09-06 16:04:25 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-09-06 19:58:02 +0200
commitbdf4df2b6b9dd795f12f457f6ce101fee9679c64 (patch)
tree36c438a102273376ec9d02e505880fc42797705d /src/mm-sms-qmi.c
parent912eea79ef8510d2df15f3732c2abdcb0ab3e21f (diff)
sms-qmi: new `MMSmsQmi' object
Diffstat (limited to 'src/mm-sms-qmi.c')
-rw-r--r--src/mm-sms-qmi.c50
1 files changed, 50 insertions, 0 deletions
diff --git a/src/mm-sms-qmi.c b/src/mm-sms-qmi.c
new file mode 100644
index 00000000..fbe430ef
--- /dev/null
+++ b/src/mm-sms-qmi.c
@@ -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:
+ *
+ * Copyright (C) 2012 Google, Inc.
+ */
+
+#include <config.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <string.h>
+#include <ctype.h>
+
+#include <ModemManager.h>
+#include <libmm-common.h>
+
+#include "mm-sms-qmi.h"
+#include "mm-base-modem.h"
+#include "mm-log.h"
+
+G_DEFINE_TYPE (MMSmsQmi, mm_sms_qmi, MM_TYPE_SMS);
+
+/*****************************************************************************/
+
+MMSms *
+mm_sms_qmi_new (MMBaseModem *modem)
+{
+ return MM_SMS (g_object_new (MM_TYPE_SMS_QMI,
+ MM_SMS_MODEM, modem,
+ NULL));
+}
+
+static void
+mm_sms_qmi_init (MMSmsQmi *self)
+{
+}
+
+static void
+mm_sms_qmi_class_init (MMSmsQmiClass *klass)
+{
+}