#include <PVRGUIInfo.h>
|
| CPVRGUIInfo () |
|
| ~CPVRGUIInfo () override=default |
|
void | Start () |
|
void | Stop () |
|
void | Notify (const PVREvent &event) |
| CEventStream callback for PVR events.
|
|
void | Notify (const PVRChannelNumberInputChangedEvent &event) |
| CEventStream callback for channel number input changes.
|
|
void | Notify (const PVRPreviewAndPlayerShowInfoChangedEvent &event) |
| CEventStream callback for channel preview and player show info changes.
|
|
bool | InitCurrentItem (CFileItem *item) override |
| 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 KODI::GUILIB::GUIINFO::CGUIInfo &info, std::string *fallback) const override |
| Get a GUIInfoManager label string.
|
|
bool | GetFallbackLabel (std::string &value, const CFileItem *item, int contextWindow, const KODI::GUILIB::GUIINFO::CGUIInfo &info, std::string *fallback) override |
| Get a GUIInfoManager label fallback string. Will be called if none of the registered provider's GetLabel() implementation has returned success.
|
|
bool | GetInt (int &value, const CGUIListItem *item, int contextWindow, const KODI::GUILIB::GUIINFO::CGUIInfo &info) const override |
| Get a GUIInfoManager integer value.
|
|
bool | GetBool (bool &value, const CGUIListItem *item, int contextWindow, const KODI::GUILIB::GUIINFO::CGUIInfo &info) const override |
| Get a GUIInfoManager bool value.
|
|
| CGUIInfoProvider ()=default |
|
| ~CGUIInfoProvider () override=default |
|
void | UpdateAVInfo (const AudioStreamInfo &audioInfo, const VideoStreamInfo &videoInfo, const SubtitleStreamInfo &subtitleInfo) override |
| Set new audio/video stream info data.
|
|
virtual | ~IGUIInfoProvider ()=default |
|
◆ CPVRGUIInfo()
CPVRGUIInfo::CPVRGUIInfo |
( |
| ) |
|
◆ ~CPVRGUIInfo()
PVR::CPVRGUIInfo::~CPVRGUIInfo |
( |
| ) |
|
|
overridedefault |
◆ GetBool()
Get a GUIInfoManager bool value.
- 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, false otherwise.
Implements KODI::GUILIB::GUIINFO::IGUIInfoProvider.
◆ GetFallbackLabel()
Get a GUIInfoManager label fallback string. Will be called if none of the registered provider's GetLabel() implementation has returned success.
- 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, false otherwise.
Reimplemented from KODI::GUILIB::GUIINFO::CGUIInfoProvider.
◆ GetInt()
Get a GUIInfoManager integer value.
- 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, false otherwise.
Implements KODI::GUILIB::GUIINFO::IGUIInfoProvider.
◆ GetLabel()
Get a GUIInfoManager label string.
- 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, false otherwise.
Implements KODI::GUILIB::GUIINFO::IGUIInfoProvider.
◆ 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 the provider, false otherwise.
Implements KODI::GUILIB::GUIINFO::IGUIInfoProvider.
◆ Notify() [1/3]
CEventStream callback for channel number input changes.
- Parameters
-
◆ Notify() [2/3]
◆ Notify() [3/3]
CEventStream callback for channel preview and player show info changes.
- Parameters
-
◆ Start()
void CPVRGUIInfo::Start |
( |
| ) |
|
◆ Stop()
void CPVRGUIInfo::Stop |
( |
| ) |
|
The documentation for this class was generated from the following files: