summaryrefslogtreecommitdiff
path: root/transcode.h
blob: 70d01139d1b80daeec82795ea3e8a0219ad4693a (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;
		DecoderBase& decoder;
		EncoderBase& encoder;

	public:
		Transcoder(std::string p, HTTP::Connection::p r, DecoderBase& d, EncoderBase& e);
		void run();
};

#endif