#include <UPowerSyscall.h>
◆ CUPowerSyscall()
CUPowerSyscall::CUPowerSyscall |
( |
| ) |
|
- Todo
- do not use dbus_connection_pop_message() that requires the use of a private connection
◆ BatteryLevel()
int CUPowerSyscall::BatteryLevel |
( |
void | | ) |
|
|
overridevirtual |
◆ CanHibernate()
bool CUPowerSyscall::CanHibernate |
( |
void | | ) |
|
|
overridevirtual |
◆ CanPowerdown()
bool CUPowerSyscall::CanPowerdown |
( |
void | | ) |
|
|
overridevirtual |
◆ CanReboot()
◆ CanSuspend()
bool CUPowerSyscall::CanSuspend |
( |
void | | ) |
|
|
overridevirtual |
◆ HasUPower()
bool CUPowerSyscall::HasUPower |
( |
| ) |
|
|
static |
◆ Hibernate()
◆ Powerdown()
◆ 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 occurred and false if not.
- Parameters
-
callback | the callback to signal to |
Implements IPowerSyscall.
◆ Reboot()
◆ Suspend()
◆ UpdateCapabilities()
void CUPowerSyscall::UpdateCapabilities |
( |
| ) |
|
|
protected |
◆ m_CanHibernate
bool CUPowerSyscall::m_CanHibernate |
|
protected |
◆ m_CanPowerdown
bool CUPowerSyscall::m_CanPowerdown |
|
protected |
◆ m_CanReboot
bool CUPowerSyscall::m_CanReboot |
|
protected |
◆ m_CanSuspend
bool CUPowerSyscall::m_CanSuspend |
|
protected |
The documentation for this class was generated from the following files: