summaryrefslogtreecommitdiffstats
path: root/xbmc/games/windows/GUIViewStateWindowGames.h
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/games/windows/GUIViewStateWindowGames.h')
-rw-r--r--xbmc/games/windows/GUIViewStateWindowGames.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/xbmc/games/windows/GUIViewStateWindowGames.h b/xbmc/games/windows/GUIViewStateWindowGames.h
new file mode 100644
index 0000000..90ad821
--- /dev/null
+++ b/xbmc/games/windows/GUIViewStateWindowGames.h
@@ -0,0 +1,34 @@
+/*
+ * Copyright (C) 2012-2018 Team Kodi
+ * This file is part of Kodi - https://kodi.tv
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ * See LICENSES/README.md for more information.
+ */
+
+#pragma once
+
+#include "view/GUIViewState.h"
+
+namespace KODI
+{
+namespace GAME
+{
+class CGUIViewStateWindowGames : public CGUIViewState
+{
+public:
+ explicit CGUIViewStateWindowGames(const CFileItemList& items);
+
+ ~CGUIViewStateWindowGames() override = default;
+
+ // implementation of CGUIViewState
+ std::string GetLockType() override;
+ std::string GetExtensions() override;
+ VECSOURCES& GetSources() override;
+
+protected:
+ // implementation of CGUIViewState
+ void SaveViewState() override;
+};
+} // namespace GAME
+} // namespace KODI