kodi
Public Member Functions | List of all members
ISlideShowDelegate Class Referenceabstract
Inheritance diagram for ISlideShowDelegate:
Inheritance graph
[legend]

Public Member Functions

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
 

Member Function Documentation

◆ 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.

◆ 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.


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