bump api and fix add rule
This commit is contained in:
parent
69ca5c4713
commit
8b23cc0167
2
guh.pri
2
guh.pri
@ -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}\\\"
|
||||
|
||||
|
||||
@ -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());
|
||||
|
||||
@ -293,7 +293,6 @@
|
||||
"$ref:RuleAction"
|
||||
],
|
||||
"name": "String",
|
||||
"o:active": "Bool",
|
||||
"o:enabled": "Bool",
|
||||
"o:eventDescriptor": "$ref:EventDescriptor",
|
||||
"o:eventDescriptorList": [
|
||||
|
||||
Reference in New Issue
Block a user