mirror of git://git.sysmocom.de/ofono
dbus: Add Canceled error
This commit is contained in:
parent
89d77da833
commit
f86bc5ebde
|
@ -336,6 +336,12 @@ DBusMessage *__ofono_error_attach_in_progress(DBusMessage *msg)
|
||||||
"GPRS Attach is in progress");
|
"GPRS Attach is in progress");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DBusMessage *__ofono_error_canceled(DBusMessage *msg)
|
||||||
|
{
|
||||||
|
return g_dbus_create_error(msg, DBUS_GSM_ERROR_INTERFACE ".Canceled",
|
||||||
|
"Operation has been canceled");
|
||||||
|
}
|
||||||
|
|
||||||
void __ofono_dbus_pending_reply(DBusMessage **msg, DBusMessage *reply)
|
void __ofono_dbus_pending_reply(DBusMessage **msg, DBusMessage *reply)
|
||||||
{
|
{
|
||||||
DBusConnection *conn = ofono_dbus_get_connection();
|
DBusConnection *conn = ofono_dbus_get_connection();
|
||||||
|
|
|
@ -57,6 +57,7 @@ DBusMessage *__ofono_error_sim_not_ready(DBusMessage *msg);
|
||||||
DBusMessage *__ofono_error_in_use(DBusMessage *msg);
|
DBusMessage *__ofono_error_in_use(DBusMessage *msg);
|
||||||
DBusMessage *__ofono_error_not_attached(DBusMessage *msg);
|
DBusMessage *__ofono_error_not_attached(DBusMessage *msg);
|
||||||
DBusMessage *__ofono_error_attach_in_progress(DBusMessage *msg);
|
DBusMessage *__ofono_error_attach_in_progress(DBusMessage *msg);
|
||||||
|
DBusMessage *__ofono_error_canceled(DBusMessage *msg);
|
||||||
|
|
||||||
void __ofono_dbus_pending_reply(DBusMessage **msg, DBusMessage *reply);
|
void __ofono_dbus_pending_reply(DBusMessage **msg, DBusMessage *reply);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue