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

#include <CustomPowerSyscall.h>

Inheritance diagram for CCustomPowerSyscall:
CPowerSyscallWithoutEvents CAbstractPowerSyscall IPowerSyscall

Public Member Functions

 CCustomPowerSyscall ()
 
 ~CCustomPowerSyscall () override=default
 
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
 

Static Public Member Functions

static bool HasCustomCommands ()
 
- 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
 

Constructor & Destructor Documentation

◆ CCustomPowerSyscall()

CCustomPowerSyscall::CCustomPowerSyscall ( )

◆ ~CCustomPowerSyscall()

CCustomPowerSyscall::~CCustomPowerSyscall ( )
overridedefault

Member Function Documentation

◆ BatteryLevel()

int CCustomPowerSyscall::BatteryLevel ( void )
inlineoverridevirtual

Implements IPowerSyscall.

◆ CanHibernate()

bool CCustomPowerSyscall::CanHibernate ( void )
overridevirtual

Implements IPowerSyscall.

◆ CanPowerdown()

bool CCustomPowerSyscall::CanPowerdown ( void )
overridevirtual

Implements IPowerSyscall.

◆ CanReboot()

bool CCustomPowerSyscall::CanReboot ( void )
overridevirtual

Implements IPowerSyscall.

◆ CanSuspend()

bool CCustomPowerSyscall::CanSuspend ( void )
overridevirtual

Implements IPowerSyscall.

◆ HasCustomCommands()

bool CCustomPowerSyscall::HasCustomCommands ( )
static

◆ Hibernate()

bool CCustomPowerSyscall::Hibernate ( void )
overridevirtual

Implements IPowerSyscall.

◆ Powerdown()

bool CCustomPowerSyscall::Powerdown ( void )
overridevirtual

Implements IPowerSyscall.

◆ Reboot()

bool CCustomPowerSyscall::Reboot ( void )
overridevirtual

Implements IPowerSyscall.

◆ Suspend()

bool CCustomPowerSyscall::Suspend ( void )
overridevirtual

Implements IPowerSyscall.


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