kodi
PVRGUIActionsDatabase.h
1 /*
2  * Copyright (C) 2016-2018 Team Kodi
3  * This file is part of Kodi - https://kodi.tv
4  *
5  * SPDX-License-Identifier: GPL-2.0-or-later
6  * See LICENSES/README.md for more information.
7  */
8 
9 #pragma once
10 
11 #include "pvr/IPVRComponent.h"
12 
13 namespace PVR
14 {
16 {
17 public:
18  CPVRGUIActionsDatabase() = default;
19  ~CPVRGUIActionsDatabase() override = default;
20 
27  bool ResetDatabase(bool bResetEPGOnly);
28 
29 private:
31  CPVRGUIActionsDatabase const& operator=(CPVRGUIActionsDatabase const&) = delete;
32 };
33 
34 namespace GUI
35 {
36 // pretty scope and name
37 using Database = CPVRGUIActionsDatabase;
38 } // namespace GUI
39 
40 } // namespace PVR
Definition: ContextMenuManager.h:24
Definition: IPVRComponent.h:13
Definition: PVRGUIActionsDatabase.h:15
bool ResetDatabase(bool bResetEPGOnly)
Reset the TV database to it's initial state and delete all the data.
Definition: PVRGUIActionsDatabase.cpp:156