#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 | 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, const 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 |
| |
◆ ~CGUIViewState()
| CGUIViewState::~CGUIViewState |
( |
| ) |
|
|
virtualdefault |
◆ CGUIViewState()
◆ AddAddonsSource()
| void CGUIViewState::AddAddonsSource |
( |
const std::string & |
content, |
|
|
const std::string & |
label, |
|
|
const std::string & |
thumb |
|
) |
| |
|
protected |
Add the addons source for the given content type, if the user has suitable addons.
- Parameters
-
| content | the type of addon content desired |
| label | the name of the addons source |
| thumb | the skin image to use as the icon |
◆ 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()
| int CGUIViewState::GetPlaylist |
( |
| ) |
const |
|
virtual |
◆ GetPlaylistDirectory()
| const std::string & CGUIViewState::GetPlaylistDirectory |
( |
| ) |
|
◆ 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, KODI::GAME::CGUIViewStateWindowGames, CGUIViewStateMusicSearch, CGUIViewStateMusicDatabase, CGUIViewStateMusicSmartPlaylist, CGUIViewStateMusicPlaylist, CGUIViewStateWindowMusicNav, CGUIViewStateWindowMusicPlaylist, CGUIViewStateWindowPictures, CGUIViewStateWindowPrograms, PVR::CGUIViewStateWindowPVRChannels, PVR::CGUIViewStateWindowPVRRecordings, PVR::CGUIViewStateWindowPVRGuide, PVR::CGUIViewStateWindowPVRTimers, PVR::CGUIViewStateWindowPVRSearch, CGUIViewStateWindowVideoNav, CGUIViewStateWindowVideoPlaylist, CGUIViewStateVideoMovies, CGUIViewStateVideoMusicVideos, CGUIViewStateVideoTVShows, CGUIViewStateVideoEpisodes, CGUIViewStateGeneral, CGUIViewStateFromItems, and CGUIViewStateLibrary.
◆ 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
| int CGUIViewState::m_playlist |
|
protected |
◆ m_sortMethods
◆ m_sources
◆ m_strPlaylistDirectory
| std::string CGUIViewState::m_strPlaylistDirectory |
|
staticprotected |
The documentation for this class was generated from the following files: