Provides an interface for thumbnail implementations.
A CYIImageView is provided, and subclasses will update that view with thumbnail images given a time.
#include <player/YiThumbnails.h>
Public Member Functions | |
| IYIThumbnails (CYIImageView *pThumbnailNode) | |
| virtual | ~IYIThumbnails () |
| virtual void | Init (const CYIString &path)=0 |
| virtual void | Update (uint64_t uTime)=0 |
Protected Member Functions | |
| void | SetFilePath (const CYIString &path) |
Protected Attributes | |
| CYIString | m_AbsolutePath |
| CYIImageView * | m_pThumbnailNode |
|
inline |
|
inlinevirtual |
|
pure virtual |
Initialize with an absolute path to the thumbnails file on disk.
Subclasses can provide overloads of `Init` if they choose.
Implemented in CYIImageMapThumbnails, and CYIBifThumbnails.
|
inlineprotected |
|
pure virtual |
Update the node with the appropriate thumbnail content when the video is at uTime milliseconds
Implemented in CYIBifThumbnails, and CYIImageMapThumbnails.
|
protected |
|
protected |