Fix compilation with newer versions of DUMB
[alure.git] / src / effect.h
blob3aae18b31dab679972f8bef75714cc27b683d6b9
1 #ifndef EFFECT_H
2 #define EFFECT_H
4 #include "main.h"
6 namespace alure {
8 class EffectImpl {
9 ContextImpl &mContext;
10 ALuint mId{0};
11 ALenum mType{AL_NONE};
13 public:
14 EffectImpl(ContextImpl &context);
15 ~EffectImpl();
17 void setReverbProperties(const EFXEAXREVERBPROPERTIES &props);
18 void setChorusProperties(const EFXCHORUSPROPERTIES &props);
20 void destroy();
22 ContextImpl &getContext() const { return mContext; }
23 ALuint getId() const { return mId; }
26 } // namespace alure
28 #endif /* EFFECT_H */