|
|
| CDirectoryProvider (const TiXmlElement *element, int parentID) |
| |
|
| CDirectoryProvider (const CDirectoryProvider &other) |
| |
|
std::unique_ptr< IListProvider > | Clone () override |
| | Create an instance of the derived class. Allows for polymorphic copies.
|
| |
| bool | Update (bool forceRefresh) override |
| | Update the list content. More...
|
| |
|
void | Announce (ANNOUNCEMENT::AnnouncementFlag flag, const std::string &sender, const std::string &message, const CVariant &data) override |
| |
| void | Fetch (std::vector< std::shared_ptr< CGUIListItem >> &items) override |
| | Fetch the current list of items. More...
|
| |
|
void | Reset () override |
| | Reset the current list of items. Derived classes may choose to ignore this.
|
| |
| bool | OnClick (const std::shared_ptr< CGUIListItem > &item) override |
| | Click event on an item. More...
|
| |
| bool | OnPlay (const std::shared_ptr< CGUIListItem > &item) override |
| | Play event on an item. More...
|
| |
|
bool | OnInfo (const std::shared_ptr< CFileItem > &item) |
| |
|
bool | OnContextMenu (const std::shared_ptr< CFileItem > &item) |
| |
| bool | OnInfo (const std::shared_ptr< CGUIListItem > &item) override |
| | Open the info dialog for an item provided by this IListProvider. More...
|
| |
| bool | OnContextMenu (const std::shared_ptr< CGUIListItem > &item) override |
| | Open the context menu for an item provided by this IListProvider. More...
|
| |
| bool | IsUpdating () const override |
| | Check whether the list provider is updating content. More...
|
| |
| void | FreeResources (bool immediately) override |
| | Free all GUI resources allocated by the items. More...
|
| |
| void | OnJobComplete (unsigned int jobID, bool success, CJob *job) override |
| | The callback used when a job completes. More...
|
| |
|
| IListProvider (int parentID) |
| |
|
| IListProvider (const IListProvider &other)=default |
| |
| virtual void | SetDefaultItem (int item, bool always) |
| | Set the default item to focus. For backwards compatibility. More...
|
| |
| virtual int | GetDefaultItem () const |
| | The default item to focus. More...
|
| |
| virtual bool | AlwaysFocusDefaultItem () const |
| | Whether to always focus the default item. More...
|
| |
| virtual | ~IJobCallback ()=default |
| | Destructor for job call back objects. More...
|
| |
| virtual void | OnJobAbort (unsigned int jobID, CJob *job) |
| | An optional callback function used when a job will be aborted. More...
|
| |
| virtual void | OnJobProgress (unsigned int jobID, unsigned int progress, unsigned int total, const CJob *job) |
| | An optional callback function that a job may call while processing. More...
|
| |