summaryrefslogtreecommitdiff
path: root/client/player.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/player.h')
-rw-r--r--client/player.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/client/player.h b/client/player.h
index f8497d0..abceb9d 100644
--- a/client/player.h
+++ b/client/player.h
@@ -29,13 +29,26 @@
#include <QThread>
+#include "videowidget.h"
+
+#include <X11/Xlib.h>
+#include <X11/extensions/Xvlib.h>
+
class Player : public QThread
{
public:
- Player();
+ Player(VideoWidget *video);
~Player();
void run();
+
+private:
+ Display *display;
+ Drawable drawable;
+ GC gc;
+ XvPortID port;
+
+ VideoWidget *video;
};
#endif/*__MIAV_PLAYER_H__*/