mirror of
				https://github.com/hyperion-project/hyperion.ng.git
				synced 2025-03-01 10:33:28 +00:00 
			
		
		
		
	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;
 | 
						|
}
 |