This repository has been archived on 2026-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
powersync-core/libnymea/platform/platformsystemcontroller.h
2019-05-10 01:31:26 +02:00

19 lines
428 B
C++

#ifndef PLATFORMSYSTEMCONTROLLER_H
#define PLATFORMSYSTEMCONTROLLER_H
#include <QObject>
class PlatformSystemController : public QObject
{
Q_OBJECT
public:
explicit PlatformSystemController(QObject *parent = nullptr);
virtual ~PlatformSystemController() = default;
virtual bool powerManagementAvailable() const;
virtual bool reboot();
virtual bool shutdown();
};
#endif // PLATFORMSYSTEMCONTROLLER_H