diff options
Diffstat (limited to 'xbmc/video/dialogs/GUIDialogCMSSettings.h')
-rw-r--r-- | xbmc/video/dialogs/GUIDialogCMSSettings.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/xbmc/video/dialogs/GUIDialogCMSSettings.h b/xbmc/video/dialogs/GUIDialogCMSSettings.h new file mode 100644 index 0000000..e718b29 --- /dev/null +++ b/xbmc/video/dialogs/GUIDialogCMSSettings.h @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2005-2018 Team Kodi + * This file is part of Kodi - https://kodi.tv + * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSES/README.md for more information. + */ + +#pragma once + +#include "settings/dialogs/GUIDialogSettingsManualBase.h" + +struct StringSettingOption; + +class CGUIDialogCMSSettings : public CGUIDialogSettingsManualBase +{ +public: + CGUIDialogCMSSettings(); + ~CGUIDialogCMSSettings() override; + +protected: + // implementations of ISettingCallback + void OnSettingChanged(const std::shared_ptr<const CSetting>& setting) override; + + // specialization of CGUIDialogSettingsBase + bool AllowResettingSettings() const override { return false; } + bool OnBack(int actionID) override; + bool Save() override; + void SetupView() override; + + // specialization of CGUIDialogSettingsManualBase + void InitializeSettings() override; + +private: + static void Cms3dLutsFiller(const std::shared_ptr<const CSetting>& setting, + std::vector<StringSettingOption>& list, + std::string& current, + void* data); +}; |