![]() |
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <PlayListB4S.h>
Public Member Functions | |
CPlayListB4S (void) | |
~CPlayListB4S (void) override | |
bool | LoadData (std::istream &stream) override |
void | Save (const std::string &strFileName) const override |
![]() | |
CPlayList (Id id=Id::TYPE_NONE) | |
virtual | ~CPlayList (void)=default |
virtual bool | Load (const std::string &strFileName) |
virtual bool | LoadData (const std::string &strData) |
void | Add (const CPlayList &playlist) |
void | Add (const std::shared_ptr< CFileItem > &pItem) |
void | Add (const CFileItemList &items) |
void | Insert (const CPlayList &playlist, int iPosition=-1) |
void | Insert (const CFileItemList &items, int iPosition=-1) |
void | Insert (const std::shared_ptr< CFileItem > &item, int iPosition=-1) |
int | FindOrder (int iOrder) const |
const std::string & | GetName () const |
void | Remove (const std::string &strFileName) |
void | Remove (int position) |
bool | Swap (int position1, int position2) |
bool | Expand (int position) |
void | Clear () |
int | size () const |
int | RemoveDVDItems () |
const std::shared_ptr< CFileItem > | operator[] (int iItem) const |
std::shared_ptr< CFileItem > | operator[] (int iItem) |
void | Shuffle (int iPosition=0) |
void | UnShuffle () |
bool | IsShuffled () const |
void | SetPlayed (bool bPlayed) |
bool | WasPlayed () const |
void | SetUnPlayable (int iItem) |
int | GetPlayable () const |
void | UpdateItem (const CFileItem *item) |
const std::string & | ResolveURL (const std::shared_ptr< CFileItem > &item) const |
Additional Inherited Members | |
![]() | |
typedef std::vector< std::shared_ptr< CFileItem > >::iterator | ivecItems |
![]() | |
Id | m_id |
std::string | m_strPlayListName |
std::string | m_strBasePath |
int | m_iPlayableItems |
bool | m_bShuffled |
bool | m_bWasPlayed |
std::vector< std::shared_ptr< CFileItem > > | m_vecItems |
|
default |
|
overridedefault |
|
overridevirtual |
Reimplemented from KODI::PLAYLIST::CPlayList.
|
overridevirtual |
Reimplemented from KODI::PLAYLIST::CPlayList.