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.

24 lines
334 B
C++

#ifndef RULE_H
#define RULE_H
#include "action.h"
#include <QUuid>
class Rule
{
public:
Rule(const QUuid &id, const QUuid &triggerId, const Action &action);
QUuid id() const;
QUuid triggerId() const;
Action action() const;
private:
QUuid m_id;
QUuid m_triggerId;
Action m_action;
};
#endif // RULE_H