|
Kodi Docs 20.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 More... | |
| virtual std::string | GetCachedImage (const CFileItem &item, const std::string &type) |
| Checks whether the given item has an image listed in the texture database. More... | |
| 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. More... | |
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 |
| std::vector< CFileItemPtr > | m_vecItems |
| CCriticalSection | m_lock |
| volatile bool | m_bIsLoading |
| volatile bool | m_bStop |
| CThread * | m_thread |
| IBackgroundLoaderObserver * | m_pObserver |
| IProgressCallback * | m_pProgressCallback |
Additional Inherited Members |
| 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 |