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

Class handling application support for skin management. More...

#include <ApplicationSkinHandling.h>

Inheritance diagram for CApplicationSkinHandling:
IApplicationComponent

Public Member Functions

 CApplicationSkinHandling (IMsgTargetCallback *msgCb, IWindowManagerCallback *wCb, bool &bInitializing)
 
void UnloadSkin ()
 
bool OnSettingChanged (const CSetting &setting)
 
void ReloadSkin (bool confirm=false)
 
- Public Member Functions inherited from IApplicationComponent
virtual ~IApplicationComponent ()=default
 

Protected Member Functions

bool LoadSkin (const std::string &skinID)
 
bool LoadCustomWindows ()
 
void ProcessSkin () const
 Called by the application main/render thread for processing operations belonging to the skin.
 

Protected Attributes

bool m_saveSkinOnUnloading = true
 
bool m_confirmSkinChange = true
 
bool m_ignoreSkinSettingChanges = false
 
IMsgTargetCallbackm_msgCb
 
IWindowManagerCallbackm_wCb
 
boolm_bInitializing
 

Friends

class CApplication
 

Detailed Description

Class handling application support for skin management.

Constructor & Destructor Documentation

◆ CApplicationSkinHandling()

CApplicationSkinHandling::CApplicationSkinHandling ( IMsgTargetCallback * msgCb,
IWindowManagerCallback * wCb,
bool & bInitializing )

Member Function Documentation

◆ LoadCustomWindows()

bool CApplicationSkinHandling::LoadCustomWindows ( )
protected

◆ LoadSkin()

bool CApplicationSkinHandling::LoadSkin ( const std::string & skinID)
protected

◆ OnSettingChanged()

bool CApplicationSkinHandling::OnSettingChanged ( const CSetting & setting)

◆ ProcessSkin()

void CApplicationSkinHandling::ProcessSkin ( ) const
protected

Called by the application main/render thread for processing operations belonging to the skin.

◆ ReloadSkin()

void CApplicationSkinHandling::ReloadSkin ( bool confirm = false)

◆ UnloadSkin()

void CApplicationSkinHandling::UnloadSkin ( )

Friends And Related Symbol Documentation

◆ CApplication

friend class CApplication
friend

Member Data Documentation

◆ m_bInitializing

bool& CApplicationSkinHandling::m_bInitializing
protected

◆ m_confirmSkinChange

bool CApplicationSkinHandling::m_confirmSkinChange = true
protected

◆ m_ignoreSkinSettingChanges

bool CApplicationSkinHandling::m_ignoreSkinSettingChanges = false
protected

◆ m_msgCb

IMsgTargetCallback* CApplicationSkinHandling::m_msgCb
protected

◆ m_saveSkinOnUnloading

bool CApplicationSkinHandling::m_saveSkinOnUnloading = true
protected

◆ m_wCb

IWindowManagerCallback* CApplicationSkinHandling::m_wCb
protected

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