Go to the documentation of this file.00001
00002
00003 #ifndef _SOUND_FACTORY_H_
00004 #define _SOUND_FACTORY_H_
00005
00006 #include <EngineConfig.h>
00007 #include <core/Types.h>
00008
00009 namespace sound
00010 {
00011
00012 class Sound;
00013 class SoundData;
00014
00015 class ENGINE_PUBLIC_EXPORT SoundFactory
00016 {
00017 public:
00018
00020 virtual Sound* createSound(SoundData* soundData) = 0;
00021 virtual Sound* createSound(const std::string& name, SoundData* soundData) = 0;
00022
00024 virtual void destroySound(Sound* sound) = 0;
00025 };
00026
00027 }
00028
00029 #endif