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