kodi
Public Member Functions | List of all members
CSettingsComponent Class Reference

Public Member Functions

void Initialize ()
 Initialize all subcomponents with system default values (loaded from code, system settings files, ...).
 
bool Load ()
 Initialize all subcomponents with user values (loaded from user settings files, according to active profile). More...
 
void Deinitialize ()
 Deinitialize all subcomponents.
 
std::shared_ptr< CSettingsGetSettings ()
 Get access to the settings subcomponent. More...
 
std::shared_ptr< CAdvancedSettingsGetAdvancedSettings ()
 Get access to the advanced settings subcomponent. More...
 
std::shared_ptr< KODI::SUBTITLES::CSubtitlesSettingsGetSubtitlesSettings ()
 Get access to the subtitles settings subcomponent. More...
 
std::shared_ptr< CProfileManagerGetProfileManager ()
 Get access to the profiles manager subcomponent. More...
 

Member Function Documentation

◆ GetAdvancedSettings()

std::shared_ptr< CAdvancedSettings > CSettingsComponent::GetAdvancedSettings ( )

Get access to the advanced settings subcomponent.

Returns
the advanced settings subcomponent.

◆ GetProfileManager()

std::shared_ptr< CProfileManager > CSettingsComponent::GetProfileManager ( )

Get access to the profiles manager subcomponent.

Returns
the profiles manager subcomponent.

◆ GetSettings()

std::shared_ptr< CSettings > CSettingsComponent::GetSettings ( void  )

Get access to the settings subcomponent.

Returns
the settings subcomponent.

◆ GetSubtitlesSettings()

std::shared_ptr< KODI::SUBTITLES::CSubtitlesSettings > CSettingsComponent::GetSubtitlesSettings ( )

Get access to the subtitles settings subcomponent.

Returns
the subtiltles settings subcomponent.

◆ Load()

bool CSettingsComponent::Load ( void  )

Initialize all subcomponents with user values (loaded from user settings files, according to active profile).

Returns
true on success, false otherwise.

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