summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-error.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2006-03-10 20:58:50 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2006-03-10 20:58:50 +0000
commit1c37ee6736011106383c591cb387c724b0ff494e (patch)
tree9e7ae3104f78ebe75693c02e524aea90af31bcdb /hcid/dbus-error.c
parenta1dc79f3257f774f5ebd4771c96e133a05734efe (diff)
Added list available minor class for computer and phone.
Diffstat (limited to 'hcid/dbus-error.c')
-rw-r--r--hcid/dbus-error.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/hcid/dbus-error.c b/hcid/dbus-error.c
index c6a92124..988d3b34 100644
--- a/hcid/dbus-error.c
+++ b/hcid/dbus-error.c
@@ -206,6 +206,12 @@ DBusMessage *error_not_connected(DBusMessage *msg)
"Not connected");
}
+DBusMessage *error_unsupported_major_class(DBusMessage *msg)
+{
+ return dbus_message_new_error(msg, ERROR_INTERFACE ".UnsupportedMajorClass",
+ "Unsupported Major Class");
+}
+
static DBusMessage *error_already_exists(DBusMessage *msg, const char *str)
{
return dbus_message_new_error(msg, ERROR_INTERFACE ".AlreadyExists", str);