mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-27 01:54:20 +01:00
Fix Linux Minimal build.
This commit is contained in:
parent
7406057e5f
commit
e456ad679e
@ -22,11 +22,14 @@
|
|||||||
#include "core/logging.h"
|
#include "core/logging.h"
|
||||||
#include "engines/enginebase.h"
|
#include "engines/enginebase.h"
|
||||||
#include "internet/internetmodel.h"
|
#include "internet/internetmodel.h"
|
||||||
#include "internet/lastfmservice.h"
|
|
||||||
#include "playlist/playlistmanager.h"
|
#include "playlist/playlistmanager.h"
|
||||||
#include "playlist/playlistsequence.h"
|
#include "playlist/playlistsequence.h"
|
||||||
#include "playlist/playlist.h"
|
#include "playlist/playlist.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_LIBLASTFM
|
||||||
|
# include "internet/lastfmservice.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
IncomingDataParser::IncomingDataParser(Application* app)
|
IncomingDataParser::IncomingDataParser(Application* app)
|
||||||
:app_(app)
|
:app_(app)
|
||||||
{
|
{
|
||||||
@ -72,10 +75,12 @@ IncomingDataParser::IncomingDataParser(Application* app)
|
|||||||
connect(this, SIGNAL(Close(int)),
|
connect(this, SIGNAL(Close(int)),
|
||||||
app_->playlist_manager(), SLOT(Close(int)));
|
app_->playlist_manager(), SLOT(Close(int)));
|
||||||
|
|
||||||
|
#ifdef HAVE_LIBLASTFM
|
||||||
connect(this, SIGNAL(Love()),
|
connect(this, SIGNAL(Love()),
|
||||||
InternetModel::Service<LastFMService>(), SLOT(Love()));
|
InternetModel::Service<LastFMService>(), SLOT(Love()));
|
||||||
connect(this, SIGNAL(Ban()),
|
connect(this, SIGNAL(Ban()),
|
||||||
InternetModel::Service<LastFMService>(), SLOT(Ban()));
|
InternetModel::Service<LastFMService>(), SLOT(Ban()));
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
IncomingDataParser::~IncomingDataParser() {
|
IncomingDataParser::~IncomingDataParser() {
|
||||||
|
Loading…
Reference in New Issue
Block a user