29 #ifndef SAYONARA_COVER_LOOKUP_H
30 #define SAYONARA_COVER_LOOKUP_H
32 #include "AbstractCoverLookup.h"
33 #include "Utils/Pimpl.h"
34 #include "Utils/CoverUtils.h"
55 Lookup(
const Location& coverLocation,
int n_covers, QObject* parent);
59 Util::Covers::Source source()
const;
62 void setUserData(
const T t)
68 auto userData()
const -> T
72 return std::any_cast<T>(mUserData);
85 void coverFound(
int idx);
86 void threadFinished();
87 void extractorFinished();
90 bool fetchFromDatabase();
91 void fetchFromExtractor();
94 bool startNewThread(
const Location& coverLocation);
95 bool addNewCover(
const QPixmap& pixmap,
bool save);
97 void done(
bool success);
Definition: CoverLocation.h:39
The CoverLookupInterface class.
Definition: AbstractCoverLookup.h:39
The CoverLookup class.
Definition: CoverLookup.h:50
Definition: EngineUtils.h:33