Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
No Matches
IMAGE_FILES::ISpecialImageFileLoader Class Referenceabstract

An interface to load special image files into a texture for display. More...

#include <SpecialImageFileLoader.h>

Inheritance diagram for IMAGE_FILES::ISpecialImageFileLoader:
CPictureFolderImageFileLoader KODI::VIDEO::CVideoChapterImageFileLoader KODI::VIDEO::CVideoEmbeddedImageFileLoader KODI::VIDEO::CVideoGeneratedImageFileLoader MUSIC_INFO::CMusicEmbeddedImageFileLoader PVR::CPVRChannelGroupImageFileLoader

Public Member Functions

virtual bool CanLoad (const std::string &specialType) const =0
virtual std::unique_ptr< CTextureLoad (const std::string &specialType, const std::string &filePath, unsigned int preferredWidth, unsigned int preferredHeight) const =0
virtual ~ISpecialImageFileLoader ()=default

Detailed Description

An interface to load special image files into a texture for display.

Special image files are images that are more than just a link or path to an image file, such as generated or embedded images - like album covers embedded in music files or thumbnails generated from video files.

Constructor & Destructor Documentation

◆ ~ISpecialImageFileLoader()

virtual IMAGE_FILES::ISpecialImageFileLoader::~ISpecialImageFileLoader ( )

Member Function Documentation

◆ CanLoad()

◆ Load()

virtual std::unique_ptr< CTexture > IMAGE_FILES::ISpecialImageFileLoader::Load ( const std::string & specialType,
const std::string & filePath,
unsigned int preferredWidth,
unsigned int preferredHeight ) const
pure virtual

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