#include <GUIInfoProviders.h>
|
| CGUIInfoProviders () |
|
virtual | ~CGUIInfoProviders () |
|
void | RegisterProvider (IGUIInfoProvider *provider, bool bAppend=true) |
| Register a guiinfo provider.
|
|
void | UnregisterProvider (IGUIInfoProvider *provider) |
| Unregister a guiinfo provider.
|
|
bool | InitCurrentItem (CFileItem *item) |
| Init a new current guiinfo manager item. Gets called whenever the active guiinfo manager item changes.
|
|
bool | GetLabel (std::string &value, const CFileItem *item, int contextWindow, const CGUIInfo &info, std::string *fallback) const |
| Get a GUIInfoManager label string from one of the registered providers.
|
|
bool | GetInt (int &value, const CGUIListItem *item, int contextWindow, const CGUIInfo &info) const |
| Get a GUIInfoManager integer value from one of the registered providers.
|
|
bool | GetBool (bool &value, const CGUIListItem *item, int contextWindow, const CGUIInfo &info) const |
| Get a GUIInfoManager bool value from one of the registered providers.
|
|
void | UpdateAVInfo (const AudioStreamInfo &audioInfo, const VideoStreamInfo &videoInfo, const SubtitleStreamInfo &subtitleInfo) |
| Set new audio/video/subtitle stream info data at all registered providers.
|
|
CPlayerGUIInfo & | GetPlayerInfoProvider () |
| Get the player guiinfo provider.
|
|
CSystemGUIInfo & | GetSystemInfoProvider () |
| Get the system guiinfo provider.
|
|
CPicturesGUIInfo & | GetPicturesInfoProvider () |
| Get the pictures guiinfo provider.
|
|
CGUIControlsGUIInfo & | GetGUIControlsInfoProvider () |
| Get the gui controls guiinfo provider.
|
|
CLibraryGUIInfo & | GetLibraryInfoProvider () |
| Get the library guiinfo provider.
|
|
◆ CGUIInfoProviders()
CGUIInfoProviders::CGUIInfoProviders |
( |
| ) |
|
◆ ~CGUIInfoProviders()
CGUIInfoProviders::~CGUIInfoProviders |
( |
| ) |
|
|
virtual |
◆ GetBool()
Get a GUIInfoManager bool value from one of the registered providers.
- Parameters
-
value | Will be filled with the requested value. |
item | The item to get the value for. Can be nullptr. |
contextWindow | The context window. Can be 0. |
info | The GUI info (label id + additional data). |
- Returns
- True if the value was filled successfully by one of the providers, false otherwise.
◆ GetGUIControlsInfoProvider()
Get the gui controls guiinfo provider.
- Returns
- The gui controls guiinfo provider.
◆ GetInt()
Get a GUIInfoManager integer value from one of the registered providers.
- Parameters
-
value | Will be filled with the requested value. |
item | The item to get the value for. Can be nullptr. |
contextWindow | The context window. Can be 0. |
info | The GUI info (label id + additional data). |
- Returns
- True if the value was filled successfully by one of the providers, false otherwise.
◆ GetLabel()
bool CGUIInfoProviders::GetLabel |
( |
std::string & | value, |
|
|
const CFileItem * | item, |
|
|
int | contextWindow, |
|
|
const CGUIInfo & | info, |
|
|
std::string * | fallback ) const |
Get a GUIInfoManager label string from one of the registered providers.
- Parameters
-
value | Will be filled with the requested value. |
item | The item to get the value for. Can be nullptr. |
contextWindow | The context window. Can be 0. |
info | The GUI info (label id + additional data). |
fallback | A fallback value. Can be nullptr. |
- Returns
- True if the value was filled successfully by one of the providers, false otherwise.
◆ GetLibraryInfoProvider()
CLibraryGUIInfo & KODI::GUILIB::GUIINFO::CGUIInfoProviders::GetLibraryInfoProvider |
( |
| ) |
|
|
inline |
Get the library guiinfo provider.
- Returns
- The library guiinfo provider.
◆ GetPicturesInfoProvider()
CPicturesGUIInfo & KODI::GUILIB::GUIINFO::CGUIInfoProviders::GetPicturesInfoProvider |
( |
| ) |
|
|
inline |
Get the pictures guiinfo provider.
- Returns
- The pictures guiinfo provider.
◆ GetPlayerInfoProvider()
CPlayerGUIInfo & KODI::GUILIB::GUIINFO::CGUIInfoProviders::GetPlayerInfoProvider |
( |
| ) |
|
|
inline |
Get the player guiinfo provider.
- Returns
- The player guiinfo provider.
◆ GetSystemInfoProvider()
CSystemGUIInfo & KODI::GUILIB::GUIINFO::CGUIInfoProviders::GetSystemInfoProvider |
( |
| ) |
|
|
inline |
Get the system guiinfo provider.
- Returns
- The system guiinfo provider.
◆ InitCurrentItem()
Init a new current guiinfo manager item. Gets called whenever the active guiinfo manager item changes.
- Parameters
-
- Returns
- True if the item was inited by one of the providers, false otherwise.
◆ RegisterProvider()
Register a guiinfo provider.
- Parameters
-
provider | The provider to register. |
bAppend | True to append to the list of providers, false to insert before the first provider |
◆ UnregisterProvider()
Unregister a guiinfo provider.
- Parameters
-
provider | The provider to unregister. |
◆ UpdateAVInfo()
Set new audio/video/subtitle stream info data at all registered providers.
- Parameters
-
audioInfo | New audio stream info. |
videoInfo | New video stream info. |
subtitleInfo | New subtitle stream info. |
The documentation for this class was generated from the following files: