Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
CPlayerCoreConfig Class Reference

#include <PlayerCoreConfig.h>

Public Member Functions

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

Public Attributes

std::string m_name
 
std::string m_id
 
std::string m_type
 
bool m_bPlaysAudio
 
bool m_bPlaysVideo
 
TiXmlElement * m_config
 

Constructor & Destructor Documentation

◆ CPlayerCoreConfig()

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

◆ ~CPlayerCoreConfig()

virtual CPlayerCoreConfig::~CPlayerCoreConfig ( )
inlinevirtual

Member Function Documentation

◆ CreatePlayer()

IPlayer * CPlayerCoreConfig::CreatePlayer ( IPlayerCallback callback) const
inline

◆ 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

◆ m_bPlaysVideo

bool CPlayerCoreConfig::m_bPlaysVideo

◆ m_config

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 file: