From ecc78d24bd45e3ded3ca5a3bd29962eb7cd83220 Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Fri, 16 Jul 2010 07:15:29 +0000 Subject: [PATCH] - added a None sound factory --- .../include/sound/sound_factory_none.h | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 source/shared_lib/include/sound/sound_factory_none.h diff --git a/source/shared_lib/include/sound/sound_factory_none.h b/source/shared_lib/include/sound/sound_factory_none.h new file mode 100644 index 000000000..d82cb0dd1 --- /dev/null +++ b/source/shared_lib/include/sound/sound_factory_none.h @@ -0,0 +1,28 @@ +//This file is part of Glest Shared Library (www.glest.org) +//Copyright (C) 2010 Mark Vejvoda + +//You can redistribute this code and/or modify it under +//the terms of the GNU General Public License as published by the Free Software +//Foundation; either version 2 of the License, or (at your option) any later +//version. + +#ifndef _SHARED_SOUND_SOUNDFACTORY_NONEL_H_ +#define _SHARED_SOUND_SOUNDFACTORY_NONEL_H_ + +#include "sound_factory.h" +//#include "sound_player_openal.h" + +namespace Shared{ namespace Sound{ + +// =============================== +// class SoundFactoryOpenAL +// =============================== + +class SoundFactoryNone : public SoundFactory{ +public: + virtual SoundPlayer* newSoundPlayer() {return NULL;} +}; + +}}//end namespace + +#endif