29 #ifndef COVERLOOKUP_H_ 30 #define COVERLOOKUP_H_ 32 #include "AbstractCoverLookup.h" 33 #include "Utils/Pimpl.h" 34 #include "CoverUtils.h" 90 Cover::Source source()
const;
94 bool fetch_from_database();
95 bool fetch_from_extractor();
96 bool fetch_from_www();
99 bool start_extractor(
const Location& cl);
104 bool start_new_thread(
const Location& cl);
106 bool add_new_cover(
const QPixmap& pm,
bool save);
108 void emit_finished(
bool success);
118 void cover_found(
int idx);
123 void thread_finished(
bool);
125 void extractor_finished();
bool is_thread_running() const
indicates if the Cover::FetchThread is running
The CoverLookup class.
Definition: CoverLookup.h:47
void set_user_data(void *data)
Set some custom data you can retrieve later.
std::shared_ptr< Lookup > LookupPtr
CoverLookupPtr.
Definition: CoverLookup.h:133
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:42
void stop() override
Stop the Cover::FetchThread if running and retrieve the sig_finished signal If no Cover::FetchThread ...
void * user_data()
Fetch your custom data again.
Definition: AbstractCoverLookup.h:30
Definition: EngineUtils.h:33