mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Get server info implemented for jsonserver
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
// stl includes
|
||||
#include <list>
|
||||
|
||||
// QT includes
|
||||
#include <QObject>
|
||||
#include <QTimer>
|
||||
@@ -21,6 +23,8 @@ class Hyperion : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
typedef PriorityMuxer::InputInfo InputInfo;
|
||||
|
||||
enum Color
|
||||
{
|
||||
RED, GREEN, BLUE
|
||||
@@ -49,6 +53,12 @@ public:
|
||||
|
||||
void clearall();
|
||||
|
||||
double getTransform(Transform transform, Color color) const;
|
||||
|
||||
QList<int> getActivePriorities() const;
|
||||
|
||||
const InputInfo& getPriorityInfo(const int priority) const;
|
||||
|
||||
private slots:
|
||||
void update();
|
||||
|
||||
|
Reference in New Issue
Block a user