#include <Win10PowerSyscall.h>
◆ CPowerSyscall()
CPowerSyscall::CPowerSyscall |
( |
| ) |
|
|
default |
◆ ~CPowerSyscall()
CPowerSyscall::~CPowerSyscall |
( |
| ) |
|
|
default |
◆ BatteryLevel()
int CPowerSyscall::BatteryLevel |
( |
void |
| ) |
|
|
overridevirtual |
◆ CanHibernate()
bool CPowerSyscall::CanHibernate |
( |
void |
| ) |
|
|
overridevirtual |
◆ CanPowerdown()
bool CPowerSyscall::CanPowerdown |
( |
void |
| ) |
|
|
overridevirtual |
◆ CanReboot()
bool CPowerSyscall::CanReboot |
( |
void |
| ) |
|
|
overridevirtual |
◆ CanSuspend()
bool CPowerSyscall::CanSuspend |
( |
void |
| ) |
|
|
overridevirtual |
◆ CreateInstance()
◆ Hibernate()
bool CPowerSyscall::Hibernate |
( |
void |
| ) |
|
|
overridevirtual |
◆ Powerdown()
bool CPowerSyscall::Powerdown |
( |
void |
| ) |
|
|
overridevirtual |
◆ PumpPowerEvents()
Pump power related events back to xbmc.
PumpPowerEvents is called from Application Thread and the platform implementation may signal power related events back to xbmc through the callback.
return true if an event occured and false if not.
- Parameters
-
callback | the callback to signal to |
Implements IPowerSyscall.
◆ Reboot()
bool CPowerSyscall::Reboot |
( |
void |
| ) |
|
|
overridevirtual |
◆ Register()
void CPowerSyscall::Register |
( |
| ) |
|
|
static |
◆ Suspend()
bool CPowerSyscall::Suspend |
( |
void |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: