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

#include <Win32DPMSSupport.h>

Inheritance diagram for CWin32DPMSSupport:
CDPMSSupport

Public Member Functions

 CWin32DPMSSupport ()
 
 ~CWin32DPMSSupport ()=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

◆ CWin32DPMSSupport()

CWin32DPMSSupport::CWin32DPMSSupport ( )

◆ ~CWin32DPMSSupport()

CWin32DPMSSupport::~CWin32DPMSSupport ( )
default

Member Function Documentation

◆ DisablePowerSaving()

bool CWin32DPMSSupport::DisablePowerSaving ( )
overrideprotectedvirtual

Implements CDPMSSupport.

◆ EnablePowerSaving()

bool CWin32DPMSSupport::EnablePowerSaving ( PowerSavingMode mode)
overrideprotectedvirtual

Implements CDPMSSupport.


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