diff options
Diffstat (limited to 'transcode.h')
-rw-r--r-- | transcode.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/transcode.h b/transcode.h new file mode 100644 index 0000000..2a63b17 --- /dev/null +++ b/transcode.h @@ -0,0 +1,22 @@ +#ifndef TRANSCODE_H +#define TRANSCODE_H + +#include "decoder.h" +#include "encoder.h" +#include "http.h" + +#include <iostream> + +class Transcoder { + private: + std::istream& is; + HTTPResponse& res; + DecoderBase& decoder; + EncoderBase& encoder; + + public: + Transcoder(std::istream& i, HTTPResponse& r, DecoderBase& d, EncoderBase& e); + void run(); +}; + +#endif |