Initial structure. New abstract levels: dataobjecst, storage
[someplayer] / src / player.h
diff --git a/src/player.h b/src/player.h
new file mode 100644 (file)
index 0000000..0350e02
--- /dev/null
@@ -0,0 +1,24 @@
+#ifndef PLAYER_H
+#define PLAYER_H
+#include <QObject>
+#include <phonon/audiooutput.h>
+#include <phonon/seekslider.h>
+#include <phonon/mediaobject.h>
+#include <phonon/volumeslider.h>
+#include <phonon/backendcapabilities.h>
+
+class Player : public QObject
+{
+       Q_OBJECT
+public:
+       explicit Player();
+       ~Player();
+private:
+       Phonon::MediaObject *object;
+       Phonon::AudioOutput *output;
+
+public slots:
+       void playSong(QString filename);
+};
+
+#endif // PLAYER_H