dbus: Add __ofono_error_emergency_active

This commit is contained in:
Jeevaka Badrappan 2011-03-31 09:18:24 -07:00 committed by Denis Kenzior
parent aa6e379ee3
commit c65eb67f48
2 changed files with 8 additions and 0 deletions

View File

@ -361,6 +361,13 @@ DBusMessage *__ofono_error_access_denied(DBusMessage *msg)
"Operation not permitted");
}
DBusMessage *__ofono_error_emergency_active(DBusMessage *msg)
{
return g_dbus_create_error(msg,
OFONO_ERROR_INTERFACE ".EmergencyActive",
"Emergency mode active");
}
void __ofono_dbus_pending_reply(DBusMessage **msg, DBusMessage *reply)
{
DBusConnection *conn = ofono_dbus_get_connection();

View File

@ -58,6 +58,7 @@ DBusMessage *__ofono_error_not_attached(DBusMessage *msg);
DBusMessage *__ofono_error_attach_in_progress(DBusMessage *msg);
DBusMessage *__ofono_error_canceled(DBusMessage *msg);
DBusMessage *__ofono_error_access_denied(DBusMessage *msg);
DBusMessage *__ofono_error_emergency_active(DBusMessage *msg);
void __ofono_dbus_pending_reply(DBusMessage **msg, DBusMessage *reply);