Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include "Settings.h"
#include "settings/SettingsBase.h"
#include "settings/lib/Setting.h"
#include <algorithm>
#include <functional>
#include <utility>
Namespaces | |
namespace | XBMCAddon |
namespace | XBMCAddon::xbmcaddon |
Functions | |
template<class TSetting > | |
bool | XBMCAddon::xbmcaddon::GetSettingValue (const std::shared_ptr< CSettingsBase > &settings, const std::string &key, typename TSetting::Value &value) |
template<class TSetting > | |
bool | XBMCAddon::xbmcaddon::GetSettingValueList (const std::shared_ptr< CSettingsBase > &settings, const std::string &key, std::function< typename TSetting::Value(CVariant)> transform, std::vector< typename TSetting::Value > &values) |
template<class TSetting > | |
bool | XBMCAddon::xbmcaddon::SetSettingValue (const std::shared_ptr< CSettingsBase > &settings, const std::string &key, typename TSetting::Value value) |
template<class TSetting > | |
bool | XBMCAddon::xbmcaddon::SetSettingValueList (const std::shared_ptr< CSettingsBase > &settings, const std::string &key, const std::vector< typename TSetting::Value > &values) |