MythTV
master
|
#include <libmythmetadata/imagethumbs.h>
Public Member Functions | |
ImageThumb (DBFS *dbfs) | |
Constructor. More... | |
~ImageThumb () | |
Destructor . More... | |
void | ClearThumbs (int devId, const QString &action) |
Clears thumbnails for a device. More... | |
QString | DeleteThumbs (const ImageList &images) |
Remove specific thumbnails. More... | |
void | CreateThumbnail (const ImagePtrK &im, int priority=kBackgroundPriority, bool notify=false) |
Creates a thumbnail. More... | |
void | MoveThumbnail (const ImagePtrK &im) |
Renames a thumbnail. More... | |
void | PauseBackground (bool pause) |
Pauses or restarts processing of background tasks (scanner requests) More... | |
Private Member Functions | |
int | Priority (ImageItemK &im) |
Assign priority to a background task. More... | |
Private Attributes | |
DBFS & | m_dbfs |
Db/filesystem adapter. More... | |
ThumbThread< DBFS > * | m_imageThread |
Thread generating picture thumbnails. More... | |
ThumbThread< DBFS > * | m_videoThread |
Thread generating video previews. More... | |
Definition at line 127 of file imagethumbs.h.
|
explicit |
Constructor.
Definition at line 340 of file imagethumbs.cpp.
ImageThumb< DBFS >::~ImageThumb |
Destructor .
Definition at line 351 of file imagethumbs.cpp.
void ImageThumb< DBFS >::ClearThumbs | ( | int | devId, |
const QString & | action | ||
) |
Clears thumbnails for a device.
devId | Device identity |
action | [DEVICE] (CLOSE | CLEAR) |
Definition at line 366 of file imagethumbs.cpp.
QString ImageThumb< DBFS >::DeleteThumbs | ( | const ImageList & | images | ) |
Remove specific thumbnails.
images | List of obselete images |
Definition at line 397 of file imagethumbs.cpp.
void ImageThumb< DBFS >::CreateThumbnail | ( | const ImagePtrK & | im, |
int | priority = kBackgroundPriority , |
||
bool | notify = false |
||
) |
Creates a thumbnail.
im | Image |
priority | Request priority |
notify | If true a THUMB_AVAILABLE event will be generated |
Definition at line 430 of file imagethumbs.cpp.
void ImageThumb< DBFS >::MoveThumbnail | ( | const ImagePtrK & | im | ) |
void ImageThumb< DBFS >::PauseBackground | ( | bool | pause | ) |
Pauses or restarts processing of background tasks (scanner requests)
Definition at line 490 of file imagethumbs.cpp.
|
inlineprivate |
Assign priority to a background task.
Definition at line 148 of file imagethumbs.h.
|
private |
Db/filesystem adapter.
Definition at line 152 of file imagethumbs.h.
|
private |
Thread generating picture thumbnails.
Definition at line 154 of file imagethumbs.h.
|
private |
Thread generating video previews.
Definition at line 156 of file imagethumbs.h.