![]() |
Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
|
#include <GUIAction.h>
Public Member Functions | |
CGUIAction ()=default | |
CGUIAction (int controlID) | |
bool | ExecuteActions (int controlID, int parentID, const CGUIListItemPtr &item=NULL) const |
bool | HasActionsMeetingCondition () const |
bool | HasAnyActions () const |
int | GetNavigation () const |
void | SetNavigation (int id) |
Friends | |
class | CGUIControlFactory |
Class containing vector of condition->(action/navigation route) pairs and handling its execution.
|
default |
|
explicit |
bool CGUIAction::ExecuteActions | ( | int | controlID, |
int | parentID, | ||
const CGUIListItemPtr & | item = NULL |
||
) | const |
Execute actions (no navigation paths), if action is paired with condition - evaluate condition first
int CGUIAction::GetNavigation | ( | ) | const |
Get navigation route that meet its conditions first
bool CGUIAction::HasActionsMeetingCondition | ( | ) | const |
Check if there is any action that meet its condition
|
inline |
Check if there is any action
void CGUIAction::SetNavigation | ( | int | id | ) |
Set navigation route
|
friend |