/*********************************************************************
*	Music player
*	HEADER FILE
*	Autor:	Michal Jirouš
*	Datum: 22.7.2008
*	Soubor: game_musicplayer.h
*	Popis: Modul inicializuje SDL audio a umoznuje prehravat a ovladat
*			prehravani hudby = jednoho hudebniho souboru.
**********************************************************************/

#ifndef __MUSIC_PLAYER_H__
#define __MUSIC_PLAYER_H__

namespace music_player
{
	bool init();
	bool openMusic( const char* filename );
	void destroy();
	void remove();
	void play( int loops );
	void pause();
	void stop();
	void resume();
	void fadein( int loops, int ms );
	void fadeout( int ms );
	bool isPlaying();
};

#endif

