#include <Win32PowerSyscall.h>
◆ CWin32PowerSyscall()
CWin32PowerSyscall::CWin32PowerSyscall |
( |
| ) |
|
◆ ~CWin32PowerSyscall()
CWin32PowerSyscall::~CWin32PowerSyscall |
( |
| ) |
|
◆ BatteryLevel()
int CWin32PowerSyscall::BatteryLevel |
( |
void | | ) |
|
|
virtual |
◆ CanHibernate()
bool CWin32PowerSyscall::CanHibernate |
( |
void | | ) |
|
|
virtual |
◆ CanPowerdown()
bool CWin32PowerSyscall::CanPowerdown |
( |
void | | ) |
|
|
virtual |
◆ CanReboot()
bool CWin32PowerSyscall::CanReboot |
( |
void | | ) |
|
|
virtual |
◆ CanSuspend()
bool CWin32PowerSyscall::CanSuspend |
( |
void | | ) |
|
|
virtual |
◆ CreateInstance()
◆ Hibernate()
bool CWin32PowerSyscall::Hibernate |
( |
void | | ) |
|
|
virtual |
◆ IsSuspending()
static bool CWin32PowerSyscall::IsSuspending |
( |
| ) |
|
|
inlinestatic |
◆ Powerdown()
bool CWin32PowerSyscall::Powerdown |
( |
void | | ) |
|
|
virtual |
◆ 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()
bool CWin32PowerSyscall::Reboot |
( |
void | | ) |
|
|
virtual |
◆ Register()
void CWin32PowerSyscall::Register |
( |
| ) |
|
|
static |
◆ SetOnResume()
static void CWin32PowerSyscall::SetOnResume |
( |
| ) |
|
|
inlinestatic |
◆ SetOnSuspend()
static void CWin32PowerSyscall::SetOnSuspend |
( |
| ) |
|
|
inlinestatic |
◆ Suspend()
bool CWin32PowerSyscall::Suspend |
( |
void | | ) |
|
|
virtual |
The documentation for this class was generated from the following files: