|
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <ThumbLoader.h>
Public Member Functions | |
| CThumbLoader () | |
| ~CThumbLoader () override | |
| void | OnLoaderStart () override |
| void | OnLoaderFinish () override |
| virtual bool | FillLibraryArt (CFileItem &item) |
| helper function to fill the art for a library item | |
| virtual std::string | GetCachedImage (const CFileItem &item, const std::string &type) |
| Checks whether the given item has an image listed in the texture database. | |
| virtual void | SetCachedImage (const CFileItem &item, const std::string &type, const std::string &image) |
| Associate an image with the given item in the texture database. | |
Public Member Functions inherited from CBackgroundInfoLoader | |
| CBackgroundInfoLoader () | |
| ~CBackgroundInfoLoader () override | |
| void | Load (CFileItemList &items) |
| bool | IsLoading () |
| void | Run () override |
| void | SetObserver (IBackgroundLoaderObserver *pObserver) |
| void | SetProgressCallback (IProgressCallback *pCallback) |
| virtual bool | LoadItem (CFileItem *pItem) |
| virtual bool | LoadItemCached (CFileItem *pItem) |
| virtual bool | LoadItemLookup (CFileItem *pItem) |
| void | StopThread () |
| void | StopAsync () |
Public Member Functions inherited from IRunnable | |
| virtual void | Cancel () |
| virtual | ~IRunnable ()=default |
Protected Attributes | |
| CTextureDatabase * | m_textureDatabase |
Protected Attributes inherited from CBackgroundInfoLoader | |
| CFileItemList * | m_pVecItems {nullptr} |
| std::vector< CFileItemPtr > | m_vecItems |
| CCriticalSection | m_lock |
| volatile bool | m_bIsLoading {false} |
| volatile bool | m_bStop {true} |
| std::unique_ptr< CThread > | m_thread {} |
| IBackgroundLoaderObserver * | m_pObserver {nullptr} |
| IProgressCallback * | m_pProgressCallback {nullptr} |
Additional Inherited Members | |
Protected Member Functions inherited from CBackgroundInfoLoader |
| CThumbLoader::CThumbLoader | ( | ) |
|
override |
helper function to fill the art for a library item
| item | a CFileItem |
Reimplemented in CMusicThumbLoader, and CVideoThumbLoader.
|
virtual |
Checks whether the given item has an image listed in the texture database.
| item | CFileItem to check |
| type | the type of image to retrieve |
|
overridevirtual |
Reimplemented from CBackgroundInfoLoader.
Reimplemented in CVideoThumbLoader.
|
overridevirtual |
Reimplemented from CBackgroundInfoLoader.
Reimplemented in CVideoThumbLoader.
|
virtual |
Associate an image with the given item in the texture database.
| item | CFileItem to associate the image with |
| type | the type of image |
| image | the URL of the image |
|
protected |