bump api and fix add rule

This commit is contained in:
Simon Stürz 2015-06-09 09:34:34 +02:00 committed by Michael Zanetti
parent 69ca5c4713
commit 8b23cc0167
3 changed files with 1 additions and 3 deletions

View File

@ -2,7 +2,7 @@
GUH_VERSION_STRING=$$system('dpkg-parsechangelog | sed -n -e "s/^Version: //p"')
# define JSON protocol version
JSON_PROTOCOL_VERSION=23
JSON_PROTOCOL_VERSION=24
DEFINES += GUH_VERSION_STRING=\\\"$${GUH_VERSION_STRING}\\\" JSON_PROTOCOL_VERSION=\\\"$${JSON_PROTOCOL_VERSION}\\\"

View File

@ -56,7 +56,6 @@ RulesHandler::RulesHandler(QObject *parent) :
params.insert("o:stateEvaluator", JsonTypes::stateEvaluatorRef());
params.insert("o:exitActions", QVariantList() << JsonTypes::ruleActionRef());
params.insert("o:enabled", JsonTypes::basicTypeToString(JsonTypes::Bool));
params.insert("o:active", JsonTypes::basicTypeToString(JsonTypes::Bool));
params.insert("name", JsonTypes::basicTypeToString(JsonTypes::String));
QVariantList actions;
actions.append(JsonTypes::ruleActionRef());

View File

@ -293,7 +293,6 @@
"$ref:RuleAction"
],
"name": "String",
"o:active": "Bool",
"o:enabled": "Bool",
"o:eventDescriptor": "$ref:EventDescriptor",
"o:eventDescriptorList": [