From f33934505764d66ae56fdfea9dbcc5c6eb08b39b Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Tue, 28 Dec 2010 16:57:41 +0100 Subject: Added Transcoder. --- transcode.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 transcode.h (limited to 'transcode.h') 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 + +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 -- cgit v1.2.3