Add (better) portrait mode support. This commit will temporarily break
[groove] / splayer.h
index 07224ad..239df92 100644 (file)
--- a/splayer.h
+++ b/splayer.h
@@ -5,6 +5,8 @@
 #include <QObject>
 #include <phonon>
 #include "streamio.h"
+#include <QProgressDialog>
+#include "grooveprogressbar.h"
 
 class sPlayer : public QObject
 {
@@ -12,6 +14,7 @@ class sPlayer : public QObject
 public:
     explicit sPlayer(QObject *parent = 0);
     void play(QString StreamKey, QUrl server);
+    void play(QString StreamKey, QUrl server,QMaemo5Rotator::Orientation orientation);
     void stop();
     ~sPlayer();
 
@@ -21,6 +24,7 @@ signals:
 public slots:
     void start();
     void putb(qint64,qint64);
+    void abortDownload();
 private:
     QNetworkAccessManager *manager;
     Phonon::AudioOutput *audioOutput;
@@ -31,6 +35,6 @@ private:
     bool playing;
     QObject *internal;
     QTime startStreamT;
+    grooveProgressBar *pd;
 };
-
 #endif // SPLAYER_H