Extract Shade struct and create ShadeRepository
This commit is contained in:
18
lib/shade/Shade.h
Normal file
18
lib/shade/Shade.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef SHADE_H
|
||||
#define SHADE_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <string>
|
||||
|
||||
struct Shade {
|
||||
uint16_t ID;
|
||||
std::string key;
|
||||
std::string friendlyName;
|
||||
int8_t lastTargetPosition;
|
||||
int8_t lastPosition;
|
||||
uint8_t samePositionCount;
|
||||
uint8_t positionFetchCount;
|
||||
void* timer;
|
||||
};
|
||||
|
||||
#endif // SHADE_H
|
||||
Reference in New Issue
Block a user