Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CGUIViewStateEventLog Class Reference

#include <GUIViewStateEventLog.h>

Inheritance diagram for CGUIViewStateEventLog:
CGUIViewState

Public Member Functions

 CGUIViewStateEventLog (const CFileItemList &items)
 
 ~CGUIViewStateEventLog () override=default
 
bool HideExtensions () override
 
bool HideParentDirItems () override
 
bool DisableAddSourceButtons () override
 
- Public Member Functions inherited from CGUIViewState
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
 
std::vector< SortDescriptionGetSortDescriptions () const
 
SortOrder SetNextSortOrder ()
 
SortOrder GetSortOrder () const
 
virtual KODI::PLAYLIST::Id GetPlaylist () const
 
const std::string & GetPlaylistDirectory ()
 
void SetPlaylistDirectory (const std::string &strDirectory)
 
bool IsCurrentPlaylistDirectory (const std::string &strDirectory)
 
virtual bool AutoPlayNextItem ()
 
virtual std::string GetLockType ()
 
virtual std::vector< CMediaSource > & GetSources ()
 

Protected Member Functions

void SaveViewState () override
 
std::string GetExtensions () override
 
- Protected Member Functions inherited from CGUIViewState
 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 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
 

Additional Inherited Members

- Static Public Member Functions inherited from CGUIViewState
static CGUIViewStateGetViewState (int windowId, const CFileItemList &items)
 
- Protected Attributes inherited from CGUIViewState
const CFileItemListm_items
 
int m_currentViewAsControl
 
KODI::PLAYLIST::Id m_playlist
 
std::vector< GUIViewSortDetailsm_sortMethods
 
int m_currentSortMethod
 
- Static Protected Attributes inherited from CGUIViewState
static std::vector< CMediaSourcem_sources
 
static std::string m_strPlaylistDirectory
 

Constructor & Destructor Documentation

◆ CGUIViewStateEventLog()

CGUIViewStateEventLog::CGUIViewStateEventLog ( const CFileItemList & items)
explicit

◆ ~CGUIViewStateEventLog()

CGUIViewStateEventLog::~CGUIViewStateEventLog ( )
overridedefault

Member Function Documentation

◆ DisableAddSourceButtons()

bool CGUIViewStateEventLog::DisableAddSourceButtons ( )
inlineoverridevirtual

Reimplemented from CGUIViewState.

◆ GetExtensions()

std::string CGUIViewStateEventLog::GetExtensions ( )
overrideprotectedvirtual

Reimplemented from CGUIViewState.

◆ HideExtensions()

bool CGUIViewStateEventLog::HideExtensions ( )
inlineoverridevirtual

Reimplemented from CGUIViewState.

◆ HideParentDirItems()

bool CGUIViewStateEventLog::HideParentDirItems ( )
inlineoverridevirtual

Reimplemented from CGUIViewState.

◆ SaveViewState()

void CGUIViewStateEventLog::SaveViewState ( )
overrideprotectedvirtual

Implements CGUIViewState.


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