return NULL;
}
+std::vector<CSettingSection*> CSettingsManager::GetSections() const
+{
+ CSharedLock lock(m_critical);
+ std::vector<CSettingSection*> sections;
+ for (SettingSectionMap::const_iterator sectionIt = m_sections.begin(); sectionIt != m_sections.end(); ++sectionIt)
+ sections.push_back(sectionIt->second);
+
+ return sections;
+}
+
CSettingSection* CSettingsManager::GetSection(const std::string §ion) const
{
CSharedLock lock(m_critical);
*/
CSetting* GetSetting(const std::string &id) const;
/*!
+ \brief Gets the full list of setting sections.
+
+ \return List of setting sections
+ */
+ std::vector<CSettingSection*> GetSections() const;
+ /*!
\brief Gets the setting section with the given identifier.
\param section Setting section identifier