Add (better) portrait mode support. This commit will temporarily break
[groove] / splayer.h
index 9ae0c37..239df92 100644 (file)
--- a/splayer.h
+++ b/splayer.h
@@ -6,6 +6,7 @@
 #include <phonon>
 #include "streamio.h"
 #include <QProgressDialog>
+#include "grooveprogressbar.h"
 
 class sPlayer : public QObject
 {
@@ -13,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();
 
@@ -33,6 +35,6 @@ private:
     bool playing;
     QObject *internal;
     QTime startStreamT;
-    QProgressDialog *pd;
+    grooveProgressBar *pd;
 };
 #endif // SPLAYER_H