mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
refactor: API split (#721)
* refactor: API split * refactor: cleanup hyperiond
This commit is contained in:
36
include/api/apiStructs.h
Normal file
36
include/api/apiStructs.h
Normal file
@@ -0,0 +1,36 @@
|
||||
#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;
|
||||
};
|
Reference in New Issue
Block a user