summaryrefslogtreecommitdiff
path: root/cache.h
blob: 21d4a520cb1400cab2731608a21b00972b7189b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef CACHE_H
#define CACHE_H

#include "decoder.h"
#include "encoder.h"

#include <boost/filesystem.hpp>

namespace fs = boost::filesystem;

class EncodedCache {
	private:
		Decoder::p decoder;
		Encoder::p encoder;

		std::string hash;

	public:
		EncodedCache(fs::path path, Decoder::p decoder, Encoder::p encoder);
		virtual ~EncodedCache() {};

		fs::path get_path();
		void create_cache();
};

#endif