blob: 256e6a8202e9eaa536d49bd4b32de1a7e7ded68d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#include <QtCore/QDebug>
#include "sappeer.h"
#include "musicconn.h"
#if SAILFISH
#include "libwatchfish/musiccontroller.h"
static watchfish::MusicController *controller = 0;
#endif
MusicConn::MusicConn(SAPConnection *conn, QObject *parent)
: QObject(parent), _conn(conn), _socket(conn->getSocket(100))
{
connect(_conn, SIGNAL(disconnected()), SLOT(deleteLater()));
connect(_conn, SIGNAL(destroyed()), SLOT(deleteLater()));
Q_ASSERT(_socket);
connect(_socket, SIGNAL(connected()), SLOT(handleConnected()));
connect(_socket, SIGNAL(messageReceived()), SLOT(handleMessageReceived()));
}
void MusicConn::handleConnected()
{
}
void MusicConn::handleMessageReceived()
{
}
|