summaryrefslogtreecommitdiff
path: root/encoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'encoder.h')
-rw-r--r--encoder.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/encoder.h b/encoder.h
index a9a0e5c..9949b52 100644
--- a/encoder.h
+++ b/encoder.h
@@ -2,6 +2,11 @@
#define ENCODER_H
#include <boost/cstdint.hpp>
+#include <boost/function.hpp>
+#include <boost/functional/factory.hpp>
+#include <boost/functional/value_factory.hpp>
+
+#include <string>
class EncoderBase {
public:
@@ -9,4 +14,9 @@ class EncoderBase {
virtual size_t flush(uint8_t *output, size_t output_size) = 0;
};
+namespace encoder {
+ void init();
+ EncoderBase *get_encoder(const std::string& name);
+};
+
#endif