[Windows] Fix driver version detection of AMD RDNA+ GPU on Windows 10
[xbmc.git] / xbmc / pvr / windows / GUIWindowPVRTimersBase.h
blob2f4232d581a772a6e92a6e7a872a482347081b69
1 /*
2 * Copyright (C) 2012-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.
7 */
9 #pragma once
11 #include "pvr/windows/GUIWindowPVRBase.h"
13 #include <memory>
15 class CFileItem;
17 namespace PVR
19 class CGUIWindowPVRTimersBase : public CGUIWindowPVRBase
21 public:
22 CGUIWindowPVRTimersBase(bool bRadio, int id, const std::string& xmlFile);
23 ~CGUIWindowPVRTimersBase() override;
25 bool OnMessage(CGUIMessage& message) override;
26 bool OnAction(const CAction& action) override;
27 void OnPrepareFileItems(CFileItemList& items) override;
28 bool Update(const std::string& strDirectory, bool updateFilterPath = true) override;
29 void UpdateButtons() override;
31 private:
32 bool ActionShowTimer(const CFileItem& item);
34 std::shared_ptr<CFileItem> m_currentFileItem;
36 } // namespace PVR