 |
Sayonara Player
|
29 #ifndef COVERLOOKUP_H_
30 #define COVERLOOKUP_H_
32 #include "AbstractCoverLookup.h"
33 #include "Utils/Pimpl.h"
34 #include "CoverUtils.h"
89 Cover::Source source()
const;
93 bool fetchFromDatabase();
94 bool fetchFromExtractor();
98 bool startExtractor(
const Location& cl);
103 bool startNewThread(
const Location& cl);
105 bool addNewCover(
const QPixmap& pm,
bool save);
107 void emitFinished(
bool success);
117 void coverFound(
int idx);
122 void threadFinished(
bool);
124 void extractorFinished();
QList< QPixmap > pixmaps() const
Get a copy of all pixmaps that where fetched.
void * userData()
Fetch your custom data again.
void setUserData(void *data)
Set some custom data you can retrieve later.
Definition: EngineUtils.h:33
bool isThreadRunning() const
indicates if the Cover::FetchThread is running
std::shared_ptr< Lookup > LookupPtr
CoverLookupPtr.
Definition: CoverLookup.h:132
The CoverLookup class.
Definition: CoverLookup.h:47
The CoverLocation class.
Definition: CoverLocation.h:38
void stop() override
Stop the Cover::FetchThread if running and retrieve the sigFinished signal If no Cover::FetchThread i...
The CoverLookupInterface class.
Definition: AbstractCoverLookup.h:37