mirror of https://github.com/nymea/nymea.git
22 lines
448 B
C++
22 lines
448 B
C++
#ifndef RULESHANDLER_H
|
|
#define RULESHANDLER_H
|
|
|
|
#include "jsonhandler.h"
|
|
|
|
class RulesHandler : public JsonHandler
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit RulesHandler(QObject *parent = 0);
|
|
|
|
QString name() const override;
|
|
|
|
Q_INVOKABLE QVariantMap GetRules(const QVariantMap ¶ms);
|
|
|
|
Q_INVOKABLE QVariantMap AddRule(const QVariantMap ¶ms);
|
|
Q_INVOKABLE QVariantMap RemoveRule(const QVariantMap ¶ms);
|
|
|
|
};
|
|
|
|
#endif // RULESHANDLER_H
|