summaryrefslogtreecommitdiff
path: root/musicconn.h
diff options
context:
space:
mode:
Diffstat (limited to 'musicconn.h')
-rw-r--r--musicconn.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/musicconn.h b/musicconn.h
new file mode 100644
index 0000000..a38bf94
--- /dev/null
+++ b/musicconn.h
@@ -0,0 +1,26 @@
+#ifndef MUSICCONN_H
+#define MUSICCONN_H
+
+#include <QtCore/QObject>
+#include "sapconnection.h"
+#include "sapsocket.h"
+
+class MusicConn : public QObject
+{
+ Q_OBJECT
+
+public:
+ MusicConn(SAPConnection *conn, QObject *parent = 0);
+
+protected:
+
+private slots:
+ void handleConnected();
+ void handleMessageReceived();
+
+private:
+ SAPConnection *_conn;
+ SAPSocket *_socket;
+};
+
+#endif // MUSICCONN_H