sdlplayer reads qt resources ;)

This commit is contained in:
doitux
2007-06-02 23:23:21 +00:00
parent 35196f0732
commit 755fb7ac16
7 changed files with 36 additions and 32 deletions
+7 -2
View File
@@ -9,6 +9,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#include <QtCore>
#ifndef SDLPLAYER_H
#define SDLPLAYER_H
@@ -25,7 +27,9 @@
/**
@author FThauer FHammer <webmaster@pokerth.net>
*/
class SDLPlayer{
class SDLPlayer : public QObject{
Q_OBJECT
public:
SDLPlayer();
@@ -42,7 +46,8 @@ private:
Uint16 audio_format;
int audio_channels;
int audio_buffers;
Mix_Music *music;
Mix_Chunk *sound;
int currentChannel;
};