MythTV  master
Classes | Macros | Variables
imagemanager.cpp File Reference
#include "imagemanager.h"
#include <QImageReader>
#include <QRunnable>
#include <utility>
#include "dbaccess.h"
#include "mthreadpool.h"
#include "mythdate.h"
#include "mythmediamonitor.h"
Include dependency graph for imagemanager.cpp:

Go to the source code of this file.

Classes

class  Device
 A device containing images (ie. USB stick, CD, storage group etc) More...
 
class  ReadMetaThread
 Task to read all metadata from file. More...
 

Macros

#define LOC   QString("ImageManager: ")
 
#define DBLOC   QString("ImageDb(%1): ").arg(m_table)
 
#define STORAGE_GROUP_MOUNT   ""
 
#define DB_TABLE   "gallery_files"
 
#define RESULT_ERR(ERR, MESG)
 
#define RESULT_OK(MESG)
 
#define IMPORTDIR   "Import"
 
#define DB_COLUMNS
 

Variables

static Device kNullDevice = Device("Unknown Device", "<Invalid Path>")
 

Macro Definition Documentation

◆ LOC

#define LOC   QString("ImageManager: ")

Definition at line 13 of file imagemanager.cpp.

◆ DBLOC

#define DBLOC   QString("ImageDb(%1): ").arg(m_table)

Definition at line 14 of file imagemanager.cpp.

◆ STORAGE_GROUP_MOUNT

#define STORAGE_GROUP_MOUNT   ""

Definition at line 17 of file imagemanager.cpp.

◆ DB_TABLE

#define DB_TABLE   "gallery_files"

Definition at line 19 of file imagemanager.cpp.

◆ RESULT_ERR

#define RESULT_ERR (   ERR,
  MESG 
)
Value:
{ LOG(VB_GENERAL, LOG_ERR, LOC + (MESG)); \
return QStringList("ERROR") << (ERR); }
#define ERR
#define LOG(_MASK_, _LEVEL_, _STRING_)
Definition: mythlogging.h:41
#define LOC

Definition at line 21 of file imagemanager.cpp.

◆ RESULT_OK

#define RESULT_OK (   MESG)
Value:
{ LOG(VB_FILE, LOG_DEBUG, LOC + (MESG)); \
return QStringList("OK"); }
#define LOG(_MASK_, _LEVEL_, _STRING_)
Definition: mythlogging.h:41
#define LOC

Definition at line 25 of file imagemanager.cpp.

◆ IMPORTDIR

#define IMPORTDIR   "Import"

Definition at line 29 of file imagemanager.cpp.

◆ DB_COLUMNS

#define DB_COLUMNS
Value:
"file_id, filename, name, dir_id, type, modtime, size, " \
"extension, date, hidden, orientation, angle, path, zoom"

Definition at line 501 of file imagemanager.cpp.

Variable Documentation

◆ kNullDevice

Device kNullDevice = Device("Unknown Device", "<Invalid Path>")
static