Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

ResSoundPack.h

Go to the documentation of this file.
00001 #ifndef HEADER_RESSOUNDPACK_H
00002 #define HEADER_RESSOUNDPACK_H
00003 
00004 class Path;
00005 
00006 #include "ResourcePack.h"
00007 
00008 #include "SDL_mixer.h"
00009 
00010 /**
00011  * Sound resources.
00012  */
00013 class ResSoundPack : public ResourcePack<Mix_Chunk*> {
00014     protected:
00015         virtual void unloadRes(Mix_Chunk *res);
00016     public:
00017         virtual const char *getName() const { return "sound_pack"; }
00018 
00019         static Mix_Chunk *loadSound(const Path &file);
00020         void addSound(const std::string &name, const Path &file);
00021 };
00022 
00023 #endif
00024 

Generated on Wed Jun 1 09:54:31 2005 for Fish Fillets - Next Generation by  doxygen 1.4.2