Diffstat (limited to 'noncore/multimedia/opieplayer2/lib.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/lib.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/lib.h b/noncore/multimedia/opieplayer2/lib.h index 38938a1..75b9f12 100644 --- a/noncore/multimedia/opieplayer2/lib.h +++ b/noncore/multimedia/opieplayer2/lib.h | |||
@@ -42,4 +42,6 @@ | |||
42 | //#include "xine.h" | 42 | //#include "xine.h" |
43 | 43 | ||
44 | #include "threadutil.h" | ||
45 | |||
44 | class XineVideoWidget; | 46 | class XineVideoWidget; |
45 | 47 | ||
@@ -54,5 +56,5 @@ namespace XINE { | |||
54 | */ | 56 | */ |
55 | class Frame; | 57 | class Frame; |
56 | class Lib : public QObject { | 58 | class Lib : public ThreadUtil::Channel { |
57 | Q_OBJECT | 59 | Q_OBJECT |
58 | public: | 60 | public: |
@@ -177,4 +179,7 @@ namespace XINE { | |||
177 | void stopped(); | 179 | void stopped(); |
178 | 180 | ||
181 | protected: | ||
182 | virtual void receiveMessage( ThreadUtil::ChannelMessage *msg, SendType sendType ); | ||
183 | |||
179 | private: | 184 | private: |
180 | int m_bytes_per_pixel; | 185 | int m_bytes_per_pixel; |
@@ -191,4 +196,5 @@ namespace XINE { | |||
191 | 196 | ||
192 | void handleXineEvent( const xine_event_t* t ); | 197 | void handleXineEvent( const xine_event_t* t ); |
198 | void handleXineEvent( int type ); | ||
193 | void drawFrame( uint8_t* frame, int width, int height, int bytes ); | 199 | void drawFrame( uint8_t* frame, int width, int height, int bytes ); |
194 | // C -> C++ bridge for the event system | 200 | // C -> C++ bridge for the event system |