From: Markus Armbruster Date: Tue, 16 Mar 2010 16:44:38 +0000 (+0100) Subject: error: New QERR_PROPERTY_VALUE_NOT_FOUND X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~8432^2~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=84745d68e7338271f0f7ec567ab52abf20a0ce9c;p=sdk%2Femulator%2Fqemu.git error: New QERR_PROPERTY_VALUE_NOT_FOUND --- diff --git a/qerror.c b/qerror.c index 6b59388..d8eb329 100644 --- a/qerror.c +++ b/qerror.c @@ -117,6 +117,10 @@ static const QErrorStringTable qerror_table[] = { .desc = "Property '%(device).%(property)' can't take value '%(value)', it's in use", }, { + .error_fmt = QERR_PROPERTY_VALUE_NOT_FOUND, + .desc = "Property '%(device).%(property)' can't find value '%(value)'", + }, + { .error_fmt = QERR_QMP_BAD_INPUT_OBJECT, .desc = "Bad QMP input object", }, diff --git a/qerror.h b/qerror.h index f7a10b7..a0730ed 100644 --- a/qerror.h +++ b/qerror.h @@ -99,6 +99,9 @@ QError *qobject_to_qerror(const QObject *obj); #define QERR_PROPERTY_VALUE_IN_USE \ "{ 'class': 'PropertyValueInUse', 'data': { 'device': %s, 'property': %s, 'value': %s } }" +#define QERR_PROPERTY_VALUE_NOT_FOUND \ + "{ 'class': 'PropertyValueNotFound', 'data': { 'device': %s, 'property': %s, 'value': %s } }" + #define QERR_QMP_BAD_INPUT_OBJECT \ "{ 'class': 'QMPBadInputObject', 'data': { 'expected': %s } }"