This repository has been archived on 2026-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
powersync-core/server/jsonrpc/ruleshandler.h
2014-01-25 02:52:08 +01:00

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 &params);
Q_INVOKABLE QVariantMap AddRule(const QVariantMap &params);
Q_INVOKABLE QVariantMap RemoveRule(const QVariantMap &params);
};
#endif // RULESHANDLER_H