mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-07 15:52:11 +01:00
Fix webremote branch
This commit is contained in:
parent
50abf41609
commit
a8ef587fac
@ -22,6 +22,7 @@
|
||||
#include "core/logging.h"
|
||||
#include "engines/enginebase.h"
|
||||
#include "internet/core/internetmodel.h"
|
||||
#include "networkremote/songsender.h"
|
||||
#include "playlist/playlistmanager.h"
|
||||
#include "playlist/playlistsequence.h"
|
||||
#include "playlist/playlist.h"
|
||||
|
@ -1,7 +1,10 @@
|
||||
#include "remoteclient.h"
|
||||
|
||||
#include "networkremote/songsender.h"
|
||||
|
||||
RemoteClient::RemoteClient(Application* app, QObject* parent)
|
||||
: QObject(parent),
|
||||
app_(app),
|
||||
downloader_(false) {
|
||||
downloader_(false),
|
||||
song_sender_(new SongSender(app, this)) {
|
||||
}
|
||||
|
@ -4,13 +4,11 @@
|
||||
#include <QAbstractSocket>
|
||||
#include <QObject>
|
||||
|
||||
#include "songsender.h"
|
||||
|
||||
#include "core/application.h"
|
||||
#include "remotecontrolmessages.pb.h"
|
||||
|
||||
class Application;
|
||||
class QByteArray;
|
||||
class SongSender;
|
||||
|
||||
class RemoteClient : public QObject {
|
||||
Q_OBJECT
|
||||
@ -31,6 +29,7 @@ class RemoteClient : public QObject {
|
||||
protected:
|
||||
Application* app_;
|
||||
bool downloader_;
|
||||
SongSender* song_sender_;
|
||||
};
|
||||
|
||||
#endif // REMOTECLIENT_H
|
||||
|
@ -23,8 +23,11 @@
|
||||
|
||||
#include "core/application.h"
|
||||
#include "core/logging.h"
|
||||
#include "core/player.h"
|
||||
#include "core/utilities.h"
|
||||
#include "library/librarybackend.h"
|
||||
#include "networkremote/outgoingdatacreator.h"
|
||||
#include "networkremote/remoteclient.h"
|
||||
#include "playlist/playlistitem.h"
|
||||
|
||||
const quint32 SongSender::kFileChunkSize = 100000; // in Bytes
|
||||
|
Loading…
Reference in New Issue
Block a user