kodi
Public Member Functions | List of all members
CSlideShowDelegator Class Reference
Inheritance diagram for CSlideShowDelegator:
Inheritance graph
[legend]
Collaboration diagram for CSlideShowDelegator:
Collaboration graph
[legend]

Public Member Functions

void SetDelegate (ISlideShowDelegate *delegate)
 
void ResetDelegate ()
 
void Add (const CFileItem *picture) override
 
bool IsPlaying () const override
 
void Select (const std::string &picture) override
 
void GetSlideShowContents (CFileItemList &list) override
 
std::shared_ptr< const CFileItemGetCurrentSlide () override
 
void StartSlideShow () override
 
void PlayPicture () override
 
bool InSlideShow () const override
 
int NumSlides () const override
 
int CurrentSlide () const override
 
bool IsPaused () const override
 
bool IsShuffled () const override
 
void Reset () override
 
void Shuffle () override
 
int GetDirection () const override
 
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="") override
 
void AddFromPath (const std::string &strPath, bool bRecursive, SortBy method=SortByLabel, SortOrder order=SortOrderAscending, SortAttribute sortAttributes=SortAttributeNone, const std::string &strExtensions="") override
 

Member Function Documentation

◆ AddFromPath()

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

Implements ISlideShowDelegate.

◆ RunSlideShow()

void CSlideShowDelegator::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 = "" 
)
overridevirtual
Todo:
  • refactor to use an options struct. Methods with so many arguments are a sign of a bad design...

Implements ISlideShowDelegate.


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