]> git.tdb.fi Git - xinema.git/blob - source/xinestream.h
885797d0d6132cc8094c76405c4fdfbea4e221c9
[xinema.git] / source / xinestream.h
1 #ifndef XINESTREAM_H_
2 #define XINESTREAM_H_
3
4 #include <string>
5 #include <xine.h>
6
7 class XineEngine;
8
9 class XineStream
10 {
11 private:
12         xine_stream_t *stream;
13         xine_event_queue_t *queue;
14
15 public:
16         XineStream(XineEngine &, const std::string &);
17         ~XineStream();
18
19         void play();
20         void stop();
21
22         void tick();
23 private:
24         void handle_event(const xine_event_t &);
25 };
26
27 #endif