mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
39b98386dd
Moved ImageToLedsMap from include to libsrc. Moved instantiation of objects to Hyperion (no JSON required outside this class).
31 lines
362 B
C++
31 lines
362 B
C++
// STL includes
|
|
#include <cstring>
|
|
#include <unistd.h>
|
|
#include <iostream>
|
|
|
|
// Json includes
|
|
#include <json/json.h>
|
|
|
|
// hyperion includes
|
|
#include <hyperion/LedString.h>
|
|
|
|
|
|
LedString::LedString()
|
|
{
|
|
// empty
|
|
}
|
|
|
|
LedString::~LedString()
|
|
{
|
|
}
|
|
|
|
std::vector<Led>& LedString::leds()
|
|
{
|
|
return mLeds;
|
|
}
|
|
|
|
const std::vector<Led>& LedString::leds() const
|
|
{
|
|
return mLeds;
|
|
}
|