[videodb] Remove nested transaction when saving state after stopping PVR playback
[xbmc.git] / xbmc / programs / GUIViewStatePrograms.h
blob5d28f40208f7f1fd6bc741c5b992d1d85a2e3c12
1 /*
2 * Copyright (C) 2005-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 "view/GUIViewState.h"
13 class CGUIViewStateWindowPrograms : public CGUIViewState
15 public:
16 explicit CGUIViewStateWindowPrograms(const CFileItemList& items);
18 protected:
19 void SaveViewState() override;
20 std::string GetLockType() override;
21 std::string GetExtensions() override;
22 std::vector<CMediaSource>& GetSources() override;