Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CFallbackPowerSyscall Class Reference

#include <FallbackPowerSyscall.h>

Inheritance diagram for CFallbackPowerSyscall:
CPowerSyscallWithoutEvents CAbstractPowerSyscall IPowerSyscall

Public Member Functions

bool Powerdown () override
 
bool Suspend () override
 
bool Hibernate () override
 
bool Reboot () override
 
bool CanPowerdown () override
 
bool CanSuspend () override
 
bool CanHibernate () override
 
bool CanReboot () override
 
int BatteryLevel () override
 
- Public Member Functions inherited from CPowerSyscallWithoutEvents
 CPowerSyscallWithoutEvents ()
 
bool Suspend () override
 
bool Hibernate () override
 
bool PumpPowerEvents (IPowerEventsCallback *callback) override
 Pump power related events back to xbmc.
 
- Public Member Functions inherited from CAbstractPowerSyscall
int CountPowerFeatures () override
 
- Public Member Functions inherited from IPowerSyscall
virtual ~IPowerSyscall ()=default
 

Additional Inherited Members

- Static Public Member Functions inherited from IPowerSyscall
static IPowerSyscallCreateInstance ()
 Called by power manager to create platform power system adapter.
 
static void RegisterPowerSyscall (CreatePowerSyscallFunc createFunc)
 
- Static Public Attributes inherited from IPowerSyscall
static const int MAX_COUNT_POWER_FEATURES = 4
 

Member Function Documentation

◆ BatteryLevel()

int CFallbackPowerSyscall::BatteryLevel ( void )
inlineoverridevirtual

Implements IPowerSyscall.

◆ CanHibernate()

bool CFallbackPowerSyscall::CanHibernate ( void )
inlineoverridevirtual

Implements IPowerSyscall.

◆ CanPowerdown()

bool CFallbackPowerSyscall::CanPowerdown ( void )
inlineoverridevirtual

Implements IPowerSyscall.

◆ CanReboot()

bool CFallbackPowerSyscall::CanReboot ( void )
inlineoverridevirtual

Implements IPowerSyscall.

◆ CanSuspend()

bool CFallbackPowerSyscall::CanSuspend ( void )
inlineoverridevirtual

Implements IPowerSyscall.

◆ Hibernate()

bool CFallbackPowerSyscall::Hibernate ( void )
inlineoverridevirtual

Implements IPowerSyscall.

◆ Powerdown()

bool CFallbackPowerSyscall::Powerdown ( void )
inlineoverridevirtual

Implements IPowerSyscall.

◆ Reboot()

bool CFallbackPowerSyscall::Reboot ( void )
inlineoverridevirtual

Implements IPowerSyscall.

◆ Suspend()

bool CFallbackPowerSyscall::Suspend ( void )
inlineoverridevirtual

Implements IPowerSyscall.


The documentation for this class was generated from the following file: