added documentation

This commit is contained in:
Anika Raemer 2019-04-04 13:38:56 +02:00
parent 8a8abd6c76
commit f0ff732329
5 changed files with 19 additions and 5 deletions

View file

@ -4,6 +4,12 @@
#include <QObject>
#include <QTimer>
/**
* @brief Class handling energy saving options.
*
* Shut down RaspberryPi if no mouse input is detected and music player
* has not been active or a certain time interval.
*/
class EnergySaver : public QObject
{
Q_OBJECT
@ -12,7 +18,8 @@ protected:
EnergySaver(QObject *parent = 0);
public:
static void init(int intervall);
static void init(int interval);
static EnergySaver *instance();
public slots: