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();
void setUserData(void *data)
Set some custom data you can retrieve later.
The CoverLookup class.
Definition: CoverLookup.h:47
std::shared_ptr< Lookup > LookupPtr
CoverLookupPtr.
Definition: CoverLookup.h:132
QList< QPixmap > pixmaps() const
Get a copy of all pixmaps that where fetched.
The CoverLookupInterface class.
Definition: AbstractCoverLookup.h:37
The CoverLocation class.
Definition: CoverLocation.h:38
void * userData()
Fetch your custom data again.
void stop() override
Stop the Cover::FetchThread if running and retrieve the sigFinished signal If no Cover::FetchThread i...
bool isThreadRunning() const
indicates if the Cover::FetchThread is running
Definition: EngineUtils.h:33