Consolidated play / pause to single button
[vlc-remote] / playermainwindow.h
index 0f44d1b..4ab0541 100644 (file)
@@ -24,6 +24,7 @@
 #include <QTimer>
 #include "playlistmainwindow.h"
 #include "browsemainwindow.h"
+#include "vlcstatus.h"
 
 namespace Ui {
     class PlayerMainWindow;
@@ -40,6 +41,7 @@ public slots:
     void showConfig();
     void showAbout();
     void play();
+    void playpause();
     void stop();
     void pause();
     void previous();
@@ -49,6 +51,7 @@ public slots:
     void volDown();
     void volMute();
     void slide(int value);
+    void updateUiWithCurrentStatus();
 
 
 protected slots:
@@ -66,6 +69,7 @@ private:
     QTimer * mTimer;
     int mVolume;
     int mMuted;
+    VlcStatus mCurrentStatus;
 
 };