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"
16 * \brief Class handling application support for settings.
19 class CApplicationSettingsHandling
: public ISettingCallback
,
20 public ISettingsHandler
,
24 void RegisterSettings();
25 void UnregisterSettings();
27 bool Load(const TiXmlNode
* settings
) override
;
28 bool Save(TiXmlNode
* settings
) const override
;
29 void OnSettingChanged(const std::shared_ptr
<const CSetting
>& setting
) override
;
30 void OnSettingAction(const std::shared_ptr
<const CSetting
>& setting
) override
;
31 bool OnSettingUpdate(const std::shared_ptr
<CSetting
>& setting
,
32 const char* oldSettingId
,
33 const TiXmlNode
* oldSettingNode
) override
;