mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
bfb06966de
* Update Hyperion.h * Add files via upload * Update CMakeLists.txt * Update Hyperion.cpp * Update JsonClientConnection.cpp * Update JsonClientConnection.h * Update JsonSchemas.qrc * Add files via upload * Update schema.json * Update JsonConnection.cpp * Update JsonConnection.h * Update hyperion-remote.cpp
30 lines
599 B
C
30 lines
599 B
C
#pragma once
|
|
|
|
/**
|
|
* Enumeration of components in Hyperion.
|
|
*/
|
|
enum Components
|
|
{
|
|
SMOOTHING,
|
|
BLACKBORDER,
|
|
KODICHECKER,
|
|
FORWARDER,
|
|
UDPLISTENER,
|
|
BOBLIGHTSERVER,
|
|
GRABBER
|
|
};
|
|
|
|
inline const char* componentToString(Components c)
|
|
{
|
|
switch (c)
|
|
{
|
|
case SMOOTHING: return "Smoothing option";
|
|
case BLACKBORDER: return "Blackborder detector";
|
|
case KODICHECKER: return "KodiVideoChecker";
|
|
case FORWARDER: return "Json/Proto forwarder";
|
|
case UDPLISTENER: return "UDP listener";
|
|
case BOBLIGHTSERVER: return "Boblight server";
|
|
case GRABBER: return "Framegrabber";
|
|
default: return "";
|
|
}
|
|
} |