diff options
author | Andrzej Zaborowski <andrew.zaborowski@intel.com> | 2009-08-03 14:50:14 +0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-08-04 15:08:11 -0500 |
commit | 203ed17cecba2ab21317b8ba35b50907d0684675 (patch) | |
tree | 1cd305186f91e60c4bf655684a842258dc681972 /src/message-waiting.h | |
parent | ba8ef5c3e4e453f66fc657e51e04cdf39fd1fc1c (diff) | |
download | ofono-203ed17cecba2ab21317b8ba35b50907d0684675.tar.bz2 |
Add a MessageWaiting interface to track message waiting indications.
The state of the indications is kept in memory and written back to
the SIM after any changes.
Diffstat (limited to 'src/message-waiting.h')
-rw-r--r-- | src/message-waiting.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/message-waiting.h b/src/message-waiting.h new file mode 100644 index 00000000..c0e60bfb --- /dev/null +++ b/src/message-waiting.h @@ -0,0 +1,30 @@ +/* + * + * oFono - Open Source Telephony + * + * Copyright (C) 2008-2009 Intel Corporation. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * 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. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + */ + +void ofono_message_waiting_present_notify(struct ofono_modem *modem, + enum sms_mwi_type type, + gboolean present, int profile); +void ofono_message_waiting_count_notify(struct ofono_modem *modem, + enum sms_mwi_type type, int count, + int profile); + +void ofono_handle_sms_mwi(struct ofono_modem *modem, + struct sms *sms, gboolean *out_discard); |