diff options
author | Denis Kenzior <denkenz@gmail.com> | 2009-08-18 17:14:44 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-08-19 18:35:07 -0500 |
commit | a45007f91d37ae3cc253ced12f9aa6387eeb0989 (patch) | |
tree | cd84a8581cb5427875dcbd0b1898b1fed37c0d71 /src/dbus.c | |
parent | 2b7cd7dede9d551cdd06c5798bdcfd35ad40c2f0 (diff) | |
download | ofono-a45007f91d37ae3cc253ced12f9aa6387eeb0989.tar.bz2 |
Add a new SIM not ready error
Diffstat (limited to 'src/dbus.c')
-rw-r--r-- | src/dbus.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -224,6 +224,12 @@ DBusMessage *__ofono_error_timed_out(DBusMessage *msg) "Operation failure due to timeout"); } +DBusMessage *__ofono_error_sim_not_ready(DBusMessage *msg) +{ + return g_dbus_create_error(msg, DBUS_GSM_ERROR_INTERFACE ".SimNotReady", + "SIM is not ready or not inserted"); +} + void __ofono_dbus_pending_reply(DBusMessage **msg, DBusMessage *reply) { DBusConnection *conn = ofono_dbus_get_connection(); |