2 * Copyright (C) 2017-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/dialogs/GUIDialogSettingsManualBase.h"
20 struct IntegerSettingOption
;
26 class CGUIDialogPVRRecordingSettings
: public CGUIDialogSettingsManualBase
29 CGUIDialogPVRRecordingSettings();
31 void SetRecording(const std::shared_ptr
<CPVRRecording
>& recording
);
32 static bool CanEditRecording(const CFileItem
& item
);
35 // implementation of ISettingCallback
36 bool OnSettingChanging(const std::shared_ptr
<const CSetting
>& setting
) override
;
37 void OnSettingChanged(const std::shared_ptr
<const CSetting
>& setting
) override
;
39 // specialization of CGUIDialogSettingsBase
40 bool AllowResettingSettings() const override
{ return false; }
42 void SetupView() override
;
44 // specialization of CGUIDialogSettingsManualBase
45 void InitializeSettings() override
;
48 static void LifetimesFiller(const std::shared_ptr
<const CSetting
>& setting
,
49 std::vector
<IntegerSettingOption
>& list
,
53 std::shared_ptr
<CPVRRecording
> m_recording
;
54 std::string m_strTitle
;