0350e025bf5ad320ab9ed88c97b95a6e0bee02bb
[someplayer] / src / player.h
1 #ifndef PLAYER_H
2 #define PLAYER_H
3 #include <QObject>
4 #include <phonon/audiooutput.h>
5 #include <phonon/seekslider.h>
6 #include <phonon/mediaobject.h>
7 #include <phonon/volumeslider.h>
8 #include <phonon/backendcapabilities.h>
9
10 class Player : public QObject
11 {
12         Q_OBJECT
13 public:
14         explicit Player();
15         ~Player();
16 private:
17         Phonon::MediaObject *object;
18         Phonon::AudioOutput *output;
19
20 public slots:
21         void playSong(QString filename);
22 };
23
24 #endif // PLAYER_H