diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2011-01-02 22:17:26 +0100 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2011-01-02 22:17:40 +0100 |
commit | 237c3e226b7c2ac391b0e8d354e5fc6f587a41ba (patch) | |
tree | e1f0c89792e2baccb1d1ed21b913445d6e330715 /transcode.h | |
parent | b72175dab679c14be80b6e5db7129f8d3b518079 (diff) |
Use a filtering_istream with custom filters to chain file -> decoder -> encoder.
Diffstat (limited to 'transcode.h')
-rw-r--r-- | transcode.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 <iostream> +#include <string> 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(); }; |