encoder/Interface: move instance methods to abstract class

Rename struct Encoder to PreparedEncoder, and add a new (abstract)
class Encoder which represents one encoder instance.
This commit is contained in:
Max Kellermann
2016-05-04 09:31:21 +02:00
parent 69bf835059
commit e7edc02647
18 changed files with 777 additions and 996 deletions

View File

@@ -22,8 +22,8 @@
#include "check.h"
struct Encoder;
class OutputStream;
class Encoder;
void
EncoderToOutputStream(OutputStream &os, Encoder &encoder);