mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-26 12:33:53 +08:00
10 lines
214 B
C++
10 lines
214 B
C++
#pragma once
|
|
#include "file_sensor.h"
|
|
|
|
class LightSensor : public FileSensor {
|
|
public:
|
|
LightSensor(std::string filename);
|
|
bool get_event(MessageBuilder &msg, uint64_t ts = 0);
|
|
int shutdown() { return 0; }
|
|
};
|