Debian Codegraph @

xbmc/events/windows/GUIViewStateEventLog.h

raw
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
13 class CGUIViewStateEventLog : public CGUIViewState
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