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

#include <ISlideShowDelegate.h>

Inheritance diagram for ISlideShowDelegate:
CGUIWindowSlideShow CSlideShowDelegator

Public Member Functions

 ISlideShowDelegate ()=default
 
virtual ~ISlideShowDelegate ()=default
 
virtual void Add (const CFileItem *picture)=0
 
virtual bool IsPlaying () const =0
 
virtual void Select (const std::string &picture)=0
 
virtual void GetSlideShowContents (CFileItemList &list)=0
 
virtual std::shared_ptr< const CFileItemGetCurrentSlide ()=0
 
virtual void StartSlideShow ()=0
 
virtual void PlayPicture ()=0
 
virtual bool InSlideShow () const =0
 
virtual int NumSlides () const =0
 
virtual int CurrentSlide () const =0
 
virtual bool IsPaused () const =0
 
virtual bool IsShuffled () const =0
 
virtual void Reset ()=0
 
virtual void Shuffle ()=0
 
virtual int GetDirection () const =0
 
virtual void RunSlideShow (const std::string &strPath, bool bRecursive=false, bool bRandom=false, bool bNotRandom=false, const std::string &beginSlidePath="", bool startSlideShow=true, SortBy method=SortByLabel, SortOrder order=SortOrderAscending, SortAttribute sortAttributes=SortAttributeNone, const std::string &strExtensions="")=0
 
virtual void AddFromPath (const std::string &strPath, bool bRecursive, SortBy method=SortByLabel, SortOrder order=SortOrderAscending, SortAttribute sortAttributes=SortAttributeNone, const std::string &strExtensions="")=0
 

Constructor & Destructor Documentation

◆ ISlideShowDelegate()

ISlideShowDelegate::ISlideShowDelegate ( )
default

◆ ~ISlideShowDelegate()

virtual ISlideShowDelegate::~ISlideShowDelegate ( )
virtualdefault

Member Function Documentation

◆ Add()

virtual void ISlideShowDelegate::Add ( const CFileItem * picture)
pure virtual

◆ AddFromPath()

virtual void ISlideShowDelegate::AddFromPath ( const std::string & strPath,
bool bRecursive,
SortBy method = SortByLabel,
SortOrder order = SortOrderAscending,
SortAttribute sortAttributes = SortAttributeNone,
const std::string & strExtensions = "" )
pure virtual
Todo
  • refactor to use an options struct. Methods with so many arguments are a sign of a bad design...

Implemented in CGUIWindowSlideShow, and CSlideShowDelegator.

◆ CurrentSlide()

virtual int ISlideShowDelegate::CurrentSlide ( ) const
pure virtual

◆ GetCurrentSlide()

virtual std::shared_ptr< const CFileItem > ISlideShowDelegate::GetCurrentSlide ( )
pure virtual

◆ GetDirection()

virtual int ISlideShowDelegate::GetDirection ( ) const
pure virtual

◆ GetSlideShowContents()

virtual void ISlideShowDelegate::GetSlideShowContents ( CFileItemList & list)
pure virtual

◆ InSlideShow()

virtual bool ISlideShowDelegate::InSlideShow ( ) const
pure virtual

◆ IsPaused()

virtual bool ISlideShowDelegate::IsPaused ( ) const
pure virtual

◆ IsPlaying()

virtual bool ISlideShowDelegate::IsPlaying ( ) const
pure virtual

◆ IsShuffled()

virtual bool ISlideShowDelegate::IsShuffled ( ) const
pure virtual

◆ NumSlides()

virtual int ISlideShowDelegate::NumSlides ( ) const
pure virtual

◆ PlayPicture()

virtual void ISlideShowDelegate::PlayPicture ( )
pure virtual

◆ Reset()

virtual void ISlideShowDelegate::Reset ( )
pure virtual

◆ RunSlideShow()

virtual void ISlideShowDelegate::RunSlideShow ( const std::string & strPath,
bool bRecursive = false,
bool bRandom = false,
bool bNotRandom = false,
const std::string & beginSlidePath = "",
bool startSlideShow = true,
SortBy method = SortByLabel,
SortOrder order = SortOrderAscending,
SortAttribute sortAttributes = SortAttributeNone,
const std::string & strExtensions = "" )
pure virtual
Todo
  • refactor to use an options struct. Methods with so many arguments are a sign of a bad design...

Implemented in CGUIWindowSlideShow, and CSlideShowDelegator.

◆ Select()

virtual void ISlideShowDelegate::Select ( const std::string & picture)
pure virtual

◆ Shuffle()

virtual void ISlideShowDelegate::Shuffle ( )
pure virtual

◆ StartSlideShow()

virtual void ISlideShowDelegate::StartSlideShow ( )
pure virtual

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