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

#include <PlayerCoreConfig.h>

Public Member Functions

 CPlayerCoreConfig (std::string name, std::string type, const TiXmlElement *pConfig, const std::string &id="")
 
 ~CPlayerCoreConfig ()=default
 
const std::string & GetName () const
 
const std::string & GetId () const
 
bool PlaysAudio () const
 
bool PlaysVideo () const
 
std::shared_ptr< IPlayerCreatePlayer (IPlayerCallback &callback) const
 

Public Attributes

std::string m_name
 
std::string m_id
 
std::string m_type
 
bool m_bPlaysAudio {false}
 
bool m_bPlaysVideo {false}
 
std::unique_ptr< TiXmlElement > m_config
 

Constructor & Destructor Documentation

◆ CPlayerCoreConfig()

CPlayerCoreConfig::CPlayerCoreConfig ( std::string name,
std::string type,
const TiXmlElement * pConfig,
const std::string & id = "" )

◆ ~CPlayerCoreConfig()

CPlayerCoreConfig::~CPlayerCoreConfig ( )
default

Member Function Documentation

◆ CreatePlayer()

std::shared_ptr< IPlayer > CPlayerCoreConfig::CreatePlayer ( IPlayerCallback & callback) const

◆ GetId()

const std::string & CPlayerCoreConfig::GetId ( ) const
inline

◆ GetName()

const std::string & CPlayerCoreConfig::GetName ( ) const
inline

◆ PlaysAudio()

bool CPlayerCoreConfig::PlaysAudio ( ) const
inline

◆ PlaysVideo()

bool CPlayerCoreConfig::PlaysVideo ( ) const
inline

Member Data Documentation

◆ m_bPlaysAudio

bool CPlayerCoreConfig::m_bPlaysAudio {false}

◆ m_bPlaysVideo

bool CPlayerCoreConfig::m_bPlaysVideo {false}

◆ m_config

std::unique_ptr<TiXmlElement> CPlayerCoreConfig::m_config

◆ m_id

std::string CPlayerCoreConfig::m_id

◆ m_name

std::string CPlayerCoreConfig::m_name

◆ m_type

std::string CPlayerCoreConfig::m_type

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