diff options
Diffstat (limited to 'decoder.h')
-rw-r--r-- | decoder.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -2,10 +2,20 @@ #define DECODER_H #include <boost/cstdint.hpp> +#include <boost/function.hpp> +#include <boost/functional/factory.hpp> +#include <boost/functional/value_factory.hpp> + +#include <string> class DecoderBase { public: virtual size_t decode(const uint8_t *input, size_t input_size, uint8_t *output, size_t output_size) = 0; }; +namespace decoder { + void init(); + DecoderBase *get_decoder(const std::string& name); +}; + #endif |