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.
2014-01-02 20:42:45 +01:00

25 lines
355 B
C++

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