Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
KODI::VIDEO::GUILIB::CVideoPlayActionProcessorBase Class Referenceabstract

#include <VideoPlayActionProcessor.h>

Inheritance diagram for KODI::VIDEO::GUILIB::CVideoPlayActionProcessorBase:
KODI::VIDEO::GUILIB::CVideoSelectActionProcessorBase PVR::CGUIPVRRecordingsPlayActionProcessor

Public Member Functions

 CVideoPlayActionProcessorBase (const std::shared_ptr< CFileItem > &item)
 
virtual ~CVideoPlayActionProcessorBase ()=default
 
bool ProcessDefaultAction ()
 
bool ProcessAction (Action action)
 
bool UserCancelled () const
 

Static Public Member Functions

static Action ChoosePlayOrResume (const CFileItem &item)
 

Protected Member Functions

virtual Action GetDefaultAction ()
 
virtual bool Process (Action action)
 
virtual bool OnResumeSelected ()=0
 
virtual bool OnPlaySelected ()=0
 

Protected Attributes

std::shared_ptr< CFileItemm_item
 
bool m_userCancelled {false}
 

Constructor & Destructor Documentation

◆ CVideoPlayActionProcessorBase()

KODI::VIDEO::GUILIB::CVideoPlayActionProcessorBase::CVideoPlayActionProcessorBase ( const std::shared_ptr< CFileItem > & item)
inlineexplicit

◆ ~CVideoPlayActionProcessorBase()

virtual KODI::VIDEO::GUILIB::CVideoPlayActionProcessorBase::~CVideoPlayActionProcessorBase ( )
virtualdefault

Member Function Documentation

◆ ChoosePlayOrResume()

Action KODI::VIDEO::GUILIB::CVideoPlayActionProcessorBase::ChoosePlayOrResume ( const CFileItem & item)
static

◆ GetDefaultAction()

Action KODI::VIDEO::GUILIB::CVideoPlayActionProcessorBase::GetDefaultAction ( )
protectedvirtual

◆ OnPlaySelected()

virtual bool KODI::VIDEO::GUILIB::CVideoPlayActionProcessorBase::OnPlaySelected ( )
protectedpure virtual

◆ OnResumeSelected()

virtual bool KODI::VIDEO::GUILIB::CVideoPlayActionProcessorBase::OnResumeSelected ( )
protectedpure virtual

◆ Process()

bool KODI::VIDEO::GUILIB::CVideoPlayActionProcessorBase::Process ( Action action)
protectedvirtual

◆ ProcessAction()

bool KODI::VIDEO::GUILIB::CVideoPlayActionProcessorBase::ProcessAction ( Action action)

◆ ProcessDefaultAction()

bool KODI::VIDEO::GUILIB::CVideoPlayActionProcessorBase::ProcessDefaultAction ( )

◆ UserCancelled()

bool KODI::VIDEO::GUILIB::CVideoPlayActionProcessorBase::UserCancelled ( ) const
inline

Member Data Documentation

◆ m_item

std::shared_ptr<CFileItem> KODI::VIDEO::GUILIB::CVideoPlayActionProcessorBase::m_item
protected

◆ m_userCancelled

bool KODI::VIDEO::GUILIB::CVideoPlayActionProcessorBase::m_userCancelled {false}
protected

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