dbus: Add new D-Bus error message NotRegistered

This commit is contained in:
Guillaume Zajac 2011-11-04 16:28:04 +01:00 committed by Denis Kenzior
parent c09bc563c1
commit 2bc86cb96e
2 changed files with 8 additions and 0 deletions

View File

@ -349,6 +349,13 @@ DBusMessage *__ofono_error_attach_in_progress(DBusMessage *msg)
"GPRS Attach is in progress");
}
DBusMessage *__ofono_error_not_registered(DBusMessage *msg)
{
return g_dbus_create_error(msg,
OFONO_ERROR_INTERFACE ".NotRegistered",
"CDMA modem is not registered to the network");
}
DBusMessage *__ofono_error_canceled(DBusMessage *msg)
{
return g_dbus_create_error(msg, OFONO_ERROR_INTERFACE ".Canceled",

View File

@ -59,6 +59,7 @@ DBusMessage *__ofono_error_sim_not_ready(DBusMessage *msg);
DBusMessage *__ofono_error_in_use(DBusMessage *msg);
DBusMessage *__ofono_error_not_attached(DBusMessage *msg);
DBusMessage *__ofono_error_attach_in_progress(DBusMessage *msg);
DBusMessage *__ofono_error_not_registered(DBusMessage *msg);
DBusMessage *__ofono_error_canceled(DBusMessage *msg);
DBusMessage *__ofono_error_access_denied(DBusMessage *msg);
DBusMessage *__ofono_error_emergency_active(DBusMessage *msg);