summaryrefslogtreecommitdiff
path: root/transcode.h
blob: 2a63b17614003b3c96df3eb7ea1dcfa1d2ee02c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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