#include <GUIViewState.h>
|
| CGUIViewState (const CFileItemList &items) |
|
virtual void | SaveViewState ()=0 |
|
virtual void | SaveViewToDb (const std::string &path, int windowID, CViewState *viewState=NULL) |
|
void | LoadViewState (const std::string &path, int windowID) |
|
void | AddLiveTVSources () |
|
void | AddPlaylistOrder (const CFileItemList &items, const LABEL_MASKS &label_masks) |
| Add the sort order defined in a smartplaylist Defaults to SORT_METHOD_PLAYLIST_ORDER if no order is defined.
|
|
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 |
|
◆ ~CGUIViewState()
CGUIViewState::~CGUIViewState |
( |
| ) |
|
|
virtualdefault |
◆ CGUIViewState()
◆ AddLiveTVSources()
void CGUIViewState::AddLiveTVSources |
( |
| ) |
|
|
protected |
◆ AddPlaylistOrder()
Add the sort order defined in a smartplaylist Defaults to SORT_METHOD_PLAYLIST_ORDER if no order is defined.
- Parameters
-
items | the list of items for the view state. |
label_mask | the label masks for formatting items. |
◆ AddSortMethod() [1/3]
◆ AddSortMethod() [2/3]
◆ AddSortMethod() [3/3]
◆ AutoPlayNextItem()
bool CGUIViewState::AutoPlayNextItem |
( |
| ) |
|
|
virtual |
◆ AutoPlayNextVideoItem()
bool CGUIViewState::AutoPlayNextVideoItem |
( |
| ) |
const |
|
protected |
◆ ChooseSortMethod()
bool CGUIViewState::ChooseSortMethod |
( |
| ) |
|
◆ DisableAddSourceButtons()
bool CGUIViewState::DisableAddSourceButtons |
( |
| ) |
|
|
virtual |
◆ GetExtensions()
std::string CGUIViewState::GetExtensions |
( |
| ) |
|
|
virtual |
◆ GetLockType()
std::string CGUIViewState::GetLockType |
( |
| ) |
|
|
virtual |
◆ GetPlaylist()
◆ GetPlaylistDirectory()
const std::string & CGUIViewState::GetPlaylistDirectory |
( |
| ) |
|
◆ GetSortDescriptions()
std::vector< SortDescription > CGUIViewState::GetSortDescriptions |
( |
| ) |
const |
◆ GetSortMethod()
◆ GetSortMethodLabel()
int CGUIViewState::GetSortMethodLabel |
( |
| ) |
const |
◆ GetSortMethodLabelMasks()
◆ GetSortOrder()
SortOrder CGUIViewState::GetSortOrder |
( |
| ) |
const |
◆ GetSortOrderLabel()
int CGUIViewState::GetSortOrderLabel |
( |
| ) |
const |
◆ GetSources()
◆ GetViewAsControl()
int CGUIViewState::GetViewAsControl |
( |
| ) |
const |
◆ GetViewState()
◆ HasMultipleSortMethods()
bool CGUIViewState::HasMultipleSortMethods |
( |
| ) |
const |
◆ HideExtensions()
bool CGUIViewState::HideExtensions |
( |
| ) |
|
|
virtual |
◆ HideParentDirItems()
bool CGUIViewState::HideParentDirItems |
( |
| ) |
|
|
virtual |
◆ IsCurrentPlaylistDirectory()
bool CGUIViewState::IsCurrentPlaylistDirectory |
( |
const std::string & | strDirectory | ) |
|
◆ LoadViewState()
void CGUIViewState::LoadViewState |
( |
const std::string & | path, |
|
|
int | windowID ) |
|
protected |
◆ SaveViewAsControl()
void CGUIViewState::SaveViewAsControl |
( |
int | viewAsControl | ) |
|
◆ SaveViewState()
virtual void CGUIViewState::SaveViewState |
( |
| ) |
|
|
protectedpure virtual |
Implemented in CGUIViewStateAddonBrowser, CGUIViewStateEventLog, CGUIViewStateFavourites, CGUIViewStateFromItems, CGUIViewStateGeneral, CGUIViewStateLibrary, CGUIViewStateMusicDatabase, CGUIViewStateMusicPlaylist, CGUIViewStateMusicSearch, CGUIViewStateMusicSmartPlaylist, CGUIViewStateVideoEpisodes, CGUIViewStateVideoMovies, CGUIViewStateVideoMusicVideos, CGUIViewStateVideoPlaylist, CGUIViewStateVideoTVShows, CGUIViewStateWindowMusicNav, CGUIViewStateWindowMusicPlaylist, CGUIViewStateWindowPictures, CGUIViewStateWindowPrograms, CGUIViewStateWindowVideoNav, CGUIViewStateWindowVideoPlaylist, KODI::GAME::CGUIViewStateWindowGames, PVR::CGUIViewStateWindowPVRChannels, PVR::CGUIViewStateWindowPVRGuide, PVR::CGUIViewStateWindowPVRProviders, PVR::CGUIViewStateWindowPVRRecordings, PVR::CGUIViewStateWindowPVRSearch, and PVR::CGUIViewStateWindowPVRTimers.
◆ SaveViewToDb()
void CGUIViewState::SaveViewToDb |
( |
const std::string & | path, |
|
|
int | windowID, |
|
|
CViewState * | viewState = NULL ) |
|
protectedvirtual |
◆ SetCurrentSortMethod()
void CGUIViewState::SetCurrentSortMethod |
( |
int | method | ) |
|
◆ SetNextSortMethod()
◆ SetNextSortOrder()
SortOrder CGUIViewState::SetNextSortOrder |
( |
| ) |
|
◆ SetPlaylistDirectory()
void CGUIViewState::SetPlaylistDirectory |
( |
const std::string & | strDirectory | ) |
|
◆ SetSortMethod() [1/2]
◆ SetSortMethod() [2/2]
◆ SetSortOrder()
◆ SetViewAsControl()
void CGUIViewState::SetViewAsControl |
( |
int | viewAsControl | ) |
|
◆ m_currentSortMethod
int CGUIViewState::m_currentSortMethod |
|
protected |
◆ m_currentViewAsControl
int CGUIViewState::m_currentViewAsControl |
|
protected |
◆ m_items
◆ m_playlist
◆ m_sortMethods
◆ m_sources
◆ m_strPlaylistDirectory
std::string CGUIViewState::m_strPlaylistDirectory |
|
staticprotected |
The documentation for this class was generated from the following files: