make handler functions public

This commit is contained in:
Ronald Schaten 2016-05-21 19:17:03 +02:00
parent 7169be9882
commit 6d0cf8f786

View File

@ -12,6 +12,9 @@ class DeviceLed : public Device {
virtual void deviceSetup();
virtual void deviceRegister();
virtual void deviceLoop();
bool ledOnHandler(String value);
bool ledBrightnessHandler(String message);
bool ledFadeHandler(String message);
private:
byte pinLed;
char* nameLed;
@ -23,8 +26,5 @@ class DeviceLed : public Device {
float progress_last = 0;
void setLed(int value);
void publishStatus();
bool ledOnHandler(String value);
bool ledBrightnessHandler(String message);
bool ledFadeHandler(String message);
HomieNode ledNode;
};