diff options
Diffstat (limited to 'intern/audaspace/FX/AUD_SumFactory.h')
-rw-r--r-- | intern/audaspace/FX/AUD_SumFactory.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/intern/audaspace/FX/AUD_SumFactory.h b/intern/audaspace/FX/AUD_SumFactory.h new file mode 100644 index 00000000000..5cb48e26b10 --- /dev/null +++ b/intern/audaspace/FX/AUD_SumFactory.h @@ -0,0 +1,46 @@ +/* + * $Id$ + * + * ***** BEGIN LGPL LICENSE BLOCK ***** + * + * Copyright 2009 Jörg Hermann Müller + * + * This file is part of AudaSpace. + * + * AudaSpace is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * AudaSpace is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with AudaSpace. If not, see <http://www.gnu.org/licenses/>. + * + * ***** END LGPL LICENSE BLOCK ***** + */ + +#ifndef AUD_SUMFACTORY +#define AUD_SUMFACTORY + +#include "AUD_EffectFactory.h" + +/** + * This factory creates a sum reader. + */ +class AUD_SumFactory : public AUD_EffectFactory +{ +public: + /** + * Creates a new sum factory. + * \param factory The input factory. + */ + AUD_SumFactory(AUD_IFactory* factory = 0); + + virtual AUD_IReader* createReader(); +}; + +#endif //AUD_SUMFACTORY |