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

#include <SettingsComponent.h>

Public Member Functions

 CSettingsComponent ()
 
virtual ~CSettingsComponent ()
 
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).
 
void Deinitialize ()
 Deinitialize all subcomponents.
 
std::shared_ptr< CSettingsGetSettings ()
 Get access to the settings subcomponent.
 
std::shared_ptr< CAdvancedSettingsGetAdvancedSettings ()
 Get access to the advanced settings subcomponent.
 
std::shared_ptr< KODI::SUBTITLES::CSubtitlesSettingsGetSubtitlesSettings ()
 Get access to the subtitles settings subcomponent.
 
std::shared_ptr< CProfileManagerGetProfileManager ()
 Get access to the profiles manager subcomponent.
 

Constructor & Destructor Documentation

◆ CSettingsComponent()

CSettingsComponent::CSettingsComponent ( )

◆ ~CSettingsComponent()

CSettingsComponent::~CSettingsComponent ( )
virtual

Member Function Documentation

◆ Deinitialize()

void CSettingsComponent::Deinitialize ( )

Deinitialize all subcomponents.

◆ 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 ( )

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.

◆ Initialize()

void CSettingsComponent::Initialize ( )

Initialize all subcomponents with system default values (loaded from code, system settings files, ...).

◆ Load()

bool CSettingsComponent::Load ( )

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: