added documentation
This commit is contained in:
parent
8a8abd6c76
commit
f0ff732329
5 changed files with 19 additions and 5 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue