From 237c3e226b7c2ac391b0e8d354e5fc6f587a41ba Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Sun, 2 Jan 2011 22:17:26 +0100 Subject: Use a filtering_istream with custom filters to chain file -> decoder -> encoder. --- transcode.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'transcode.h') diff --git a/transcode.h b/transcode.h index 2a63b17..d0e781d 100644 --- a/transcode.h +++ b/transcode.h @@ -5,17 +5,17 @@ #include "encoder.h" #include "http.h" -#include +#include class Transcoder { private: - std::istream& is; + std::string path; HTTPResponse& res; DecoderBase& decoder; EncoderBase& encoder; public: - Transcoder(std::istream& i, HTTPResponse& r, DecoderBase& d, EncoderBase& e); + Transcoder(std::string p, HTTPResponse& r, DecoderBase& d, EncoderBase& e); void run(); }; -- cgit v1.2.3