| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 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 |
} |
| 44 |
} |
| 45 |
} |