summaryrefslogtreecommitdiff
path: root/transcode.h
blob: 56f16c13585ca42dcb71a3e4810002697640fb0d (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_connection.h"

#include <string>

class Transcoder {
	private:
		std::string path;
		HTTP::Connection::p res;
		DecoderFilter::p decoder;
		EncoderFilter::p encoder;

	public:
		Transcoder(std::string p, HTTP::Connection::p r, DecoderFilter::p d, EncoderFilter::p e);
		void run();
};

#endif