Debian Codegraph @

xbmc/guilib/guiinfo/GUIInfoHelper.h

raw symbols SCIP
1 /*
2 * Copyright (C) 2005-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 "playlists/PlayListTypes.h"
12
13 #include <memory>
14 #include <string>
15
16 class CFileItem;
17
18 class CGUIListItem;
19
20 class CGUIControl;
21 class CGUIMediaWindow;
22 class CGUIWindow;
23
24 namespace KODI
25 {
26 namespace GUILIB
27 {
28 namespace GUIINFO
29 {
30
31 std::string GetPlaylistLabel(int item, PLAYLIST::Id playlistid = PLAYLIST::TYPE_NONE);
32
33 CGUIWindow* GetWindow(int contextWindow);
34 CGUIControl* GetActiveContainer(int containerId, int contextWindow);
35 CGUIMediaWindow* GetMediaWindow(int contextWindow);
36 std::shared_ptr<CGUIListItem> GetCurrentListItem(int contextWindow,
37 int containerId = 0,
38 int itemOffset = 0,
39 unsigned int itemFlags = 0);
40
41 std::string GetFileInfoLabelValueFromPath(int info, const std::string& filenameAndPath);
42
43 } // namespace GUIINFO
44 } // namespace GUILIB
45 } // namespace KODI