From: Markus Armbruster Date: Fri, 19 Feb 2010 17:05:39 +0000 (+0100) Subject: error: New QERR_BUS_NOT_FOUND X-Git-Tag: TizenStudio_2.0_p2.3~5375^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=796192913d90f8df5dbb91d30e3acfd17f418e3b;p=sdk%2Femulator%2Fqemu.git error: New QERR_BUS_NOT_FOUND --- diff --git a/qerror.c b/qerror.c index d8eb329..75f7b58 100644 --- a/qerror.c +++ b/qerror.c @@ -41,6 +41,10 @@ static const QType qerror_type = { */ static const QErrorStringTable qerror_table[] = { { + .error_fmt = QERR_BUS_NOT_FOUND, + .desc = "Bus '%(bus)' not found", + }, + { .error_fmt = QERR_COMMAND_NOT_FOUND, .desc = "The command %(name) has not been found", }, diff --git a/qerror.h b/qerror.h index a0730ed..8492808 100644 --- a/qerror.h +++ b/qerror.h @@ -42,6 +42,9 @@ QError *qobject_to_qerror(const QObject *obj); /* * QError class list */ +#define QERR_BUS_NOT_FOUND \ + "{ 'class': 'BusNotFound', 'data': { 'bus': %s } }" + #define QERR_COMMAND_NOT_FOUND \ "{ 'class': 'CommandNotFound', 'data': { 'name': %s } }"