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

#include <CocoaDPMSSupport.h>

Inheritance diagram for CCocoaDPMSSupport:
CDPMSSupport

Public Member Functions

 CCocoaDPMSSupport ()
 
 ~CCocoaDPMSSupport () override=default
 
- Public Member Functions inherited from CDPMSSupport
 CDPMSSupport ()
 
virtual ~CDPMSSupport ()=default
 
bool IsSupported () const
 
const std::vector< PowerSavingMode > & GetSupportedModes () const
 
bool IsModeSupported (PowerSavingMode mode) const
 

Protected Member Functions

bool EnablePowerSaving (PowerSavingMode mode) override
 
bool DisablePowerSaving () override
 

Additional Inherited Members

- Public Types inherited from CDPMSSupport
enum  PowerSavingMode { STANDBY , SUSPEND , OFF , NUM_MODES }
 
- Protected Attributes inherited from CDPMSSupport
std::vector< PowerSavingModem_supportedModes
 

Constructor & Destructor Documentation

◆ CCocoaDPMSSupport()

CCocoaDPMSSupport::CCocoaDPMSSupport ( )

◆ ~CCocoaDPMSSupport()

CCocoaDPMSSupport::~CCocoaDPMSSupport ( )
overridedefault

Member Function Documentation

◆ DisablePowerSaving()

bool CCocoaDPMSSupport::DisablePowerSaving ( )
overrideprotectedvirtual

Implements CDPMSSupport.

◆ EnablePowerSaving()

bool CCocoaDPMSSupport::EnablePowerSaving ( PowerSavingMode mode)
overrideprotectedvirtual

Implements CDPMSSupport.


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