mirror of
https://github.com/glest/glest-source.git
synced 2025-08-15 04:43:58 +02:00
- added a None sound factory
This commit is contained in:
28
source/shared_lib/include/sound/sound_factory_none.h
Normal file
28
source/shared_lib/include/sound/sound_factory_none.h
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
//This file is part of Glest Shared Library (www.glest.org)
|
||||||
|
//Copyright (C) 2010 Mark Vejvoda <mark_vejvoda@hotmail.com>
|
||||||
|
|
||||||
|
//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
|
Reference in New Issue
Block a user