#include <StaticProvider.h>
 | 
| static std::unique_ptr< IListProvider >  | Create (const TiXmlNode *parent, int parentID) | 
|   | Factory to create list providers.  
  | 
|   | 
| static std::unique_ptr< IListProvider >  | CreateSingle (const TiXmlNode *content, int parentID) | 
|   | Factory to create list providers. Cannot create a multi-provider.  
  | 
|   | 
◆ CStaticListProvider() [1/3]
      
        
          | CStaticListProvider::CStaticListProvider  | 
          ( | 
          const TiXmlElement * |           element,  | 
        
        
           | 
           | 
          int |           parentID ) | 
        
      
 
 
◆ CStaticListProvider() [2/3]
  
  
      
        
          | CStaticListProvider::CStaticListProvider  | 
          ( | 
          const std::vector< CGUIStaticItemPtr > & |           items | ) | 
           | 
         
       
   | 
  
explicit   | 
  
 
 
◆ CStaticListProvider() [3/3]
◆ ~CStaticListProvider()
  
  
      
        
          | CStaticListProvider::~CStaticListProvider  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
overridedefault   | 
  
 
 
◆ AlwaysFocusDefaultItem()
  
  
      
        
          | bool CStaticListProvider::AlwaysFocusDefaultItem  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ Clone()
Create an instance of the derived class. Allows for polymorphic copies. 
Implements IListProvider.
 
 
◆ Fetch()
  
  
      
        
          | void CStaticListProvider::Fetch  | 
          ( | 
          std::vector< std::shared_ptr< CGUIListItem > > & |           items | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
Fetch the current list of items. 
- Parameters
 - 
  
    | items | [out] the list to be filled.  | 
  
   
Implements IListProvider.
 
 
◆ GetDefaultItem()
  
  
      
        
          | int CStaticListProvider::GetDefaultItem  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ OnClick()
  
  
      
        
          | bool CStaticListProvider::OnClick  | 
          ( | 
          const std::shared_ptr< CGUIListItem > & |           item | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
Click event on an item. 
- Parameters
 - 
  
    | item | the item that was clicked.  | 
  
   
- Returns
 - true if the click was handled, false otherwise. 
 
Implements IListProvider.
 
 
◆ OnContextMenu()
  
  
      
        
          | bool CStaticListProvider::OnContextMenu  | 
          ( | 
          const std::shared_ptr< CGUIListItem > & |           item | ) | 
           | 
         
       
   | 
  
inlineoverridevirtual   | 
  
 
Open the context menu for an item provided by this IListProvider. 
- Parameters
 - 
  
    | item | the item that was clicked.  | 
  
   
- Returns
 - true if the click was handled, false otherwise. 
 
Implements IListProvider.
 
 
◆ OnInfo()
  
  
      
        
          | bool CStaticListProvider::OnInfo  | 
          ( | 
          const std::shared_ptr< CGUIListItem > & |           item | ) | 
           | 
         
       
   | 
  
inlineoverridevirtual   | 
  
 
Open the info dialog for an item provided by this IListProvider. 
- Parameters
 - 
  
    | item | the item that was clicked.  | 
  
   
- Returns
 - true if the dialog was shown, false otherwise. 
 
Implements IListProvider.
 
 
◆ SetDefaultItem()
  
  
      
        
          | void CStaticListProvider::SetDefaultItem  | 
          ( | 
          int |           item,  | 
         
        
           | 
           | 
          bool |           always ) | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ Update()
  
  
      
        
          | bool CStaticListProvider::Update  | 
          ( | 
          bool |           forceRefresh | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
Update the list content. 
- Returns
 - true if the content has changed, false otherwise. 
 
- Todo
 - Also returned changed if properties are changed (if so, need to update scroll to letter). 
 
Implements IListProvider.
 
 
The documentation for this class was generated from the following files: