summaryrefslogtreecommitdiffstats
path: root/xbmc/favourites/GUIViewStateFavourites.h
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/favourites/GUIViewStateFavourites.h')
-rw-r--r--xbmc/favourites/GUIViewStateFavourites.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/xbmc/favourites/GUIViewStateFavourites.h b/xbmc/favourites/GUIViewStateFavourites.h
new file mode 100644
index 0000000..aad4444
--- /dev/null
+++ b/xbmc/favourites/GUIViewStateFavourites.h
@@ -0,0 +1,24 @@
+/*
+ * Copyright (C) 2022 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"
+
+class CFileItemList;
+
+class CGUIViewStateFavourites : public CGUIViewState
+{
+public:
+ CGUIViewStateFavourites(const CFileItemList& items);
+ ~CGUIViewStateFavourites() override = default;
+
+protected:
+ void SaveViewState() override;
+ bool HideParentDirItems() override { return true; };
+};