Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

music.h

Go to the documentation of this file.
00001 #ifndef __MUSIC_H_
00002 #define __MUSIC_H_
00003 
00004 #include <SDL/SDL_mixer.h>
00005 #include <iostream>
00006 #include <string>
00007 
00008 using namespace std;
00009 
00010 class Music {
00011 public:
00012         Music();
00013         Music(string fileName);
00014         ~Music();
00015         bool Play(int loops);
00016         bool Stop();
00017         bool IsPlaying();
00018 private:
00019         Mix_Music *music;
00020         string name;
00021         bool playing;
00022 };
00023 
00024 #endif
00025 

Generated on Sun Dec 8 12:02:19 2002 for nnc by doxygen1.3-rc1