| 1 |
/* |
| 2 |
* Copyright (C) 2012-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 "view/GUIViewState.h" |
| 12 |
|
| 13 |
namespace KODI |
| 14 |
{ |
| 15 |
namespace GAME |
| 16 |
{ |
| 17 |
/*! |
| 18 |
* \ingroup games |
| 19 |
*/ |
| 20 |
class CGUIViewStateWindowGames : public CGUIViewState |
| 21 |
{ |
| 22 |
public: |
| 23 |
explicit CGUIViewStateWindowGames(const CFileItemList& items); |
| 24 |
|
| 25 |
~CGUIViewStateWindowGames() override = default; |
| 26 |
|
| 27 |
// implementation of CGUIViewState |
| 28 |
std::string GetLockType() override; |
| 29 |
std::string GetExtensions() override; |
| 30 |
VECSOURCES& GetSources() override; |
| 31 |
|
| 32 |
protected: |
| 33 |
// implementation of CGUIViewState |
| 34 |
void SaveViewState() override; |
| 35 |
}; |
| 36 |
} // namespace GAME |
| 37 |
} // namespace KODI |