6827535c90544503266886429d1dfa23422c7374
[satune.git] / src / Encoders / functionencoder.h
1 #ifndef FUNCTIONENCODER_H
2 #define FUNCTIONENCODER_H
3 #include "classlist.h"
4
5 enum FunctionEncoderType {
6         ENUMERATEIMPLICATIONS, CIRCUIT
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