initial import
[ICEs.git] / 136309 / ice.ii.14
1 class QTime {
2 public: QTime addMSecs( int ms ) ;
3 unsigned ds;
4 };
5 int xine_get_pos_length (void *stream);
6 void xine_usec_sleep(unsigned usec);
7 class KXineWidget {
8 QTime getLengthInfo();
9 static QTime msToTime(int msec);
10 void *m_xineStream;
11 };
12 QTime KXineWidget::getLengthInfo() {
13 int ret = 0;
14 while((( xine_get_pos_length(m_xineStream)) == 0) ) ;
15 return msToTime(ret);
16 }
17 QTime KXineWidget::msToTime(int msec) {
18 QTime t;
19 t = t.addMSecs(msec);
20 return t;
21 }