Add portrait support, download progress
[groove] / splayer.h
index 07224ad..9ae0c37 100644 (file)
--- a/splayer.h
+++ b/splayer.h
@@ -5,6 +5,7 @@
 #include <QObject>
 #include <phonon>
 #include "streamio.h"
+#include <QProgressDialog>
 
 class sPlayer : public QObject
 {
@@ -21,6 +22,7 @@ signals:
 public slots:
     void start();
     void putb(qint64,qint64);
+    void abortDownload();
 private:
     QNetworkAccessManager *manager;
     Phonon::AudioOutput *audioOutput;
@@ -31,6 +33,6 @@ private:
     bool playing;
     QObject *internal;
     QTime startStreamT;
+    QProgressDialog *pd;
 };
-
 #endif // SPLAYER_H