OLD | NEW |
(Empty) | |
| 1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ |
| 2 /* |
| 3 * This program is free software; you can redistribute it and/or modify |
| 4 * it under the terms of the GNU General Public License as published by |
| 5 * the Free Software Foundation; either version 2 of the License, or |
| 6 * (at your option) any later version. |
| 7 * |
| 8 * This program is distributed in the hope that it will be useful, |
| 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 * GNU General Public License for more details: |
| 12 * |
| 13 * Copyright (C) 2008 - 2009 Novell, Inc. |
| 14 * Copyright (C) 2009 Red Hat, Inc. |
| 15 * Copyright 2011 by Samsung Electronics, Inc., |
| 16 */ |
| 17 |
| 18 #ifndef MM_MODEM_SAMSUNG_GSM_H |
| 19 #define MM_MODEM_SAMSUNG_GSM_H |
| 20 #include <glib-object.h> |
| 21 |
| 22 #include "mm-generic-gsm.h" |
| 23 #include "mm-generic-gsm.h" |
| 24 |
| 25 #define MM_TYPE_MODEM_SAMSUNG_GSM (mm_modem_samsung_gsm_get_type ()) |
| 26 #define MM_MODEM_SAMSUNG_GSM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),
MM_TYPE_MODEM_SAMSUNG_GSM, MMModemSamsungGsm)) |
| 27 #define MM_MODEM_SAMSUNG_GSM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
MM_TYPE_MODEM_SAMSUNG_GSM, MMModemSamsungGsmClass)) |
| 28 #define MM_IS_MODEM_SAMSUNG_GSM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
MM_TYPE_MODEM_SAMSUNG_GSM)) |
| 29 #define MM_IS_MODEM_SAMSUNG_GSM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),
MM_TYPE_MODEM_SAMSUNG_GSM)) |
| 30 #define MM_MODEM_SAMSUNG_GSM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),
MM_TYPE_MODEM_SAMSUNG_GSM, MMModemSamsungGsmClass)) |
| 31 |
| 32 typedef struct { |
| 33 MMGenericGsm parent; |
| 34 } MMModemSamsungGsm; |
| 35 |
| 36 typedef struct { |
| 37 MMGenericGsmClass parent; |
| 38 } MMModemSamsungGsmClass; |
| 39 |
| 40 GType mm_modem_samsung_gsm_get_type (void); |
| 41 |
| 42 void mm_modem_samsung_cleanup (MMModemSamsungGsm *self); |
| 43 |
| 44 void mm_modem_samsung_change_unsolicited_messages (MMModemSamsungGsm *self, |
| 45 gboolean enabled); |
| 46 |
| 47 void mm_modem_samsung_do_connect (MMModemSamsungGsm *self, |
| 48 const char *number, |
| 49 MMModemFn callback, |
| 50 gpointer user_data); |
| 51 |
| 52 MMModem *mm_modem_samsung_gsm_new (const char *device, |
| 53 const char *driver, |
| 54 const char *plugin_name); |
| 55 |
| 56 #endif /* MM_MODEM_SAMSUNG_GSM_H */ |
| 57 |
OLD | NEW |