Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CFavouritesURL Class Reference

#include <FavouritesURL.h>

Public Types

enum class  Action {
  UNKNOWN , ACTIVATE_WINDOW , PLAY_MEDIA , SHOW_PICTURE ,
  RUN_SCRIPT , RUN_ADDON , START_ANDROID_ACTIVITY
}
 

Public Member Functions

 CFavouritesURL (const std::string &favouritesURL)
 
 CFavouritesURL (const CExecString &execString)
 
 CFavouritesURL (Action action, const std::vector< std::string > &params)
 
 CFavouritesURL (const CFileItem &item, int contextWindow)
 
virtual ~CFavouritesURL ()=default
 
const std::string & GetURL () const
 
bool IsValid () const
 
bool IsDir () const
 
std::string GetExecString () const
 
Action GetAction () const
 
std::vector< std::string > GetParams () const
 
const std::string & GetTarget () const
 
int GetWindowID () const
 
const std::string & GetActionLabel () const
 
const std::string & GetProviderLabel () const
 

Member Enumeration Documentation

◆ Action

enum class CFavouritesURL::Action
strong
Enumerator
UNKNOWN 
ACTIVATE_WINDOW 
PLAY_MEDIA 
SHOW_PICTURE 
RUN_SCRIPT 
RUN_ADDON 
START_ANDROID_ACTIVITY 

Constructor & Destructor Documentation

◆ CFavouritesURL() [1/4]

CFavouritesURL::CFavouritesURL ( const std::string & favouritesURL)
explicit

◆ CFavouritesURL() [2/4]

CFavouritesURL::CFavouritesURL ( const CExecString & execString)
explicit

◆ CFavouritesURL() [3/4]

CFavouritesURL::CFavouritesURL ( Action action,
const std::vector< std::string > & params )

◆ CFavouritesURL() [4/4]

CFavouritesURL::CFavouritesURL ( const CFileItem & item,
int contextWindow )

◆ ~CFavouritesURL()

virtual CFavouritesURL::~CFavouritesURL ( )
virtualdefault

Member Function Documentation

◆ GetAction()

Action CFavouritesURL::GetAction ( ) const
inline

◆ GetActionLabel()

const std::string & CFavouritesURL::GetActionLabel ( ) const
inline

◆ GetExecString()

std::string CFavouritesURL::GetExecString ( ) const
inline

◆ GetParams()

std::vector< std::string > CFavouritesURL::GetParams ( ) const
inline

◆ GetProviderLabel()

const std::string & CFavouritesURL::GetProviderLabel ( ) const
inline

◆ GetTarget()

const std::string & CFavouritesURL::GetTarget ( ) const
inline

◆ GetURL()

const std::string & CFavouritesURL::GetURL ( ) const
inline

◆ GetWindowID()

int CFavouritesURL::GetWindowID ( ) const
inline

◆ IsDir()

bool CFavouritesURL::IsDir ( ) const
inline

◆ IsValid()

bool CFavouritesURL::IsValid ( ) const
inline

The documentation for this class was generated from the following files: