v0.9.350
This commit is contained in:
23
examples/plugins/backlightControls/backlightcontrols.h
Normal file
23
examples/plugins/backlightControls/backlightcontrols.h
Normal file
@@ -0,0 +1,23 @@
|
||||
/**
|
||||
* Example of display backlight control depending on playback.
|
||||
* To connect the plugin, copy its folder to the src/plugins directory.
|
||||
*/
|
||||
#ifndef BACKLIGHTCONTROLS_H
|
||||
#define BACKLIGHTCONTROLS_H
|
||||
|
||||
#include "../../pluginsManager/pluginsManager.h"
|
||||
|
||||
class backlightControls : public Plugin {
|
||||
public:
|
||||
backlightControls();
|
||||
/**
|
||||
* See src/pluginsManager/pluginsManager.h for available events
|
||||
*/
|
||||
void on_setup();
|
||||
void on_track_change();
|
||||
void on_stop_play();
|
||||
};
|
||||
|
||||
|
||||
#endif // BACKLIGHTCONTROLS_H
|
||||
|
||||
Reference in New Issue
Block a user