Debian Codegraph @

xbmc/guilib/guiinfo/VisualisationGUIInfo.h

raw symbols SCIP
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 "guilib/guiinfo/GUIInfoProvider.h"
12
13 namespace KODI
14 {
15 namespace GUILIB
16 {
17 namespace GUIINFO
18 {
19
20 class CGUIInfo;
21
22 class CVisualisationGUIInfo : public CGUIInfoProvider
23 {
24 public:
25 CVisualisationGUIInfo() = default;
26 ~CVisualisationGUIInfo() override = default;
27
28 // KODI::GUILIB::GUIINFO::IGUIInfoProvider implementation
29 bool InitCurrentItem(CFileItem *item) override;
30 bool GetLabel(std::string& value, const CFileItem *item, int contextWindow, const CGUIInfo &info, std::string *fallback) const override;
31 bool GetInt(int& value, const CGUIListItem *item, int contextWindow, const CGUIInfo &info) const override;
32 bool GetBool(bool& value, const CGUIListItem *item, int contextWindow, const CGUIInfo &info) const override;
33 };
34
35 } // namespace GUIINFO
36 } // namespace GUILIB
37 } // namespace KODI