[Windows] Fix driver version detection of AMD RDNA+ GPU on Windows 10
[xbmc.git] / xbmc / pvr / guilib / PVRGUIActionsDatabase.h
blob62eb4840ad673497202b43b6796e803b9e3e4368
1 /*
2 * Copyright (C) 2016-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/IPVRComponent.h"
13 namespace PVR
15 class CPVRGUIActionsDatabase : public IPVRComponent
17 public:
18 CPVRGUIActionsDatabase() = default;
19 ~CPVRGUIActionsDatabase() override = default;
21 /*!
22 * @brief Reset the TV database to it's initial state and delete all the data.
23 * @param bResetEPGOnly True to only reset the EPG database, false to reset both PVR and EPG
24 * database.
25 * @return true on success, false otherwise.
27 bool ResetDatabase(bool bResetEPGOnly);
29 private:
30 CPVRGUIActionsDatabase(const CPVRGUIActionsDatabase&) = delete;
31 CPVRGUIActionsDatabase const& operator=(CPVRGUIActionsDatabase const&) = delete;
34 namespace GUI
36 // pretty scope and name
37 using Database = CPVRGUIActionsDatabase;
38 } // namespace GUI
40 } // namespace PVR