aboutsummaryrefslogtreecommitdiffstats
path: root/al/eax_effect.h
blob: 23dbb73e7dced4438f583b151f5d850fb6b9e42d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef EAX_EFFECT_INCLUDED
#define EAX_EFFECT_INCLUDED


#include <memory>

#include "eax_eax_call.h"


class EaxEffect
{
public:
    EaxEffect() = default;

    virtual ~EaxEffect() = default;


    // Returns "true" if any immediated property was changed.
    // [[nodiscard]]
    virtual bool dispatch(
        const EaxEaxCall& eax_call) = 0;
}; // EaxEffect


using EaxEffectUPtr = std::unique_ptr<EaxEffect>;


#endif // !EAX_EFFECT_INCLUDED