4 * Copyright(C) 2008 Ixonos Plc
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2, or (at your option)
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Boston, MA 02111.
27 #ifndef FREESMARTPHONE_SMS_H
28 #define FREESMARTPHONE_SMS_H
31 #include <dbus/dbus-glib.h>
33 #include "freesmartphone.h"
35 typedef void (*FSGSMSMSReply
) (GError
*error
,
38 typedef void (*FSGSMSMSGetServiceBearerReply
) (gchar
*mode
,
42 typedef void (*FSGSMSMSGetServiceCenterNumber
) (gchar
*mode
,
46 typedef void (*FSGSMSMSListMessages
) (GArray
* indices
,
50 typedef void (*FSGSMSMSStoreMessage
) (gint index
,
54 typedef void (*FSGSMSMSRetrieveMessage
) (GHashTable
*message
,
58 typedef void (*FSGSMSMSMessageSent
) (gboolean success
,
61 typedef void (*FSGSMSMSIncomingMessage
) (gint index
,
64 gboolean
fso_gsm_sms_send_message(FreeSmartphone
*fs
,
66 const gboolean want_report
,
70 gboolean
fso_gsm_sms_retrieve_message(FreeSmartphone
*fs
,
72 FSGSMSMSRetrieveMessage cb
,
75 gboolean
fso_gsm_sms_store_message(FreeSmartphone
*fs
,
77 FSGSMSMSStoreMessage cb
,
80 gboolean
fso_gsm_sms_delete_message(FreeSmartphone
*fs
,
85 gboolean
fso_gsm_sms_list_messages(FreeSmartphone
*fs
,
88 FSGSMSMSListMessages cb
,
91 gboolean
fso_gsm_sms_set_service_center_number(FreeSmartphone
*fs
,
96 gboolean
fso_gsm_sms_get_service_center_number(FreeSmartphone
*fs
,
97 FSGSMSMSGetServiceCenterNumber cb
,
100 gboolean
fso_gsm_sms_set_service_bearer(FreeSmartphone
*fs
,
105 gboolean
fso_gsm_sms_get_service_bearer(FreeSmartphone
*fs
,
106 FSGSMSMSGetServiceBearerReply cb
,
112 gboolean
fso_gsm_sms_incoming_message_signal_remove(FreeSmartphone
*fs
,
113 FSGSMSMSIncomingMessage cb
,
116 gboolean
fso_gsm_sms_incoming_message_signal(FreeSmartphone
*fs
,
117 FSGSMSMSIncomingMessage cb
,
120 gboolean
fso_gsm_sms_message_sent_signal_remove(FreeSmartphone
*fs
,
121 FSGSMSMSMessageSent cb
,
124 gboolean
fso_gsm_sms_message_sent_signal(FreeSmartphone
*fs
,
125 FSGSMSMSMessageSent cb
,
128 gboolean
fso_gsm_sms_modify_message(FreeSmartphone
*fs
,
134 #endif /* FREESMARTPHONE_CALL_H */