mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Const correctness, override keyword, a bunch of stuff..
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#ifndef LEDEVICEFACTORY_H
|
||||
#define LEDEVICEFACTORY_H
|
||||
|
||||
// LedDevice includes
|
||||
#include <leddevice/LedDevice.h>
|
||||
class LedDevice;
|
||||
class QJsonObject;
|
||||
|
||||
///
|
||||
/// The LedDeviceFactory is responsible for constructing 'LedDevices'
|
||||
@@ -10,7 +10,6 @@
|
||||
class LedDeviceFactory
|
||||
{
|
||||
public:
|
||||
|
||||
///
|
||||
/// Constructs a LedDevice based on the given configuration
|
||||
///
|
||||
|
@@ -33,7 +33,7 @@ public:
|
||||
/// @brief Get all available device schemas
|
||||
/// @return device schemas
|
||||
///
|
||||
static const QJsonObject getLedDeviceSchemas();
|
||||
static QJsonObject getLedDeviceSchemas();
|
||||
|
||||
///
|
||||
/// @brief add all device constructors to the map
|
||||
@@ -50,22 +50,22 @@ public:
|
||||
/// @brief Get the current latch time of the ledDevice
|
||||
/// @ return latch time in ms
|
||||
///
|
||||
int getLatchTime();
|
||||
int getLatchTime() const;
|
||||
|
||||
///
|
||||
/// @brief Get the current active ledDevice type
|
||||
///
|
||||
QString getActiveDeviceType();
|
||||
QString getActiveDeviceType() const;
|
||||
|
||||
///
|
||||
/// @brief Return the last enable state
|
||||
///
|
||||
bool enabled();
|
||||
bool enabled() const;
|
||||
|
||||
///
|
||||
/// @brief Get the current colorOrder from device
|
||||
///
|
||||
QString getColorOrder();
|
||||
QString getColorOrder() const;
|
||||
|
||||
///
|
||||
/// @brief Get the number of LEDs from device
|
||||
|
Reference in New Issue
Block a user