summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/xinecontrol.h
authorharlekin <harlekin>2002-07-06 23:21:45 (UTC)
committer harlekin <harlekin>2002-07-06 23:21:45 (UTC)
commitf975653aeec521ec473ed27eba1fc4d7648c0dd3 (patch) (unidiff)
tree3273440fc22fba619a90846e71ce8fde54dcd980 /noncore/multimedia/opieplayer2/xinecontrol.h
parent345c2059bdcfcde8c03c7ae6332b075705ac0a6f (diff)
downloadopie-f975653aeec521ec473ed27eba1fc4d7648c0dd3.zip
opie-f975653aeec521ec473ed27eba1fc4d7648c0dd3.tar.gz
opie-f975653aeec521ec473ed27eba1fc4d7648c0dd3.tar.bz2
first try to get stuff together
Diffstat (limited to 'noncore/multimedia/opieplayer2/xinecontrol.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/xinecontrol.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/xinecontrol.h b/noncore/multimedia/opieplayer2/xinecontrol.h
new file mode 100644
index 0000000..cba83c0
--- a/dev/null
+++ b/noncore/multimedia/opieplayer2/xinecontrol.h
@@ -0,0 +1,38 @@
1
2#ifndef XINECONTROL_H
3#define XINECONTROL_H
4
5#include "lib.h"
6#include <qobject.h>
7
8class XineControl : public QObject {
9 Q_OBJECT
10public:
11 XineControl( QObject *parent, const char *name );
12 ~XineControl();
13
14private slots:
15 void play( const QString& fileName );
16 void stop();
17 void pause( bool );
18
19 int currentTime();
20
21 // get length of media file and set it
22 void length();
23
24 int position();
25
26private:
27 XINE::Lib *libXine;
28 int m_length;
29 int m_currentTime;
30 int m_position;
31
32signals:
33 void positionChanged( int position );
34
35};
36
37
38#endif