Multiple download fix, Added pause button, Added next button
[groove] / groove.h
index 9a473c8..4abda41 100644 (file)
--- a/groove.h
+++ b/groove.h
@@ -3,8 +3,12 @@
 #include <QtGui>
 #include "gscom.h"
 #include "splayer.h"
+#if defined(Q_WS_MAEMO_5) || defined(Q_WS_HILDON)
 #include "qmaemo5rotator.h"
+#endif
 #include <QMenuBar>
+#include "playlist.h"
+#include "grooveprogressbar.h"
 
 class groove : public QWidget
 {
@@ -19,11 +23,12 @@ public slots:
     void finishedS();
     void changeS( QAction * action);
     void play();
-    void startP();
     void stop();
     void moreB();
     void orientationChanged();
-
+private slots:
+    void progressUpdate(int,qint64,qint64);
+    void addSongPlaylist();
 private:
     sPlayer *player;
     QMenuBar *mBar;
@@ -34,7 +39,11 @@ private:
     QPushButton *button;
     bool portrait;
     gscom *gs;
+#if defined(Q_WS_MAEMO_5) || defined(Q_WS_HILDON)
     QMaemo5Rotator *rot;
+#endif
+    playlist *pl;
+    grooveProgressBar *pd;
 
 };