3473d956612f13f7c036aff00682d6e93e0c6c15
[satune.git] / src / Encoders / functionencoder.h
1 #ifndef FUNCTIONENCODER_H
2 #define FUNCTIONENCODER_H
3 #include "classlist.h"
4
5 enum FunctionEncoderType {
6         ENUMERATEIMPLICATIONS
7 };
8
9 typedef enum FunctionEncoderType FunctionEncoderType;
10
11 struct FunctionEncoder {
12         FunctionEncoderType type;
13         Function * function;
14 };
15
16 FunctionEncoder * allocFunctionEncoder(FunctionEncoderType type, Function *function);
17 void deleteFunctionEncoder(FunctionEncoder *this);
18 #endif