mirror of https://github.com/nymea/nymea.git
24 lines
391 B
C++
24 lines
391 B
C++
#ifndef TRIGGER_H
|
|
#define TRIGGER_H
|
|
|
|
#include <QString>
|
|
#include <QUuid>
|
|
#include <QVariantList>
|
|
|
|
class Trigger
|
|
{
|
|
public:
|
|
Trigger(const QUuid &triggerTypeId, const QVariantMap ¶ms);
|
|
|
|
QUuid triggerTypeId() const;
|
|
|
|
QVariantMap params() const;
|
|
void setParams(const QVariantMap ¶ms);
|
|
|
|
private:
|
|
QUuid m_triggerTypeId;
|
|
QVariantMap m_params;
|
|
};
|
|
|
|
#endif // TRIGGER_H
|