![]() |
Kodi Documentation
18.0
Kodi is an open source media player and entertainment hub.
|
#include <GUIViewStateVideo.h>
Public Member Functions | |
CGUIViewStateWindowVideoPlaylist (const CFileItemList &items) | |
![]() | |
CGUIViewStateWindowVideo (const CFileItemList &items) | |
![]() | |
virtual | ~CGUIViewState () |
void | SetViewAsControl (int viewAsControl) |
void | SaveViewAsControl (int viewAsControl) |
int | GetViewAsControl () const |
bool | ChooseSortMethod () |
SortDescription | SetNextSortMethod (int direction=1) |
void | SetCurrentSortMethod (int method) |
SortDescription | GetSortMethod () const |
bool | HasMultipleSortMethods () const |
int | GetSortMethodLabel () const |
int | GetSortOrderLabel () const |
void | GetSortMethodLabelMasks (LABEL_MASKS &masks) const |
SortOrder | SetNextSortOrder () |
SortOrder | GetSortOrder () const |
virtual bool | DisableAddSourceButtons () |
const std::string & | GetPlaylistDirectory () |
void | SetPlaylistDirectory (const std::string &strDirectory) |
bool | IsCurrentPlaylistDirectory (const std::string &strDirectory) |
Protected Member Functions | |
void | SaveViewState () override |
bool | HideExtensions () override |
bool | HideParentDirItems () override |
VECSOURCES & | GetSources () override |
![]() | |
std::string | GetLockType () override |
int | GetPlaylist () const override |
std::string | GetExtensions () override |
bool | AutoPlayNextItem () override |
![]() | |
CGUIViewState (const CFileItemList &items) | |
virtual void | SaveViewToDb (const std::string &path, int windowID, CViewState *viewState=NULL) |
void | LoadViewState (const std::string &path, int windowID) |
void | AddAddonsSource (const std::string &content, const std::string &label, const std::string &thumb) |
Add the addons source for the given content type, if the user has suitable addons. More... | |
void | AddLiveTVSources () |
void | AddPlaylistOrder (const CFileItemList &items, LABEL_MASKS label_masks) |
Add the sort order defined in a smartplaylist Defaults to SORT_METHOD_PLAYLIST_ORDER if no order is defined. More... | |
void | AddSortMethod (SortBy sortBy, int buttonLabel, const LABEL_MASKS &labelMasks, SortAttribute sortAttributes=SortAttributeNone, SortOrder sortOrder=SortOrderNone) |
void | AddSortMethod (SortBy sortBy, SortAttribute sortAttributes, int buttonLabel, const LABEL_MASKS &labelMasks, SortOrder sortOrder=SortOrderNone) |
void | AddSortMethod (SortDescription sortDescription, int buttonLabel, const LABEL_MASKS &labelMasks) |
void | SetSortMethod (SortBy sortBy, SortOrder sortOrder=SortOrderNone) |
void | SetSortMethod (SortDescription sortDescription) |
void | SetSortOrder (SortOrder sortOrder) |
bool | AutoPlayNextVideoItem () const |
Additional Inherited Members | |
![]() | |
static CGUIViewState * | GetViewState (int windowId, const CFileItemList &items) |
![]() | |
const CFileItemList & | m_items |
int | m_currentViewAsControl |
int | m_playlist |
std::vector< GUIViewSortDetails > | m_sortMethods |
int | m_currentSortMethod |
![]() | |
static VECSOURCES | m_sources |
static std::string | m_strPlaylistDirectory |
|
explicit |
|
overrideprotectedvirtual |
Reimplemented from CGUIViewStateWindowVideo.
|
overrideprotectedvirtual |
Reimplemented from CGUIViewState.
|
overrideprotectedvirtual |
Reimplemented from CGUIViewState.
Implements CGUIViewState.