MythTV  master
Classes | Macros | Enumerations
imagemanager.h File Reference

Manages a collection of images. More...

#include "mythcorecontext.h"
#include "storagegroup.h"
#include "mythdirs.h"
#include "imagescanner.h"
#include "imagemetadata.h"
#include <QTemporaryDir>
Include dependency graph for imagemanager.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DeviceManager
 Manages image sources, ie. More...
 
class  ImageAdapterBase
 Common filesystem facilities. More...
 
class  ImageAdapterLocal
 Filesystem adapter for Frontend, managing local devices iaw MediaMonitor. More...
 
class  ImageAdapterSg
 Filesystem adapter for Backend, managing Photographs storage group. More...
 
class  ImageDb< FS >
 Database API. More...
 
class  ImageDbSg
 A Database API with SG adapter for remote images. More...
 
class  ImageDbLocal
 A Database with device adapter for local images. More...
 
class  ImageHandler< DBFS >
 A handler for image operations. Requires a database/filesystem adapter. More...
 
class  ImageManagerBe
 The image manager to be used by the Backend. More...
 
class  ImageDbReader
 Provides read access to local & remote images. More...
 
class  ImageManagerFe
 The image manager for use by Frontends. More...
 

Macros

#define IMAGE_STORAGE_GROUP   "Photographs"
 
#define THUMBNAIL_STORAGE_GROUP   "Temp"
 
#define TEMP_SUBDIR   "tmp"
 
#define THUMBNAIL_SUBDIR   "Images"
 
#define DEVICE_INVALID   -1
 

Enumerations

enum  ImageDisplayType { kPicAndVideo = 0, kPicOnly = 1, kVideoOnly = 2 }
 Display filter. More...
 

Detailed Description

Manages a collection of images.

Provides a generic Gallery comprising; a database API for reading images, a scanner to synchronise the database to a filesystem a thumbnail generator to manage thumbnails for each database image handlers for image operations

Definition in file imagemanager.h.

Macro Definition Documentation

◆ IMAGE_STORAGE_GROUP

#define IMAGE_STORAGE_GROUP   "Photographs"

Definition at line 57 of file imagemanager.h.

◆ THUMBNAIL_STORAGE_GROUP

#define THUMBNAIL_STORAGE_GROUP   "Temp"

Definition at line 58 of file imagemanager.h.

◆ TEMP_SUBDIR

#define TEMP_SUBDIR   "tmp"

Definition at line 61 of file imagemanager.h.

◆ THUMBNAIL_SUBDIR

#define THUMBNAIL_SUBDIR   "Images"

Definition at line 63 of file imagemanager.h.

◆ DEVICE_INVALID

#define DEVICE_INVALID   -1

Definition at line 65 of file imagemanager.h.

Enumeration Type Documentation

◆ ImageDisplayType

Display filter.

Enumerator
kPicAndVideo 

Show Pictures & Videos.

kPicOnly 

Hide videos.

kVideoOnly 

Hide pictures.

Definition at line 73 of file imagemanager.h.