Add __ofono_error_not_available

This commit is contained in:
Denis Kenzior 2010-05-26 17:32:28 -05:00
parent 5da54eea44
commit 7b77888217
2 changed files with 8 additions and 0 deletions

View File

@ -298,6 +298,13 @@ DBusMessage *__ofono_error_not_supported(DBusMessage *msg)
" network / modem");
}
DBusMessage *__ofono_error_not_available(DBusMessage *msg)
{
return g_dbus_create_error(msg, DBUS_GSM_ERROR_INTERFACE,
".NotAvailable",
"Operation currently not available");
}
DBusMessage *__ofono_error_timed_out(DBusMessage *msg)
{
return g_dbus_create_error(msg, DBUS_GSM_ERROR_INTERFACE ".Timedout",

View File

@ -51,6 +51,7 @@ DBusMessage *__ofono_error_busy(DBusMessage *msg);
DBusMessage *__ofono_error_not_found(DBusMessage *msg);
DBusMessage *__ofono_error_not_active(DBusMessage *msg);
DBusMessage *__ofono_error_not_supported(DBusMessage *msg);
DBusMessage *__ofono_error_not_available(DBusMessage *msg);
DBusMessage *__ofono_error_timed_out(DBusMessage *msg);
DBusMessage *__ofono_error_sim_not_ready(DBusMessage *msg);
DBusMessage *__ofono_error_in_use(DBusMessage *msg);