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

#include <LunaPowerManagement.h>

Inheritance diagram for CLunaPowerManagement:
CPowerSyscallWithoutEvents CAbstractPowerSyscall IPowerSyscall

Public Member Functions

bool CanPowerdown () override
 
bool CanSuspend () override
 
bool CanHibernate () override
 
bool CanReboot () override
 
bool Powerdown () override
 
bool Reboot () override
 
bool Suspend () override
 
bool Hibernate () 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
 

Static Public Member Functions

static IPowerSyscallCreateInstance ()
 
static void Register ()
 
- Static Public Member Functions inherited from IPowerSyscall
static IPowerSyscallCreateInstance ()
 Called by power manager to create platform power system adapter.
 
static void RegisterPowerSyscall (CreatePowerSyscallFunc createFunc)
 

Additional Inherited Members

- Static Public Attributes inherited from IPowerSyscall
static const int MAX_COUNT_POWER_FEATURES = 4
 

Member Function Documentation

◆ BatteryLevel()

int CLunaPowerManagement::BatteryLevel ( void )
inlineoverridevirtual

Implements IPowerSyscall.

◆ CanHibernate()

bool CLunaPowerManagement::CanHibernate ( void )
inlineoverridevirtual

Implements IPowerSyscall.

◆ CanPowerdown()

bool CLunaPowerManagement::CanPowerdown ( void )
inlineoverridevirtual

Implements IPowerSyscall.

◆ CanReboot()

bool CLunaPowerManagement::CanReboot ( void )
inlineoverridevirtual

Implements IPowerSyscall.

◆ CanSuspend()

bool CLunaPowerManagement::CanSuspend ( void )
inlineoverridevirtual

Implements IPowerSyscall.

◆ CreateInstance()

IPowerSyscall * CLunaPowerManagement::CreateInstance ( )
static

◆ Hibernate()

bool CLunaPowerManagement::Hibernate ( void )
inlineoverridevirtual

Implements IPowerSyscall.

◆ Powerdown()

bool CLunaPowerManagement::Powerdown ( void )
overridevirtual

Implements IPowerSyscall.

◆ Reboot()

bool CLunaPowerManagement::Reboot ( void )
overridevirtual

Implements IPowerSyscall.

◆ Register()

void CLunaPowerManagement::Register ( )
static

◆ Suspend()

bool CLunaPowerManagement::Suspend ( void )
inlineoverridevirtual

Implements IPowerSyscall.


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