kodi
GUIViewStateEventLog.h
1 /*
2  * Copyright (C) 2015-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 
14 {
15 public:
16  explicit CGUIViewStateEventLog(const CFileItemList& items);
17  ~CGUIViewStateEventLog() override = default;
18 
19  // specializations of CGUIViewState
20  bool HideExtensions() override { return true; }
21  bool HideParentDirItems() override { return true; }
22  bool DisableAddSourceButtons() override { return true; }
23 
24 protected:
25  // specializations of CGUIViewState
26  void SaveViewState() override;
27  std::string GetExtensions() override;
28 };
29 
Definition: GUIViewStateEventLog.h:13
Represents a list of files.
Definition: FileItem.h:702
Definition: GUIViewState.h:25