2 * Copyright (C) 2005-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
11 #include "settings/ISubSettings.h"
12 #include "settings/lib/ISettingCallback.h"
13 #include "settings/lib/ISettingsHandler.h"
18 * \brief Class handling application support for settings.
21 class CApplicationSettingsHandling
: public ISettingCallback
,
22 public ISettingsHandler
,
26 void RegisterSettings();
27 void UnregisterSettings();
29 bool Load(const TiXmlNode
* settings
) override
;
30 bool Save(TiXmlNode
* settings
) const override
;
31 void OnSettingChanged(const std::shared_ptr
<const CSetting
>& setting
) override
;
32 void OnSettingAction(const std::shared_ptr
<const CSetting
>& setting
) override
;
33 bool OnSettingUpdate(const std::shared_ptr
<CSetting
>& setting
,
34 const char* oldSettingId
,
35 const TiXmlNode
* oldSettingNode
) override
;