summaryrefslogtreecommitdiffstats
path: root/vrplayer/mainwindow.h
diff options
context:
space:
mode:
authorLaxmikant Rashinkar <LK.Rashinkar@gmail.com>2013-06-27 17:48:52 -0700
committerLaxmikant Rashinkar <LK.Rashinkar@gmail.com>2013-06-27 17:48:52 -0700
commit6d3a2cd5fd6ef933159f0d79d7361c6d7434c2e9 (patch)
tree85d4a6ae48786324848a90be1e91ec957fdff0ce /vrplayer/mainwindow.h
parent74f3388a61f0f6b378da342dfa27d4c3191eb817 (diff)
downloadxrdp-proprietary-6d3a2cd5fd6ef933159f0d79d7361c6d7434c2e9.tar.gz
xrdp-proprietary-6d3a2cd5fd6ef933159f0d79d7361c6d7434c2e9.zip
vrplayer: pause video during window move and resize
Diffstat (limited to 'vrplayer/mainwindow.h')
-rw-r--r--vrplayer/mainwindow.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/vrplayer/mainwindow.h b/vrplayer/mainwindow.h
index 802fd10d..56f94edb 100644
--- a/vrplayer/mainwindow.h
+++ b/vrplayer/mainwindow.h
@@ -25,6 +25,8 @@
#include <QTimer>
#include <QPixmap>
#include <QPainter>
+#include <QFile>
+#include <QTimer>
#include "xrdpapi.h"
#include "xrdpvr.h"
@@ -75,6 +77,7 @@ private slots:
void onMediaDurationInSeconds(int duration);
void onElapsedTime(int secs);
void onSliderActionTriggered(int value);
+ void onMoveCompleted();
protected:
void resizeEvent(QResizeEvent *e);
@@ -98,6 +101,7 @@ private:
QSlider *slider;
QWidget *window;
bool acceptSliderMove;
+ QTimer *moveResizeTimer;
/* private stuff */
OurInterface *interface;
@@ -109,6 +113,7 @@ private:
int stream_id;
int64_t elapsedTime; /* elapsed time in usecs since play started */
int vcrFlag;
+ bool gotMediaOnCmdline;
/* private methods */
void setupUI();