hyperion.ng/include/api/apiStructs.h
brindosch 2739aec1e3
refactor: API split (#721)
* refactor: API split

* refactor: cleanup hyperiond
2020-03-26 17:59:41 +01:00

37 lines
584 B
C

#pragma once
#include <QString>
#include <QByteArray>
struct ImageCmdData
{
int priority;
QString origin;
int64_t duration;
int width;
int height;
int scale;
QString format;
QString imgName;
QByteArray data;
};
struct EffectCmdData
{
int priority;
int duration;
QString pythonScript;
QString origin;
QString effectName;
QString data;
QJsonObject args;
};
struct registerData
{
const hyperion::Components component;
const QString origin;
const QString owner;
const hyperion::Components callerComp;
};