apiStructs.h 548 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #pragma once
  2. #include <QString>
  3. #include <QByteArray>
  4. struct ImageCmdData
  5. {
  6. int priority;
  7. QString origin;
  8. int64_t duration;
  9. int width;
  10. int height;
  11. int scale;
  12. QString format;
  13. QString imgName;
  14. QByteArray data;
  15. };
  16. struct EffectCmdData
  17. {
  18. int priority;
  19. int duration;
  20. QString pythonScript;
  21. QString origin;
  22. QString effectName;
  23. QString data;
  24. QJsonObject args;
  25. };
  26. struct registerData
  27. {
  28. hyperion::Components component;
  29. QString origin;
  30. QString owner;
  31. hyperion::Components callerComp;
  32. };