hyperion.ng
Enumerations | Functions
settings Namespace Reference

Provide util methods to work with SettingsManager class. More...

Enumerations

enum  type {
  BGEFFECT, FGEFFECT, BLACKBORDER, BOBLSERVER,
  COLOR, DEVICE, EFFECTS, NETFORWARD,
  SYSTEMCAPTURE, GENERAL, V4L2, JSONSERVER,
  LEDCONFIG, LEDS, LOGGER, SMOOTHING,
  UDPLISTENER, WEBSERVER, INSTCAPTURE, NETWORK,
  FLATBUFSERVER, PROTOSERVER, INVALID
}
 

Functions

QString typeToString (const type &type)
 Convert settings::type to string representation. More...
 
type stringToType (const QString &type)
 Convert string to settings::type representation. More...
 

Detailed Description

Provide util methods to work with SettingsManager class.

Function Documentation

§ stringToType()

type settings::stringToType ( const QString &  type)
inline

Convert string to settings::type representation.

Parameters
typeThe string to convert
Returns
The settings type from enum

§ typeToString()

QString settings::typeToString ( const type &  type)
inline

Convert settings::type to string representation.

Parameters
typeThe settings::type from enum
Returns
The settings type as string