mirror of git://git.sysmocom.de/ofono
dbus: Add __ofono_error_emergency_active
This commit is contained in:
parent
aa6e379ee3
commit
c65eb67f48
|
@ -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();
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue