kodi
Public Member Functions | List of all members
CPlayerCoreFactory Class Reference
Inheritance diagram for CPlayerCoreFactory:
Inheritance graph
[legend]
Collaboration diagram for CPlayerCoreFactory:
Collaboration graph
[legend]

Public Member Functions

 CPlayerCoreFactory (const CProfileManager &profileManager)
 
 CPlayerCoreFactory (const CPlayerCoreFactory &)=delete
 
CPlayerCoreFactoryoperator= (CPlayerCoreFactory const &)=delete
 
void OnSettingsLoaded () override
 Settings have been loaded. More...
 
std::shared_ptr< IPlayerCreatePlayer (const std::string &nameId, IPlayerCallback &callback) const
 
void GetPlayers (const CFileItem &item, std::vector< std::string > &players) const
 
void GetPlayers (std::vector< std::string > &players, bool audio, bool video) const
 
void GetPlayers (std::vector< std::string > &players) const
 
void GetPlayers (std::vector< std::string > &players, std::string &type) const
 
void GetRemotePlayers (std::vector< std::string > &players) const
 
std::string GetPlayerType (const std::string &player) const
 
bool IsExternalPlayer (const std::string &player) const
 
bool IsRemotePlayer (const std::string &player) const
 
bool PlaysAudio (const std::string &player) const
 
bool PlaysVideo (const std::string &player) const
 
std::string GetDefaultPlayer (const CFileItem &item) const
 
std::string SelectPlayerDialog (const std::vector< std::string > &players, float posX=0, float posY=0) const
 
std::string SelectPlayerDialog (float posX, float posY) const
 
void OnPlayerDiscovered (const std::string &id, const std::string &name)
 
void OnPlayerRemoved (const std::string &id)
 
- Public Member Functions inherited from ISettingsHandler
virtual bool OnSettingsLoading ()
 Settings loading has been initiated. More...
 
virtual bool OnSettingsSaving () const
 Settings saving has been initiated. More...
 
virtual void OnSettingsSaved () const
 Settings have been saved. More...
 
virtual void OnSettingsUnloaded ()
 Setting values have been unloaded. More...
 
virtual void OnSettingsCleared ()
 Settings have been cleared. More...
 

Member Function Documentation

◆ OnSettingsLoaded()

void CPlayerCoreFactory::OnSettingsLoaded ( )
overridevirtual

Settings have been loaded.

This callback can be used to trigger loading other settings.

Reimplemented from ISettingsHandler.


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